[GRADLE-1978] Ear Plugin incorrectly picks up application.xml Created: 01/Dec/11 Updated: 10/Feb/17 Resolved: 10/Feb/17
The attached project shows that if there is a META-INF/application.xml file present in the project it is added to the EAR. According to the documentation this should not be. From the documentation:
appDirName Default Value = src/main/application
deploymentDescriptor Description = Metadata to generate a deployment descriptor file, e.g. application.xml. If this file already exists in the appDirName/META-INF then the existing file contents will be used and the explicit configuration in the ear.deploymentDescriptor will be ignored.
That means that it should use an application.xml only if it exists in src/main/application/META-INF.
See attached project for a demonstration of the defect.
|Comment by David Nelson [ 12/Feb/13 ]|
I am hitting this as well. It appears that there is no way to ignore the application.xml and generate a custom one instead. This is significant because we have an application.xml in our source tree that is used by RAD that we do not want to remove.
|Comment by Benjamin Muschko [ 15/Nov/16 ]|
As announced on the Gradle blog we are planning to completely migrate issues from JIRA to GitHub.
We intend to prioritize issues that are actionable and impactful while working more closely with the community. Many of our JIRA issues are inactionable or irrelevant. We would like to request your help to ensure we can appropriately prioritize JIRA issues you’ve contributed to.
Please confirm that you still advocate for your JIRA issue before December 10th, 2016 by:
We look forward to collaborating with you more closely on GitHub. Thank you for your contribution to Gradle!
|Comment by Benjamin Muschko [ 10/Feb/17 ]|
Thanks again for reporting this issue. We haven't heard back from you after our inquiry from November 15th. We are closing this issue now. Please create an issue on GitHub if you still feel passionate about getting it resolved.