ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Probably dumb question about accessing system properties in build listeners.
Date Thu, 07 Mar 2002 11:09:41 GMT
On Wed, 06 Mar 2002, Ken Wood <kwood@i2.com> wrote:
> Well, what I tried was to use lava.lang.System.getProperty
> in the constructor of the listener. The properties were
> always empty, even though they were set on the command line.

You need to specify them before Ant's main class to make the system
properties, if you put them after Main, they are only Ant properties.

Stefan

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