WTP XDoclet EJB spec version [message #145081] |
Tue, 25 October 2005 04:11  |
Eclipse User |
|
|
|
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 #145506 is a reply to message #145374] |
Fri, 28 October 2005 02:42   |
Eclipse User |
|
|
|
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
|
|
|
Re: WTP XDoclet EJB spec version [message #146150 is a reply to message #145081] |
Thu, 03 November 2005 10:57  |
Eclipse User |
|
|
|
This problem has been remedied and is available with the R1.0 I-Builds.
Unfortunately, I would not recommend the I-Builds for any real
development yet. You will have to workaround the problem until R1.0 in
december
> 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
|
|
|
Powered by
FUDForum. Page generated in 0.04715 seconds