[GRADLE-2018] Without applying the Java plugin, the EAR's app dir is not added to the eclipse projects deployment assembly Created: 30/Dec/11 Updated: 04/Jan/13 Resolved: 09/Mar/12 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 1.0-milestone-6 |
Fix Version/s: | 1.0-rc-1 |
Type: | Bug | ||
Reporter: | Andrew Oberstar | Assignee: | Szczepan Faber |
Resolution: | Fixed | Votes: | 0 |
Description |
The EclpseWtpPlugin fails to account for the EAR plugin's application directory (src/main/application) unless you have the JavaPlugin applied. With the JavaPlugin it pulls in the main source set as a source dir on the EclipseWtpComponent. Without the JavaPlugin it should add the application dir. Since this doesn't get added the A workaround for now would be to add this to your build: eclipse.wtp.component.sourceDirs << file(appDirName) |
Comments |
Comment by Andrew Oberstar [ 30/Dec/11 ] |
Oops... forgot to finish my sentence... Since this doesn't get added, the deployment assembly in the eclipse project is wrong, ignoring the contents of your app dir when eclipse generates the EAR. |
Comment by Szczepan Faber [ 09/Mar/12 ] |
Pushed. Thanks for the patch! |