ant-dev mailing list archives

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

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message