From: Stefan Bodewig [mailto:[EMAIL PROTECTED]]
On Tue, 26 Feb 2002, Norbert Rieger <[EMAIL PROTECTED]> wrote: >> is it possible to get the target's name within the target, e.g. >No. Could you provide us with a real use-case, that shows, why you >need it? I've wanted to use it when using a target to specify a prod/uat/dev build. I wanted to be able to type 'ant PROD'. It then picks up the appropriate properties file based on the target (eg 'PROD.properties'). I ended up using an explicit property, eg 'ant -Dtarget.name=PROD' ---------------------------------------------------------------------- If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender. ---------------------------------------------------------------------- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
