The ear task in Gradle 1.8 generates an ejb module for each subdirectory of the configured 'appDirName'. This leads to a broken application because those directories normally do not represent a valid ejb module (See the screenshots for an example).
I also tried to use the default project layout with src/main/application. Same result.
The exactly the same buildscript is working correctly with Gradle versions 1.5 and 1.6.
[1]
[2]
[3]
----------------------------------------------------------------------------------------
[1] https://d2r1vs3d9006ap.cloudfront.net/s3_images/970300/project_layout.PNG?1381473894
[2] https://d2r1vs3d9006ap.cloudfront.net/s3_images/970301/ear_task_configuration.PNG?1381473927
[3] https://d2r1vs3d9006ap.cloudfront.net/s3_images/970302/application_xml.PNG?1381473940
|