[GRADLE-2926] Generation of application.xml broken in ear task of Gradle 1.8 Created: 22/Oct/13  Updated: 22/Oct/13  Resolved: 22/Oct/13

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 1.9-rc-1

Type: Bug
Reporter: Gradle Forums Assignee: Benjamin Muschko
Resolution: Fixed Votes: 0

Issue Links:
dependent
dependent on GRADLE-2886 The war plugin in 1.7 now places WEB-... Resolved

 Description   

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



 Comments   
Comment by Gradle Forums [ 22/Oct/13 ]

I have run into the same problem. A build that worked under 1.7 now fails. I get the exact same problem as Johannes, with a module of name META-INF specified in my application.xml.

Comment by Gradle Forums [ 22/Oct/13 ]

Same issues here... is there a bug number we can track this under?

Generated at Wed Jun 30 12:35:11 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.