Skip to main content



      Home
Home » Newcomers » Newcomers » Move J2ee interfaces to other package with xdoclet
Move J2ee interfaces to other package with xdoclet [message #254321] Sat, 19 April 2008 12:53 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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.
>
Previous Topic:HTML tags in eclipse PHP project
Next Topic:How to ignore @Override under 1.4?
Goto Forum:
  


Current Time: Thu Jul 24 23:56:31 EDT 2025

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

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

Back to the top