Hello Tomek,

Thank you.

I didn't find explicit reference in 15.3, but as you say they are
related, the section you are going to add to Cookbook could link to
15.3 for details.

Still not sure how this construct should look like to exclude only
from one srcDir:
               java {
                       srcDir new File(webAppDirName, 'src')
                       srcDir new File(webInfDir, 'src')
                       exclude '**/someDirToBeExcludedOnlyFromWebAppDirName/**'

On Wed, Nov 24, 2010 at 11:09 AM, Tomek Kaczanowski-3 [via Gradle]
<[email protected]> wrote:
> Hello,
>
>> Thank you very much. The exclude worked for me.
>> I think it would be hepful for others if it is part of the documentation.
> I think it is mentioned in 15.3. File trees but there is no direct
> example with source sets.
> I will add such example to http://docs.codehaus.org/display/GRADLE/Cookbook
>
> --
> Regards / Pozdrawiam
> Tomek Kaczanowski
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>
>
> ________________________________
> View message @
> http://gradle.1045684.n5.nabble.com/Exclude-some-java-classes-packages-from-compilation-sourceSets-tp3277622p3278104.html
> To unsubscribe from Exclude some java classes packages from
> compilation/sourceSets, click here.



-- 
Thanks,
Oleksandr Maksymchuk

-- 
View this message in context: 
http://gradle.1045684.n5.nabble.com/Exclude-some-java-classes-packages-from-compilation-sourceSets-tp3277622p3278177.html
Sent from the gradle-user mailing list archive at Nabble.com.

Reply via email to