ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
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 <sledgehammer2010@yahoo.com>
wrote:

> 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).

Stefan

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


Mime
View raw message