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-sequen

Re: factoring out commonality in sequences of tasks

2009-06-23 Thread David Weintraub
> What's the best way to factor out the commonality of these two targets? > > Note that , , etc. are going to be sequence of tasks and not > just a single task element. > (Is it possible to define a task which is a sequence of tasks?) > > Thanks, > ER > > >

Re: factoring out commonality in sequences of tasks

2009-06-22 Thread jscripter
pecified with the following declarations: ... ... ... ... but then how do I set up the depends for target-3? -- View this message in context: http://www.nabble.com/factoring-out-commonality-in-sequences-of-tasks-tp24155135p24157115.html Sent from the Ant - Users mailing list archive at

Re: factoring out commonality in sequences of tasks

2009-06-22 Thread Michael Ludwig
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 would work. >From a recent post of David Weintraub: | You say that B depends upon A, and C depends upon A and that A depends

Re: factoring out commonality in sequences of tasks

2009-06-22 Thread jscripter
unit placed in the dependency graph? > > > ... > > > ... > > Michael Ludwig > > - > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h.

Re: factoring out commonality in sequences of tasks

2009-06-22 Thread Michael Ludwig
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 deploying using symlinks: > > > > > > > > > > > > > > > > > > What's the best way to fact

factoring out commonality in sequences of tasks

2009-06-22 Thread jscripter
ce of tasks and not just a single task element. (Is it possible to define a task which is a sequence of tasks?) Thanks, ER -- View this message in context: http://www.nabble.com/factoring-out-commonality-in-sequences-of-tasks-tp24155135p24155135.html Sent from the Ant - Users mailing list archi