[
https://jira.jboss.org/browse/JBIDE-6320?page=com.atlassian.jira.plugin.s...
]
Rob Stryker commented on JBIDE-6320:
------------------------------------
Judging by the description, the jar in the {project}/lib folder should not be published at
all since it is not in a mapped folder (EarContent) and it is not mapped in via the
deployment assembly page / module dependency page. So the seam jar should not be in the
resultant output file at all.
However I was able to replicate the issue and will get a fix in ASAP. patch coming
shortly.
EAR deployment with option "as compressed archives" results
in ear containing invalid jars
------------------------------------------------------------------------------------------
Key: JBIDE-6320
URL:
https://jira.jboss.org/browse/JBIDE-6320
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Archives
Affects Versions: 3.1.0.GA
Environment: Windows XP Pro SP3, Java JDK 1.6.0_20, Eclipse IDE for JEE 3.5.2,
JBoss Tools 3.1 (JBossAS Tools 2.1.0.v201003050540R-H56-GA), WTP Patches
3.1.2.v201003181725), m2Eclipse 0.10.0
Reporter: Gonne Martens
Assignee: Rob Stryker
Attachments: JBIDE-6320-test.ear
The deployment of a minimal Enterprise Application Project (consisting of e.g.
jboss-seam.jar as ejb-module and mvel2.jar as 3rd-party jar) with the deployment option
"Deploy projects as compressed archives" activated, results in an ear containing
some invalid jars: These invalid jars are containing only one jar with the same name which
finally contains the actual jar content.
E.g. the mvel2.jar contains a mvel2.jar which contains the "META-INF" and an
"org" directory.
It seems that every supplied jar is affected that is determined as module jar, because it
is an ejb-module (e.g. jboss-seam.jar) or its manifest contains a "Main-class"
entry marking it as client-module.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira