ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magesh Umasankar" <umag...@apache.org>
Subject Re: Probably dumb question about accessing system properties in build listeners.
Date Wed, 06 Mar 2002 14:50:01 GMT
From: "Ken Wood" <kwood@i2.com>

Ken:

> So, I changed the code that reads the property
> files to instead us java.lang.System.getProperty()...
> When I invoke Ant, I used the -Dproperty=value syntax.

Don't supply -D to Ant; supply it to the 
*java command* that invokes Ant.

> 
> -ken
>

Cheers,
Magesh

****************************************
*  Divorce: Future tense of marriage.  *
****************************************



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