[GRADLE-879] Support separate output folders in eclipse classpath Created: 26/Mar/10 Updated: 04/Jan/13 Resolved: 24/Nov/10
|Reporter:||Felix Gnass||Assignee:||Hans Dockter|
Eclipse allows you to specify a separate output folder for each source-folder. This is useful for multi-module projects, where each module has its own META-INF directory, containing service provider configurations or - as in my case - custom Spring namespace handlers.
Spring looks for the resource `classpath*:/META-INF/spring.handlers`, which under the hood invokes ClassLoader.getResources("META-INF/spring.handlers").
With only a single (default) output folder, Eclipse will place all spring.handlers files at the same location, thereby overwriting one another.
The solution is to specify separate output folders for each module in Eclipse's .classpath file:
It would be very helpful if Gradle would support this setup.