Thanks Rene, you rock! :-) Cheers
On Tue, Mar 1, 2011 at 1:09 AM, Rene Groeschke <[email protected]> wrote: > Hi Graeme, > > I had a second look at the grails gradle build and fixed some open > issues with incremental tasks to speedup the grails build. Now "gradle > assemble" is complete incremental and if nothing changed, no task should > be executed anymore (except the :libs and zipDist tasks). It should be > simple to make these both tasks (libs & zipDist) incremental too. Maybe > I take a look at within the next days. > > I've send a pull request from my github account to the grails guys. The > pull request is available at https://github.com/grails/grails-core/pull/50 > > regards, > René > > > Am 28.02.11 17:59, schrieb Graeme Rocher: >> One other note is that a contributing factor to the slowness is that >> the UP-TO-DATE check seems to fail for the javadoc generation >> (javadocs are always generated) >> >> Is there a way to get incremental build for the javadoc? >> >> Cheers >> >> On Mon, Feb 28, 2011 at 4:33 PM, Graeme Rocher <[email protected]> wrote: >>> Hi, >>> >>> I'm trying to understand how skipping tasks works in a multi project >>> build scenario. >>> >>> In the Grails build I have defined two tasks to create the source and >>> javadoc distributions like so >>> >>> task sourcesJar(type: Jar, dependsOn:classes) { >>> classifier = 'sources' >>> appendix = project.name[7..-1] >>> from sourceSets.main.allSource >>> } >>> >>> task javadocJar(type: Jar, dependsOn:javadoc) { >>> classifier = 'javadoc' >>> appendix = project.name[7..-1] >>> from javadoc.destinationDir >>> } >>> >>> However this has added significant time to build each subproject since >>> the source and javadoc jars are built too >>> >>> Is there a way to skip subproject tasks? I have tried: >>> >>> gradle -x javadocJar -x sourcesJar assemble >>> >>> I have also tried: >>> >>> gradle -x *:javadocJar -x *:sourcesJar assemble >>> >>> But nothing seems to get skipped >>> >>> Thoughts? >>> >>> -- >>> Graeme Rocher >>> Grails Project Lead >>> SpringSource - A Division of VMware >>> http://www.springsource.com >>> >> >> > > > -- > ------------------------------------ > Rene Groeschke > > [email protected] > http://www.breskeby.com > http://twitter.com/breskeby > ------------------------------------ > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > -- Graeme Rocher Grails Project Lead SpringSource - A Division of VMware http://www.springsource.com --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
