I'd suggest using distinct sourceSets (e.g. "context", "web-resources"), and then you can direct their output independently.
~~ Robert. On Wed, May 9, 2012 at 4:23 AM, Milan Papzilla <[email protected]> wrote: > Hello, > > what is the recommended was to process resources from multiple srcDirs to > different output directories ? > Lets say I have a source set like: > > sourceSets { > main { > output.classesDir "$buildDir/WEB-INF/classes" > output.resourcesDir "$buildDir/WEB-INF" > > java { > srcDir 'src' > } > resources { > srcDirs = ['src/context', 'web/resources'] > } > } > } > > Can I process the resources from "src/context" and 'web/resources' to > different output directories using the java plugin ? > > -- > View this message in context: > http://gradle.1045684.n5.nabble.com/ProcessResources-How-to-process-resources-to-different-destinations-tp5696753.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 > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
