I've not tried to use the war plugin, so am a bit behind on it all I
think. I'm currently using Maven-b5 and wanting to replicate the following
Ant target in Maven:

   <delete file="${war.file}"/>
   <war warfile="${war.file}" webxml="${build.dir}/web/WEB-INF/web.xml">
       <fileset dir="./html"/>
       <fileset dir="${build.dir}/web"/>
       <lib dir="${lib.dir}">
            <include name="jcschart110K.jar"/>
            <include name="GenJavaCore.jar"/>
            <include name="struts.jar"/>
            <include name="commons-ejb.jar"/>
       </lib>
       <classes dir="${build.classes.dir}">
            <include name="com/gen/web/**"/>
            <include name="com/gen/servlets/**"/>
       </classes>
       <zipfileset dir="./flash" prefix="flash">
           <include name="**/*.swf"/>
           <include name="index*.html"/>
           <include name="**/*.vm"/>
       </zipfileset>
   </war>

The only other complication is that I also need to have webdoclet work
right before it, but I'm assuming that will work exactly the same as the
XDoclet solution which I've already posted for.

Thanks,

Hen


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to