That's It! thanks!

A Qui, 2004-03-18 Ãs 13:50, Andrew Stevens escreveu:
> On Thu, 2004-03-18 at 00:12, Pedro Costa wrote:
> > I'm trying to generate the struts-config.xml for my action, but i'm
> > having a problem with this.
> > 
> > I have a generic action MyAction that extends Action and all my actions
> > extend MyAction.
> > 
> > The problem is that only if i extend all my actions from MyAction as i
> > need to, xdoclet does not recognise tham as struts actions and does not
> > include them in the configuration file.
> 
> It ought to, so long as it can find MyAction when it's doing the
> generation (otherwise, as you've seen, it can't know that your classes
> are Actions).  Is the MyAction class also in the fileset you've
> defined?  If not (e.gs it's in a separate library), have you included it
> in the ejbdoclet taskdef's classpath?
> 
> 
> Andrew.
> 
> 
> > On the other hand if i extend directly from Action, everything works
> > fine.
> > 
> > Can some one please give me a help with this? is there a way to have
> > xdoclet recognise struts actions that do not extend directly from
> > Action?
> > 
> > Thank you very much and best regards,
> > 
> > Pedro.
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
-- 
Pedro Costa <[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to