I would also look at the documentation about differences between user defined properties vs the ones defined within the build.xml file.

Another way to change properties at runtime is to read different property files based on your condition.

hth,
Vijay

Taj, Abdul wrote:
When you say runtime, what do you mean - are you invoking ant from another 
program? - like a java application.

If yes - you can use the Project class in Ant, refer api and use setProperty 
method.

If no - then I don't understand what you mean by runtime - just initialize the 
property in the build xml file.

<property name="" value=""/>

-t


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 14, 2008 12:07 PM
To: user@ant.apache.org
Subject: RE: how to change the property value at run time

Thanks a lot. I know that JAVA_HOME is not the ANT - property.
I just wanted to check whether can we change the property value at run time.

Can we have detail list of different properties that ANT supports.??


Regards,
Irfan

-----Original Message-----
From: Knuplesch, Juergen [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 14, 2008 7:05 PM
To: Ant Users List
Subject: AW: how to change the property value at run time

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?



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to