Henri,

I built a simple example for the war task and didn't need to do any of 
this.....


Henri Yandell <[EMAIL PROTECTED]> wrote on 11/09/2002 02:58:50 AM:

> I got the war task working :)
> 
> Steps:
> 
> Copy:
> 
> <property name="maven.war.classes" value="${maven.build.dest}"/>
> <property name="maven.war.file" value="${maven.build.dir}/${maven.
> war.name}.war"/>
Didn't need this one?

> from the war goal to the war:build-war goal in:
> 
> $MAVEN_HOME/plugins/maven-war-plugin-1.1-SNAPSHOT/plugin.jelly
> 
> Added:
> 
> maven.war.webxml=deploy-xml/web.xml
If the web.xml is in src/webapp/WEB-INF, then this step is unnecessary, 
right?

> maven.war.name=genscape
This is only to change the war name generated from the default (which is 
id-version.war), right?

> made a src/webapps/genscape/
The war plugin currently uses src/webapp/  .... ?

> directory and copied my html/flash stuff in there.
> 
> And I have a big war.

Cool.

> Oh, and added:
> 
>       <properties>
>        <war.bundle.jar>true</war.bundle.jar>
>       </properties>

Yep, this one is necessary.

> to some of my jars to make them go in the genscape.war file.
 
> I doubt I was meant to change the plugin, but it made it work. I thought
> I'd post here so that people could see a resolution and either correct 
me
> or find this in the archives.

Comments?

--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers


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

Reply via email to