Hey all,
Trying to do something pretty simple I thought - use the <artifact> task
to create the classpath, then for WAR task (and similar tasks) simply
add the classpath as the <lib> param:
<artifact:dependencies filesetid="maven.dependency.fileset"
pathId="maven.dependency.classpath">
<pom refid="pom"/>
</artifact:dependencies>
<war destfile="target/mypackage.war"
webxml="src/webapp/WEB-INF/web.xml">
<classes dir="${pom.build.outputDirectory}"/>
<webinf dir="src/webapp/WEB-INF" includes="*.xml"/>
<lib refid="${maven.dependency.classpath}"/>
</war>
But, that doesn't work - has anyone experienced this that could show a
working example (I've tried quite a few variations and filesets already
without success so please test)?
http://ant.apache.org/manual/CoreTasks/war.html
'lib' section
Thanky, kinda urgent as in a bind as I made a poor assumption this would
be easy :-(
-D
P.s. When using the filesetId, it does not complain but the lib
directory will have three-level subdirs below \lib.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]