Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » WTP XDoclet EJB spec version
WTP XDoclet EJB spec version [message #145081] Tue, 25 October 2005 08:11 Go to next message
Eclipse UserFriend
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 messageGo to next message
Eclipse UserFriend
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 messageGo to next message
Eclipse UserFriend
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 messageGo to next message
Eclipse UserFriend
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 15:57 Go to previous message
Naci Dai is currently offline Naci DaiFriend
Messages: 55
Registered: July 2009
Member
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
Previous Topic:deploying beans (Lomboz vs WTP)
Next Topic:org.eclipse.wst.wsdl.Definition serialization namespace
Goto Forum:
  


Current Time: Mon Jul 22 20:09:06 GMT 2024

Powered by FUDForum. Page generated in 0.03186 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top