ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
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 <> 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.


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

View raw message