I managed to get this working, I had to separate the include and exclude
patterns onto separate lines, it seems using a comma separated list of them
doesn't work (and they are quitely ignored).  The following works as
expected:

from (sourceSets.main.runtimeClasspath) {
    into 'WEB-INF/classes'          
    include '**/FileViewerControllerServlet.class'
    include '**/StreamingContent.class'           
}             

from (sourceSets.main.runtimeClasspath) {                      
    exclude '**/FileViewerControllerServlet.class'
    exclude '**/StreamingContent.class' 
    exclude '**/iplanet/**'
}
-- 
View this message in context: 
http://gradle.1045684.n5.nabble.com/exclude-classes-from-war-tp3278257p3278575.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to