This is great :) -----Original Message----- From: Ahmad Emneina [mailto:aemne...@gmail.com] Sent: Thursday, April 04, 2013 12:40 AM To: dev@cloudstack.apache.org Subject: Re: How to dramatically reduce the build time:)
holy moly, thats a serious bash one liner. On Wed, Apr 3, 2013 at 6:18 PM, Edison Su <edison...@citrix.com> wrote: > As a poor man, don't have luxury build machine as Alex has, I find a > way may help you a little bit to build cloudstack as quick as possible: > mvn -pl `git status --porcelain |sed '/^?/d'| awk '{print $2}' |sed > 's/\/src/$/'|cut -d $ -f 1|uniq |tr "\n" "," |sed 's/,$/,client/'` > clean install It tries to find out what has been changed in your local > workspace through git, then tell mvn to build corresponding modified > maven projects. Not perfect though, maybe work for some:) > >