ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Wallace" <>
Subject delete dir with wilcard
Date Thu, 05 Aug 2004 01:03:25 GMT
         Having read the fine manual (fully?), I am still at a loss for
a solution to my problem. I want to delete a directory (and all its
contents (files/sub dirs etc)), but I do not know the name of it, all I
do know, is the path to its parent directory, and the begining of the
directory name - hence the wilcard query. My directory will always be
called jar....something. How can I remove it using Ant, with a wildcard
(or by any means). E.g:
how can I do something like: 
delete c:\mydir\jar* 
in an Ant expression please? 
thanks alot

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message