ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vineet Bhatia <Vineet_Bha...@ocs.com>
Subject How to get property value in task arguments?
Date Wed, 17 Jan 2001 01:04:04 GMT
Hi all,

I have written a task which makes use of the VSSGET task.
In my build.xml file I invoke it like this -

...
...
<property name="prop1"  value="prop1 value" />
<property name="prop2" value="prop2 value" />
<property name="prop3" value="prop3 value" />
...
...
<target name="main">
	<myTask arg1="${prop1}" 
		arg2="${prop2}" 
  		arg3="${prop3}"
  		blah="blah"
	/>
</target>

For some reason this does not work. 
I do not get the value of the argument for myTask.
I get ${prop1} as the value for arg1??
What am I doing wrong?


- vineet


Mime
View raw message