Move J2ee interfaces to other package with xdoclet [message #254321] |
Sat, 19 April 2008 12:53  |
Eclipse User |
|
|
|
Hi,
Iam new on eclipse IDE. I dont know how to move all the interfaces of a
EJB to a other package distintc of the package where my EJB bean class is.
for example:
org.example.ejb ---> EJBSessionBean.class
org.example.interface ---> EJBSession.class, EJBSessionLocalHome.class
after run xdoclet i get all the interfaces on the same package where i
develop my EJB.
I have worked with j2ee projects and develop it with ant files. I think
that i can write my own xdocletbuild.xml ant run it like ant script and
use the <packagesubstitution> to get the result.
Now i am working with eclipse 3.4m6 on Mac OSX Leopard, there is a IDE
option where i cn use the packagesubstitution por home and local
interfaces usig a xdoclet EJB? must i write my own xdocletbuild.xml and
run it like ant script?
Thanks, sorry for my poor english i am learning it too.
|
|
|
Re: Move J2ee interfaces to other package with xdoclet [message #254344 is a reply to message #254321] |
Sun, 20 April 2008 14:40  |
Eclipse User |
|
|
|
I recommend that you take this question to the eclipse.webtools
newsgroup.
I think the answer is "just drag the files where you want them to be",
but I'm not sure if the metadata files generated by XDoclet will be
updated with that action.
I believe that there's an XDoclet annotation that lets you explicitly
state where the interfaces are supposed to go.
But, again, you're probably better off with the eclipse.webtools group.
HTH,
Wayne
On Sat, 2008-04-19 at 16:53 +0000, Yeray Santana Borges wrote:
> Hi,
>
> Iam new on eclipse IDE. I dont know how to move all the interfaces of a
> EJB to a other package distintc of the package where my EJB bean class is.
>
> for example:
>
> org.example.ejb ---> EJBSessionBean.class
> org.example.interface ---> EJBSession.class, EJBSessionLocalHome.class
>
> after run xdoclet i get all the interfaces on the same package where i
> develop my EJB.
>
> I have worked with j2ee projects and develop it with ant files. I think
> that i can write my own xdocletbuild.xml ant run it like ant script and
> use the <packagesubstitution> to get the result.
>
> Now i am working with eclipse 3.4m6 on Mac OSX Leopard, there is a IDE
> option where i cn use the packagesubstitution por home and local
> interfaces usig a xdoclet EJB? must i write my own xdocletbuild.xml and
> run it like ant script?
>
> Thanks, sorry for my poor english i am learning it too.
>
|
|
|
Powered by
FUDForum. Page generated in 0.14276 seconds