Re: Set docBase in pom.xml for maven tomcat plugin

2011-11-02 Thread Olivier Lamy
2011/11/2 Bin Lan : > Hi Olivier, > > I followed the instruction on > http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/snapshot-test.html, and > use tomcat6:run instead of tomcat:run and now the plugin is using the path > in warSourceDirectory. > > Quick question, is this gonna be part of the nex

Re: Set docBase in pom.xml for maven tomcat plugin

2011-11-02 Thread Bin Lan
Hi Olivier, I followed the instruction on http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/snapshot-test.html, and use tomcat6:run instead of tomcat:run and now the plugin is using the path in warSourceDirectory. Quick question, is this gonna be part of the next release? Thank you very much.

Re: Set docBase in pom.xml for maven tomcat plugin

2011-11-02 Thread Olivier Lamy
Can you try with last changes I have pushed ? You need to build locally from sources. (some network issues for *.apache.org so I cannot deploy snapshots) 2011/11/2 Bin Lan : > Forgot to mention that I am using 2.0-snapshot. > On Nov 2, 2011 7:20 AM, "Bin Lan" wrote: > >> Hi Olivier, >> >> Thank y

Re: Set docBase in pom.xml for maven tomcat plugin

2011-11-02 Thread Bin Lan
Forgot to mention that I am using 2.0-snapshot. On Nov 2, 2011 7:20 AM, "Bin Lan" wrote: > Hi Olivier, > > Thank you for you reply. I run maven in cli not in ecclipse. Since the > project is a eclipse native dynamc web project, so I gues eclipse has its > own way to handle it. But regardless, the

Re: Set docBase in pom.xml for maven tomcat plugin

2011-11-02 Thread Bin Lan
Hi Olivier, Thank you for you reply. I run maven in cli not in ecclipse. Since the project is a eclipse native dynamc web project, so I gues eclipse has its own way to handle it. But regardless, the warSourceDirectory did not change the docBase for me. Regards Bin On Nov 2, 2011 5:08 AM, "Olivier

Re: Set docBase in pom.xml for maven tomcat plugin

2011-11-02 Thread Olivier Lamy
Hello, Yup that's the correct ml. Did you try with last trunk version from ASF (tomcat6/7 mojos) ? For how to test that: see http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/snapshot-test.html Yup normally warSourceDirectory should do the job. Honestly I test more with cli (and not an eclipse us

Set docBase in pom.xml for maven tomcat plugin

2011-11-01 Thread Bin Lan
Hi all, I hope this message reaches the right user group. My question is pretty simple. In maven-tomcat-plugin, how can I set the docBase path? Currently, my project is a Eclipse dynamic web project and all the webapp files are being stored inside ${basedir}/WebContent folder. Whenever I tried mvn