ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Berry <christopher.be...@etrade.com>
Subject getting the value of the Target
Date Thu, 26 Apr 2001 05:47:46 GMT
Greetings,

I would like to know how to get the value of the incoming target. (i.e for
"ant clean", I want "clean"). I have searched the -debug output for such a
property, and I read the section on built-in properties in the manual. But I
don't see it. Is it possible???

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

Thanks,
-- Chris

Chris Berry  --- christopher.berry@etrade.com  -- 512-323-9479


Mime
View raw message