ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Ant War Problem
Date Thu, 12 Jan 2006 05:19:25 GMT
On Wed, 11 Jan 2006, General Email <generalemail89@yahoo.com> wrote:

>    I'm using JDev 10g which uses Ant v 1.5.4.

Which is rather old (your version of Ant, that is).

>     <war destfile="${outdir}/myApp.war" webxml=".\htroot\WEB-INF\web.xml">
>       <fileset dir=".\htroot\WEB-INF\" />
>     </war>

I would expect a warning that your task was trying to add
WEB-INF/web.xml twice, but not

>     No directory specified for ZipFileSet 

Are you sure that this is the complete task definition?

The only ZipFileSet I can see is the one Ant creates internally to
handle the webxml attribute, and that should work.  Unless you'd be
mixing versions of Ant in some place.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message