ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Webber <>
Subject [PATCH] Tar task to include (empty) directories
Date Wed, 07 Mar 2001 04:57:01 GMT
Hi all!

The current Tar task does not include directories as such in the Tar
file.  This means that it is impossible to add an empty directory in a
tar file using this task (as one might wish to do if, for instance,
one were creating a skeleton directory structure).  There may be a
good reason for this, but if not, attached is a patch which causes the
Tar task to include directories included by the TarFileSet in the
resulting tar file, as well as files.  There is also a simple test.

William Webber                     
Senior Programmer                             
PeopleWeb Australia                

View raw message