I am trying to build a war. The files that should be included in the lib
are in a fileset defined by
<path id="managed.class.path">
<fileset dir="${M2_REPO}">
<include name="log4j/log4j/1.2.6/log4j-1.2.6.jar"/>
<include
name="springframework/spring-web/1.2.5/spring-web-1.2.5.jar"/>
<include name="net/sourceforge/jexcelapi/jxl/2.5.7/jxl-2.5.7.jar"/>
<include name="c3p0/c3p0/0.9.0/c3p0-0.9.0.jar"/>
...
</fileset>
</path>
I can't figure out how to include this.
I am getting an error of
managed.class.path doesn't denote a zipfileset or a fileset
My war target is
<target name="war" description="Create payload webapp">
<mkdir dir="${sys.dir}" />
<delete file="${sys.dir}/${project.distname}.war" />
<war warfile="${sys.dir}/${project.distname}.war"
webxml="docroot/WEB-INF/web.xml">
<lib refid="managed.class.path" />
<lib dir="${sys.dir}">
<include name="${project.distname}.jar" />
</lib>
<webinf dir="docroot/WEB-INF">
<include name="**/*" />
<exclude name="**/web.xml" />
</webinf>
<!-- enable for deploy to tomcat: -->
<!--metainf dir="docroot/META-INF">
<include name="**/*"/>
</metainf-->
<fileset dir="docroot">
<include name="css/**/*.css" />
<include name="images/**/*" />
<include name="javascript/*.js" />
<include name="*.jsp" />
</fileset>
</war>
</target>
Thanks
Liz Sommers
[EMAIL PROTECTED]
____________________________
http://www.pragmatics.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]