Yes, that is exactly how you do it.
Erik
----- Original Message -----
From: "Diane Holt" <[EMAIL PROTECTED]>
To: "Ant Developers List" <[EMAIL PROTECTED]>
Sent: Tuesday, April 23, 2002 5:26 PM
Subject: RE: configuring log4j for task
> --- "Wannheden, Knut" <[EMAIL PROTECTED]> wrote:
> > Btw, how can a property be defined as system property (i.e. returned
> > when calling System.getProperty()) from command line when invoking Ant?
> > The only way I've found is to set the according environment variable,
> > but that isn't really useful. The '-D' option only sets a property
> > (not a system property) IIRC.
>
> Does Java let you pass -Dname=value to the JVM and have that become a
> system property? If it does, you could put it in ANT_OPTS.
>
> Diane
>
> =====
> ([EMAIL PROTECTED])
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Games - play chess, backgammon, pool and more
> http://games.yahoo.com/
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>