[
https://jira.jboss.org/jira/browse/JBIDE-4655?page=com.atlassian.jira.plu...
]
Rob Stryker commented on JBIDE-4655:
------------------------------------
I've looked over the WTP code and there's simply no way to get it to be able to
check the referenced project's component.xml for it's deploy-name. It would be a
huge amount of work to do by hand (re-parsing the descriptors in the getURI() method,
where it should do no such thing), and also since it's not conformant with any written
spec, it'd be not the right thing to do.
I'm extremely curious where these test / zip files came from. In case you weren't
aware, there's no UI for the user to change the "deploy-name" attribute of
the wb-module tag inside a component.xml, which means anyone who has changed this has done
it by hand or via their own custom plugin and API. Where did these mavenized project
examples come from? Are they our examples? If they're our examples, then we should
change them, and I'll show you how to do that. If they're not ours I'd like to
know where they came from.
I also don't believe any of our project wizards are setting that attribute, and if
they are, they shouldn't be. There was never any contract or agreement that that
attribute would ever be looked at. It was only looked at in the past as a bug in my code
because I wasn't conforming to the parentModule.getURI(childModule) pattern.
If these are our projects / test zip files, there are two possible ways to fix it.
1) In the web project's component.xml,
CHANGE <web-uri>test-0.0.1-SNAPSHOT.war</web-uri>
TO <web-uri>test.war</web-uri>
* or *
2) In the ear project's component.xml, modify as follows:
CHANGE <dependent-module deploy-path="/"
handle="module:/resource/test/test">
TO <dependent-module archiveName="test-0.0.1-SNAPSHOT.war"
deploy-path="/" handle="module:/resource/test/test">
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