ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject RE: configuring log4j for task
Date Tue, 23 Apr 2002 21:26:20 GMT
--- "Wannheden, Knut" <> 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.



Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message