You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Al Le <al...@gmx.de> on 2014/08/02 11:29:46 UTC

Setting (not user!) propeties from the command line

Hello.

Wouldn't it be nice to be able to set not only user peroperties but also 
"normal" properties from the ant command line?

User properties are set using "-Dname=value". Normal properties could be 
set via "-Pname=value".

This would allow some scripts work the same way independently on whether 
a property was set from the command line or in a script.

For an example of such a case see the following thread on the user 
mailing list:

http://mail-archives.apache.org/mod_mbox/ant-user/201407.mbox/ajax/%3Ctrinity-b5d13e85-248f-4327-b2b4-0b328d5fc726-1406797822004%403capp-gmx-bs72%3E

Cheers
Al

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