[
http://jira.codehaus.org/browse/MECLIPSE-455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steffen Grunwald updated MECLIPSE-455:
--------------------------------------
Attachment: MECLIPSE-455-TestCase.patch
Attached the testcase in response to [1].
Arnaud, please take over.
Thanks, Steffen
[1]
http://mail-archives.apache.org/mod_mbox/maven-users/200904.mbox/%[email protected]%3e
> Invalid dependent module archive name for EJB artifact
> ------------------------------------------------------
>
> Key: MECLIPSE-455
> URL: http://jira.codehaus.org/browse/MECLIPSE-455
> Project: Maven 2.x Eclipse Plugin
> Issue Type: Bug
> Components: WTP support
> Affects Versions: 2.5.1
> Environment: Maven 2.0.8, JDK 1.5.0_14, Win XP SP3, Version: 3.3.2
> Reporter: M.-Leander Reimer
> Attachments: MECLIPSE-455-TestCase.patch, MECLIPSE-455.patch
>
>
> For an EAR WTP module the file org.eclipse.wst.common.component is not being
> generated correctly if there are dependent EJB modules. The suffix of the
> arhcive name is set to .ejb instead of .jar
> The problem is in the class AbstractWtpResourceWriter.addDependency(...) line
> 182
> archiveName = dep.getEclipseProjectName() + "." + dep.getType();
> so for EJB modules this will produce for example:
> <dependent-module archiveName="ejb-module-1.0.ejb" ...
> instead of
> <dependent-module archiveName="ejb-module-1.0.jar" ...
> Best regards,
> Leander
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira