Re: maven2 / xdoclet plugin and strutsconfigxml

2006-09-18 Thread Marco Mistroni
hello remy, ok i'll give it another try tomorrow and see... for my uses, it's really not important the phase as long as the files get generated .. will let you know thanx for ur help regards marco On 9/18/06, Rémy Sanlaville <[EMAIL PROTECTED]> wrote: Hello Marco, for some reasons, if i use

Re: maven2 / xdoclet plugin and strutsconfigxml

2006-09-18 Thread Rémy Sanlaville
Hello Marco, for some reasons, if i use generated-sources as a phase, the xdoclet task doe snot generate me anything at all!! i think it has to do with classpath i think (any maven guru pls correct me if i m wrong), maven.dependency.classpath works for 'package' phase but not for 'generated

Re: maven2 / xdoclet plugin and strutsconfigxml

2006-09-18 Thread Marco Mistroni
Hello Remy, for some reasons, if i use generated-sources as a phase, the xdoclet task doe snot generate me anything at all!! i think it has to do with classpath i think (any maven guru pls correct me if i m wrong), maven.dependency.classpath works for 'package' phase but not for 'generated-so

Re: maven2 / xdoclet plugin and strutsconfigxml

2006-09-18 Thread Rémy Sanlaville
Hello Marco, (1) I tried also to use the antrun plugin without success. > I used this classpath (that works with ant). > > > > > > > > name= "webdoclet" > classname= "xdoclet.modules.web.WebDocletTask" > classpathref= "xdoclet.classpath" > /> > > But if I

Re: maven2 / xdoclet plugin and strutsconfigxml

2006-09-18 Thread Marco Mistroni
hello remy, i'll try to answer ur questions, but i feel i m not the best guy to explain that classpath behaviour On 9/18/06, Rémy Sanlaville <[EMAIL PROTECTED]> wrote: Hello Marco, You help me a lot, it works now, many thanks ! But I still have some questions : (1) I tried also to use the an

Re: maven2 / xdoclet plugin and strutsconfigxml

2006-09-18 Thread Rémy Sanlaville
Hello Marco, You help me a lot, it works now, many thanks ! But I still have some questions : (1) I tried also to use the antrun plugin without success. I used this classpath (that works with ant). But if I use the maven.dependency.classpath as you, it works well ! Strange no ?!

Re: maven2 / xdoclet plugin and strutsconfigxml

2006-09-18 Thread Marco Mistroni
Hello Remy, yes i actually managed to find a workaround instead of using xdoclet plugin, i just created an ant task and invoked it from maven . here's my pom, should sort out also your problem :) first off, here are dependencies you need xdoclet-ejb-module xdoclet 1.2.3 jar

Re: maven2 / xdoclet plugin and strutsconfigxml

2006-09-18 Thread Rémy Sanlaville
Hi Marco, I don't know why, but It seems that the xdoclet plugin does not work very well for struts. I send a post on 2006-06-12 19:06 related to xdoclet and struts http://www.nabble.com/-M2--Struts-and-XDoclet-tf1775233.html#a4832525 You will find my pom in the post. It still found any solution

maven2 / xdoclet plugin and strutsconfigxml

2006-09-14 Thread Marco Mistroni
hi all, i have a webapp where i want to generete the struts-config.xml i am currently using maven2, my action class is as follows /** * @struts.action name="contactForm" path="/editPerson" scope="request" * validate="false" input="mainMenu" * * @struts.action-forward *name="success" *