ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hari Ramasubbu <hariramasu...@yahoo.com>
Subject Re: ant -D option
Date Mon, 18 Jun 2001 20:51:56 GMT
Still i cant get the second property set from the
command line.

this what i get on the command prompt.

C:\build>callant -buildfile test.xml -Dprop1=zzzz
-Dprop2=aaaa
Buildfile: test.xml

Myproperty:
     [echo] prop1 is : zzzz
     [echo] prop2 is : ${prop2}

BUILD SUCCESSFUL

Total time: 0 seconds
-------------------------------------
this is the test build file i wrote

<project name="test" default="Myproperty" basedir=".">
	<target name="Myproperty">
	    <echo>prop1 is : ${prop1} </echo>
	    <echo>prop2 is : ${prop2} </echo>
	</target>  
</project>

thanks
hari



Mime
View raw message