Renato, Can you file in an Jira issue ? I guess that should be seen more carefully. If you can, attach all info, a examples.
Diogo -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Renato Duarte Soffiatto Sent: quinta-feira, 23 de Junho de 2005 19:44 To: xdoclet-plugins-interest@lists.sourceforge.net Subject: Re: [xdoclet-plugins-interest] StrutsConfigXML problem Thanks, this issue seams to be resolved. But I think I found another problem in struts-config.xml. But this I don't know if a should post here or in the QDox list... Most of my Form Beans extend ValidatorForm. But these Forms are simply ignored by the struts plugin. If a change them to extend ActionForm, everything works fine. For some reason the relation between ActionForm and ValidatorForm is not found when the CollectionUtils is used with the QDox's IsA classe in the getActionFormClasses from the StrutsConfigXMLPlugin. I've done a test project and the results are the same Example from my test project: Class TesteForm: package br.com.istmo.teste.web; import org.apache.struts.validator.ValidatorForm; /** * * @struts.form name = "Teste" * * DOCUMENT ME! * * @author $Author: $ * @version $Revision: $ */ public class TesteForm extends ValidatorActionForm { } using the xdoclet-plugin from cvs updated 2 hours ago and Maven. I get as result: struts-config.xml: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "h ttp://struts.apache.org/dtds/struts-config_1_2.dtd"> <struts-config> <form-beans/> <action-mappings/> </struts-config> if I change the class so it extends ActionForm, I get the correct generated file: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "h ttp://struts.apache.org/dtds/struts-config_1_2.dtd"> <struts-config> <form-beans> <form-bean name="Teste" type="br.com.istmo.teste.web.TesteForm"/> </form-beans> <action-mappings/> </struts-config> Diogo Quintela (EF) wrote: >Please try the CVS version. Committed fix last night, I hope. >Diogo > >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of >Diogo Quintela >Sent: quinta-feira, 23 de Junho de 2005 0:59 >To: xdoclet-plugins-interest@lists.sourceforge.net >Subject: RE: [xdoclet-plugins-interest] StrutsConfigXML problem > >I found this exactly 5 minutes ago. >Did fix in plugin-castor, I may fix it in plugin-struts. >5 more hours :( >Diogo > > >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of >Renato Duarte Soffiatto >Sent: quarta-feira, 22 de Junho de 2005 23:12 >To: xdoclet-plugins-interest@lists.sourceforge.net >Subject: Re: [xdoclet-plugins-interest] StrutsConfigXML problem > >Yes, I've understood that. >Now that the 5 hour delay from sourceforge cvs has passed, I checked out >the new version. Now the plugins are correctly added, but some odd thing >started to happen. The inner elements of the plugin tag doesn't just get >copied. They disappear, leaving only the value of it's attributes. > >This is my merge file: ><?xml version="1.0" encoding="UTF-8"?> > <root> > <plug-in className="org.apache.struts.validator.ValidatorPlugIn"> > <set-property property="pathnames" >value="/WEB-INF/validator-rules.xml, /WEB-INF/validation.xml"/> > </plug-in> > <plug-in className="org.apache.struts.tiles.TilesPlugin"> > <set-property property="definitions-config" >value="/WEB-INF/tiles-defs.xml" /> > <set-property property="definitions-parser-validate" >value="true" /> > <set-property property="moduleAware" value="true" /> > </plug-in> > </root> > >but my final struts-config.xml looks like: > <plug-in >className="org.apache.struts.validator.ValidatorPlugIn">pathnames/WEB-INF/v a >lidator-rule >s.xml, /WEB-INF/validation.xml</plug-in> > <plug-in >className="org.apache.struts.tiles.TilesPlugin">definitions-config/WEB-INF/ t >iles-defs.xm >l definitions-parser-validatetrue moduleAwaretrue</plug-in> > > >Konstantin Priblouda wrote: > > > >>--- Renato Duarte Soffiatto >><[EMAIL PROTECTED]> wrote: >> >> >> >> >> >>>Yes, that is it. <plug-in> without a local root. >>> >>>Thank you for the quick solution. >>> >>> >>> >>> >>But you still have to add root element as I did in >>tests... ( call it whatever you like ) >> >>regards, >> >>----[ Konstantin Pribluda ( ko5tik ) ]---------------- >>... Auf der Suche nach einen Projekt in Rhein-Main >>ab 18.4.2005 >>----[ http://www.pribluda.de ]------------------------ >> >> >> >>____________________________________________________ >>Yahoo! Sports >>Rekindle the Rivalries. Sign up for Fantasy Football >>http://football.fantasysports.yahoo.com >> >> >>------------------------------------------------------- >>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >> >> >>from IBM. Find simple to follow Roadmaps, straightforward articles, > > >>informative Webcasts and more! Get everything you need to get up to >>speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >>_______________________________________________ >>xdoclet-plugins-interest mailing list >>xdoclet-plugins-interest@lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest >> >> >> >> >> > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >xdoclet-plugins-interest mailing list >xdoclet-plugins-interest@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >xdoclet-plugins-interest mailing list >xdoclet-plugins-interest@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >xdoclet-plugins-interest mailing list >xdoclet-plugins-interest@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest > > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ xdoclet-plugins-interest mailing list xdoclet-plugins-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ xdoclet-plugins-interest mailing list xdoclet-plugins-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest