ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Al Le <al...@gmx.de>
Subject Setting (not user!) propeties from the command line
Date Sat, 02 Aug 2014 09:29:46 GMT
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


Mime
View raw message