[
https://jira.jboss.org/jira/browse/JBIDE-4655?page=com.atlassian.jira.plu...
]
Rob Stryker commented on JBIDE-4655:
------------------------------------
My results are as follows:
1: Current (TRUNK) JBTools *CUSTOM* server adapter results in testEAR.ear/test.war
2: Current (TRUNK) JBTools using GENERIC server adapter results in
testEAR.ear/test.war
3: Current (TRUNK) JBTools * exporting * the ear project results in
testEAR.ear/test.war
4: JBT branch (3.0.x) using generic server results in testEAR.ear/test.war
5: JBT branch (3.0.x) using export operation results in testEAR.ear/test.war
6: JBT branch (3.0.x) *CUSTOM* generic server results in
testEAR.ear/test-0.0.1-SNAPSHOT.war
All I can conclude is that the absolute only case that's different at all is
jbt-branch and older jbtools implementations which incorrectly performed getName() on the
child module.
HOWEVER:
It seems very strange to me that out of 6 possibilities, the application.xml contains a
value that matches *only* the jbosstools branch and not export, generic server adapter, or
jbosstools trunk.
Fixing the branch would be very difficult as there were many outstanding getModuleURI()
bugs at that time especially dealing with binary modules. The code in the branch does
several things to specifically get around several of these errors. If at all possible, if
we control these projects, I would very much recommend changing the following portions of
the project:
1) In file testEAR/EarContent/META-INF/application.xml
REPLACE <web-uri>test-0.0.1-SNAPSHOT.war</web-uri>
WITH <web-uri>test.war</web-uri>
2) In file test/.settings/org.eclipse.wst.common.component
REPLACE <wb-module deploy-name="test-0.0.1-SNAPSHOT">
WITH <wb-module deploy-name="test">
This would align all issues across all versions and make the project work everywhere.
Mavenized Project Examples and Seam Web Project wizard with JBoss
Maven Integration facet don't work when using WTP 3.1 final
-----------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-4655
URL:
https://jira.jboss.org/jira/browse/JBIDE-4655
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: maven, project-examples, UpStream
Affects Versions: 3.1.0.M3
Reporter: Snjezana Peco
Assignee: Rob Stryker
Priority: Critical
Fix For: 3.0.2.GA, 3.1.0.M3
Attachments: test.zip, test1.zip
Deployment has been changed between WTP 3.1M7 and WTP 3.1.0.
WTP 3.1.0 ignores
<wb-module deploy-name="xxxx">
in .settings/org.eclipse.wst.common.component
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira