Re: Overwrite Property at runtime

2008-01-24 Thread Chuck Holzwarth
The vars override the property for the current target and antcall targets. I have seen something about using callback to call and allow var changes to come back but haven't tried it. So, if you use vars to override existing properties make sure you watch the scope of usage. The var can disappear

Re: Overwrite Property at runtime

2008-01-24 Thread Gilbert Rebhan
Hi, > I would recommend using ant-contrib's and logic to overwrite > properties and dynamically assign the values you need to implement your > solution: http://ant-contrib.sourceforge.net/tasks/tasks/index.html normally properties in ant are immutable once set, but you may always use the ant a

RE: Overwrite Property at runtime

2008-01-24 Thread James Oltmans
Sent: Thursday, January 24, 2008 9:05 AM To: user@ant.apache.org Subject: RE: Overwrite Property at runtime Hi Barry, Thanks for the response. Since it's not a ANT releated property, I done think providing an option of -DPROP_VALUE from cmd prompt would work. Also, I cant afford to

RE: Overwrite Property at runtime

2008-01-24 Thread Sumit.Srivastava
fined inside a java file, and it needs to be manipulated by ANT. Let me know if i have not made myself clear enough. ~Sumit -Original Message- From: Barry Andreasen [mailto:[EMAIL PROTECTED] Sent: Thursday, January 24, 2008 4:51 AM To: Ant Users List Subject: RE: Overwrite Property at ru

RE: Overwrite Property at runtime

2008-01-24 Thread Barry Andreasen
: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wed 1/23/2008 17:00 To: user@ant.apache.org Subject: Overwrite Property at runtime Hi Experts, I need to assign value of property at run time in ANT . This property variable is defined inside

Overwrite Property at runtime

2008-01-23 Thread Sumit.Srivastava
Hi Experts, I need to assign value of property at run time in ANT . This property variable is defined inside a Java file which has to be set during run time. Its NOT related to Ant properties. I tried using but it didn't help. For eg