WTP 1.0RC4 ear deployment error [message #152309] |
Wed, 14 December 2005 10:43  |
Eclipse User |
|
|
|
I'm testing the new wtp following the "Building a CMP based school
schedule webapp" tutorial and I've found an issue related to module naming
and deployment of an ear archive.
I found that the ".component" file, located into the ".settings" dir of
the project, instructs the wtp for some deployment and naming settings. In
particular, I suppose that the <wb-module deploy-name="..."> should be the
name of the artifact created by wtp while the <property
name="context-root" value="..."/> should be the value of the context-root
for a web application.
I've noticed that the deploy-name is used for setting the ejb-module (the
display-name attribute) but NOT for naming the artifact, which reflects
the name used for the eclipse project.
For web-modules, the deploy-name is simply ignored and for naming both
module and artifact the context-root property is used instead.
When i try to create an ear archive, i can select which modules to include
choosing from opened eclipse projects but both "jar/module" and "project"
columns are always named the same (the jar/module values are used to
create the application.xml file). The result is that the ejb-module is
always correctly deployed into the ear archive, because the artifact is
named as the eclipse project (the deploy-name is ignored), but the
web-module can be potentially broken because the artifact is named as the
context-root property (deploy-name is ignored) and this could be not the
same of the eclipse project name...
|
|
|
|
|
Re: WTP 1.0RC4 ear deployment error [message #152848 is a reply to message #152806] |
Mon, 19 December 2005 13:26  |
Eclipse User |
|
|
|
Janny wrote:
> Dave Dunkin wrote:
>
>> I'm having the same problem with 1.0RC5: the deploy-name is being
>> ignored. I used this feature with 0.7.0. Is it supposed to still work?
>> Do I need to file a bug?
>
>
> Uhm, I was going to test RC5 for this bug but it seems that has not been
> fixed. Is deploy-name still ignored for both ejb and web modules?
> As for RC4, ejb artifacts are named as the eclipse project name while
> web artifacts are named as the context-root attribute.
> As I've reported, this can lead to erroneous deployment in ear artifacts
> if the assigned context-root for web modules differs from the project
> name...
>
This is addressed by bug 119250.
Dave
|
|
|
Powered by
FUDForum. Page generated in 0.25931 seconds