ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Including directories that may or may not exist
Date Tue, 11 Nov 2003 08:36:30 GMT
On Mon, 10 Nov 2003, Dhruva B. Reddy <>

> We are trying to build a WAR file, and need to include a directory
> which may or may not be available.  Is there an easy way to do this?

<war> (and any other task of the <zip> family) will only work on
existing files and directories.  You'll have to make sure that they
exist using <mkdir> (which will silently do nothing if the directory
already exists).


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message