Re: delete task in Ant

2006-01-06 Thread Ken Gentle
That is what I get for making a snap answer... ;^) Alexey is absolutely correct. The multiple patterns will work, just for the record. Just not the better solution. Ken At 14:59 2006-01-06, you wrote: By default ANT ignores some files (CVS, backups,...). To make ANT see such files

Re: delete task in Ant

2006-01-06 Thread Alexey N. Solofnenko
By default ANT ignores some files (CVS, backups,...). To make ANT see such files add defaultexcludes="false" into element (see http://ant.apache.org/manual/CoreTypes/fileset.html ). Default excludes list: http://ant.apache.org/manual/dirtasks.html#defaultexcludes . - Alexey. Ken Gentle wrote

Re: delete task in Ant

2006-01-06 Thread Ken Gentle
The leading "." in the filenames (".#Test.log.1.23") is what is preventing this pattern from matching. That looks vaguely like an editor backup file or diff/merge tool backup file pattern. If you're trying to delete files that are named more conventionally (Test.log.1.23), you'll probably nee

delete task in Ant

2006-01-06 Thread DHARNA, AJAY [AG/1000]
I have a file(s) that get created in the build directory that I want to delete, so I used the delete task The files that get created are: .#Test.log.1.23 .#Test.log.1.24 Why does the ant task not recognize these files? Is there something wrong with the pattern tha