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
>



-- 
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


Reply via email to