Re: Making the delete task behave like /bin/rm -rf vis-a-vis symlinks to directories

2009-06-26 Thread jscripter
o create a fileset of everything that looks like a symlink? Scot P. Floess-2 wrote: > > > Have you looked at the symlink task? > > http://ant.apache.org/manual/OptionalTasks/symlink.html > > On Mon, 22 Jun 2009, jscripter wrote: > >> >> I am using this t

Re: factoring out commonality in sequences of tasks

2009-06-23 Thread jscripter
David Weintraub wrote: > > There are several things you can use: > ... > Thanks for pointing out defmacro and antcall. Looks like they could help me out with this problem. ER -- View this message in context: http://www.nabble.com/factoring-out-commonality-in-sequences-of-tasks-tp24155135

Re: factoring out commonality in sequences of tasks

2009-06-22 Thread jscripter
Michael Ludwig-6 wrote: > > jscripter schrieb am 22.06.2009 um 14:16:24 (-0700): > >> > >> > ... >> > >> > >> > ... > >> I need to preserve the execution order of the tasks, so I don't think >> that wou

Re: factoring out commonality in sequences of tasks

2009-06-22 Thread jscripter
Michael Ludwig-6 wrote: > > jscripter schrieb am 22.06.2009 um 13:46:19 (-0700): >> >> Suppose I have an operation which deploys files and I have the option >> of deploying the files by copying them and

factoring out commonality in sequences of tasks

2009-06-22 Thread jscripter
Suppose I have an operation which deploys files and I have the option of deploying the files by copying them and deploying using symlinks: What's the best way to factor out the commonality of these two targets? Note that , , etc. are going to be sequence of ta

Making the delete task behave like /bin/rm -rf vis-a-vis symlinks to directories

2009-06-22 Thread jscripter
I am using this target definition to remove all the files under ${TOP} which contains some symlinks to other directories: However, I've noticed that delete is not deleting the symlinks. I'd like to get the same results as /bin/rm -rf under Unix, i.e. the