Suppose I have an operation which deploys files and I have the option of deploying the files by copying them and deploying using symlinks:
<target name="deploy-using-copy"> <task1> <copy-files-2> <task3> <copy-files-4> <task5> </target> <target name="deploy-using-link"> <task1> <link-files-2> <task3> <link-files-4> <task5> </target> What's the best way to factor out the commonality of these two targets? Note that <task1>, <task3>, 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 -- 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 archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org