WTP XDoclet EJB spec version [message #145081] |
Tue, 25 October 2005 08:11 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: barenhoff.spot-media.de
Hello!
I've created a ejb project over the wizzard in WTP. I've selected ejb
version 2.1.
Now I tried to change it back:
<module-type module-type-id="jst.ejb">
<version>2.0</version>
<property name="java-output-path" value="/bin/"/>
</module-type>
in .wtpmodules. But it seems as if he still creates 2.1 deployment
descriptor. In:
~/workspace/.metadata/.plugins/org.eclipse.jst.j2ee.ejb.anno tations.xdoclet/
there are the ant file and a build.properties wich seem to be generated
automaticly. In the build.properties there is a line:
ejb.spec.version=2.1
I've changed it ther too, but it will be overwritten at the next build.
Where can I configure it?
I need this because i want to create an application which will be run on
an ibm websphere 5.1 server which is a j2ee 1.3 server.
thanks
Markus Barenhoff
|
|
|
Re: WTP XDoclet EJB spec version [message #145187 is a reply to message #145081] |
Wed, 26 October 2005 13:52 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: jeppenm.worldonline.dk
On Tue, 25 Oct 2005, Markus Barenhoff wrote:
> Hello!
>
> I've created a ejb project over the wizzard in WTP. I've selected
> ejb version 2.1. Now I tried to change it back:
This is a bug. When ejb-jar is deleted, it is created with the wrong
version, see bugzilla. Workaround is to not delete the ejb-jar.xml
after it has been generated (since initially it is generated with the
correct version)
rgds
Jeppe
|
|
|
Re: WTP XDoclet EJB spec version [message #145374 is a reply to message #145187] |
Thu, 27 October 2005 15:29 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: barenhoff.spot-media.de
Jeppe N. Madsen wrote:
> On Tue, 25 Oct 2005, Markus Barenhoff wrote:
>
>
>> Hello!
>>
>> I've created a ejb project over the wizzard in WTP. I've selected
>> ejb version 2.1. Now I tried to change it back:
>
>
> This is a bug. When ejb-jar is deleted, it is created with the wrong
> version, see bugzilla. Workaround is to not delete the ejb-jar.xml
> after it has been generated (since initially it is generated with the
> correct version)
>
first of all, thank you for your answer, but i think,
i dont realy understand. maybe you can give me a step by step
instruction... When do I have to delte and to build what?
markus
|
|
|
Re: WTP XDoclet EJB spec version [message #145506 is a reply to message #145374] |
Fri, 28 October 2005 06:42 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: jeppenm.worldonline.dk
On Thu, 27 Oct 2005, Markus Barenhoff wrote:
> Jeppe N. Madsen wrote:
> > On Tue, 25 Oct 2005, Markus Barenhoff wrote:
> >
> >
> >> Hello!
> >>
> >> I've created a ejb project over the wizzard in WTP. I've selected
> >> ejb version 2.1. Now I tried to change it back:
> >
> >
> > This is a bug. When ejb-jar is deleted, it is created with the
> > wrong version, see bugzilla. Workaround is to not delete the
> > ejb-jar.xml after it has been generated (since initially it is
> > generated with the correct version)
> >
>
> first of all, thank you for your answer, but i think,
> i dont realy understand. maybe you can give me a step by step
> instruction... When do I have to delte and to build what?
If I remember correctly, the bottom line is: don't delete any of the
generated deployment descriptors, they will be recreated with the
wrong version. Also, changing the version after your project is
created doesn't work (in WTP 0.7.1)
rgds
Jeppe
|
|
|
|
Powered by
FUDForum. Page generated in 0.03653 seconds