Bug 967549 - Seam2.3 projects generated by seam-gen contains doubled jboss-deployment-structure xml
Summary: Seam2.3 projects generated by seam-gen contains doubled jboss-deployment-stru...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: Seam
Version: 2.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: CR1
: 2.3.0
Assignee: Marek Novotny
QA Contact: Tomas Remes
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-27 12:22 UTC by Tomas Remes
Modified: 2013-07-16 11:34 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Seam-gen generated applications of type EAR had duplicated jboss-deployment-structure.xml file in <EAR>/META-INF/ and <WAR>/WEB-INF directories. This has been fixed by removing the duplication from EAR type projects.
Clone Of:
Environment:
Last Closed: 2013-07-16 11:34:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBSEAM-5112 0 Major Resolved Seam-gen generated projects contains doubled jboss-deployment-structure.xml file 2020-09-18 10:40:02 UTC

Description Tomas Remes 2013-05-27 12:22:12 UTC
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.

Comment 1 Tomas Remes 2013-05-27 12:31:50 UTC
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.

Comment 2 Marek Novotny 2013-05-30 11:04:41 UTC
Tomas, could you create an upstream jira issue for this?

Comment 3 Marek Novotny 2013-06-04 18:19:12 UTC
added exclusion for war target in EAR type project. 

Fixed by https://source.jboss.org/changelog/Seam?cs=15547

Comment 5 Tomas Remes 2013-06-11 10:59:52 UTC
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.

Comment 6 Tomas Remes 2013-06-11 13:24:54 UTC
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.

Comment 7 Marek Novotny 2013-06-11 14:06:10 UTC
fixed by https://source.jboss.org/changelog/Seam?cs=15557

Comment 9 Tomas Remes 2013-06-26 07:50:40 UTC
Verified in 2.3.0.CR1 release.

Comment 10 Sneha 2013-07-03 09:52:18 UTC
Updated doc text.

Note: This bug was not a known issue in wfk 2.2 RN.


Note You need to log in before you can comment on or make changes to this bug.