RE: delete task

2007-01-30 Thread Anderson, Rob (Global Trade)
It's all in the manual. http://ant.apache.org/manual/index.html http://ant.apache.org/manual/CoreTasks/delete.html http://ant.apache.org/manual/CoreTasks/mkdir.html -Rob Anderson > -Original Message- > From: Erica A Ramsey [mailto:[EMAIL PROTECTED] > Sent: Saturday, January 27, 2007

RE: restrict and selector

2007-01-30 Thread Mikael Sitruk
In fact I seen this in the documentation, but this was not very clear, now with your updated sample this is clear Is there a chance to clarify the documentation? And of course thanks. Mikael.S -Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Tuesday, 30 January, 2007

Re: Dependset NullPointerException

2007-01-30 Thread Matt Benson
Please check this against a (very) recent build from Ant HEAD. I believe Martijn Kruithof recently removed the NPE from dependset. Thanks, Matt --- Oliver Robinson <[EMAIL PROTECTED]> wrote: > I'm having a spot of bother with a dependset - it is > throwing a NPE. I'm thought it used work on an

RE: restrict and selector

2007-01-30 Thread Matt Benson
--- Mikael Sitruk <[EMAIL PROTECTED]> wrote: > > Matt > > I have tried the name too see: > > > > > > > > > > But I got: > > restrict doesn't support the nested "name" element. > at > org.apache.tools.ant.UnknownEl

RE: restrict and selector

2007-01-30 Thread Mikael Sitruk
Matt I have tried the name too see: But I got: restrict doesn't support the nested "name" element. at org.apache.tools.ant.UnknownElement.handleChildren(UnknownElement.java:356) at org.apache.tools.ant.

Dependset NullPointerException

2007-01-30 Thread Oliver Robinson
I'm having a spot of bother with a dependset - it is throwing a NPE. I'm thought it used work on ant 1.6.5, but having just re-tried it, it seems to fail in the same way. I'm not having much luck boiling down an exact test case, although it seems to be something to do with either number of fi

Re: JUnit task and the 'fork' attribute...

2007-01-30 Thread Andrew Close
Peter, thanks for your response. the simple solution was to add the junit.jar to my ant lib/ dir. duh. thanks for 'reminding' me of the verbose feature. i'll try to be a bit more diligent in the future. ;) andy On 1/29/07, Peter Reilly <[EMAIL PROTECTED]> wrote: try with ant -verbose. Th

Exclusion filter

2007-01-30 Thread Hans Schwaebli
I need to exclude some files when deleting with Ant. Best to explain it with example: c:\a\b\c\d\e Lets assume I want to delete all files and empty folders in c:\a and subfolders except the files directly under c:\a\b. The files and empty folders in c:\a\b\c and subfolders need