On Mon, 22 Apr 2002, Jane Fraser <[EMAIL PROTECTED]> wrote: > I'm try to use a target more than once, but it doesn't seem to run > the second time
If it is part of the dependency graph for a target, each target will be run at most once - so it doesn't change anything if you put the name of a target into depends more than once. If you are sure that you really want to do what your target definition suggests, <target name="jar" depends="cleanup, compile, package"> <antcall target="cleanup" /> </target> would do the trick. But I'd suggest rethinking your design, why does your jar target guarantee that cleanup has been run after it has finished. Stefan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
