Christopher Berry <[EMAIL PROTECTED]> wrote:

> I would like to know how to get the value of the incoming
> target. (i.e for "ant clean", I want "clean").

There is no property for this, no.

> What I am trying to do is execute a target conditionally based on
> the incoming target name. So that I can skip some intermediate step
> in a build.  Is there a workaround??

Sounds like something would be wrong with you dependencies.  If you
can skip a target "A" when running the "clean" target, "A" shouldn't
be in the dependency chain for "clean".

Stefan

Reply via email to