On 2009-12-19, Sandu Turcan <idls...@gmail.com> wrote:

> I'm wondering if introducing a new name can be avoided alltogether.
> What if depends="prefix*" meant depends on all targets that start with 
> "prefix"?

> For example:
> <target name="compile" depends="precompile-*">
> ....
> </target>

> Wouldn't that achieve the same effect?

It would make things less explicit, in particular on the side of targets
"joining" the depends list; and there could be a risk of joining such a
depends list by accident (i.e. naming your target with a prefix by pure
coincidence).

Apart from that, you are correct.  It would achieve the same goal.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to