ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijay Prasanna" <vi...@leadingc.com>
Subject xmlproperty task
Date Wed, 14 Jan 2004 20:57:24 GMT
Hi,
         I'm trying to load a xml file containing properties, using 'xmlproperty' task,  the
ant script  is

        <xmlproperty file = "C:\xmlprop.xml" keeproot = "false"/>
        <echo message = "${javapath}"/>
       The contents of xmlprop.xml file is 
         
 <xml version="1.0">
   <properties>
   <OSVersion>WIN2000</OSVersion>
   <unixpath>/export/cvsroot</unixpath>
   <javapath>E:\j2sdk1.4.2_03\bin</javapath>
   </properties>
</xml>  
                  but the ant output is       [echo] ${javapath}.    where am i wrong.

vijay



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message