I tried to use the following:
 
<strutsform destdir="${project.gen-src.dir}" mergeDir="${project.resources}/merge">
         <packageSubstitution packages="my.forms" substituteWith="form"/>
</strutsform>
 
But the result is same(the forms are generate with the same package of EJBs).
 
In fact, I want all the ActionForms to generate the package of "my.forms.form"
 

Eric
 
 
----- Original Message -----
Sent: Friday, March 28, 2003 9:22 PM
Subject: RE: [Xdoclet-user] strutsform problem ??

Look at packageSubstitute attribute of the strutsform element of the ejbdoclet
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Eric Chow
Sent: Friday, March 28, 2003 3:30 AM
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] strutsform problem ??

Hello,
 
when generates the Struts Form bean, all the FormBeans will use the same package of the Bean(EJB).
Is it possible to generate the Struts Form to different package ?
 
For example,
 
pakage my.ejb;
 
 
/**
 * some XDoclet TAGs here
 */
public abstract class MyBean {
 .....
......
}
 
 
If I want to generate the StrutsForm with the above Bean(EJB) ====> MyForm.java with the package "package my.form", how to define the <strutsform/> ????
 
 
Best regards,
Eric
 
 
==========================
If you know what you are doing,
it is not called RESEARCH!
==========================

Reply via email to