Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

AW: how to change the property value at run time

Knuplesch, Jürgen

2008-05-14

Replies:

Author LoginPost Reply
Thats just the special thing about ANT-properties: You can not change them, for good reasons.

But JAVA_HOME does not look like an Ant-property. What do you want to do?


--
Jürgen Knuplesch             www.icongmbh.de
icon Systemhaus GmbH           Tel. +49 711 806098-275
Sophienstraße 40            
D-70178 Stuttgart             Fax. +49 711 806098-299

Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121
-----Ursprüngliche Nachricht-----
Von: Irfan.Sayed@(protected)]
Gesendet: Mittwoch, 14. Mai 2008 15:20
An: user@(protected)
Betreff: how to change the property value at run time

Hi All,



I need to change the value of a specific property at run time. Can somebody please let me know how I can do that.



Let's say the property name is "JAVA_HOME" and suppose I want to change the value of that property to "d:\install"



Please help.



Regards,

Irfan




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.