Red Hat Bugzilla – Bug 967549
Seam2.3 projects generated by seam-gen contains doubled jboss-deployment-structure xml
Last modified: 2013-07-16 07:34:09 EDT
Generate some project by seam-gen and notice that jboss-deployment-structure.xml descriptor is present in META-INF and WEB-INF folders. This happens for both - WAR and EAR projects.
This is newly validated in JBDS 7.0.0.Beta1, therefore it produces errors in JBDS.
To be clear - it looks like that the reason of the error is other problem. Anyway I think there should be only one jboss-deployment-structure descriptor.
Tomas, could you create an upstream jira issue for this?
added exclusion for war target in EAR type project.
Fixed by https://source.jboss.org/changelog/Seam?cs=15547
This fix is not correct. I can still see this file in META-INF and WEB-INF in WAR project as well as in EAR project.
I think this should be fixed in jboss-seam-gen/build.xml file (just add exclusion into file-copy target) instead of jboss-seam-gen/build-scripts/build.xml file.
I meant these files in generated project, where this could be little bit misleading, and not the files in created deployment. Sorry for confusion.
In the deployment is it ok.
fixed by https://source.jboss.org/changelog/Seam?cs=15557
Verified in 2.3.0.CR1 release.
Updated doc text.
Note: This bug was not a known issue in wfk 2.2 RN.