The war should include :
<pre>
WEB-INF/classes/*.class
WEB-INF/lib/*.jar
WEB-INF/jsp/*.jsp
</pre>
I am very well able to achieve first two. That's because war task has
classes and lib as nested elements. And that puts classes and lib
directories automatically into WEB-INF I am not able to place the directory
jsp in WEB-INF. I tried to do so using the webinf nested element of war
task. According to manual, it specifies FileSet. This is how my target looks
like :
<target name="war">
<war destfile="${warfile}" webxml="${webxml}">
<webinf dir="${metadata}" includes="*.xml">
<fileset dir="jsp" />
</webinf>
</war>
</target>
When I use it I get this error : build.xml:32: only single argument resource
collections are supported as archives. What should I be doing?
Thanks.
--
View this message in context:
http://www.nabble.com/Seeking-help-regarding-webinf-nested-element-of-war-ant-target.-tp18111936p18111962.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]