ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijay Prasanna" <vi...@leadingc.com>
Subject RE: xmlproperty task
Date Wed, 14 Jan 2004 21:46:55 GMT
no still i get the same ant output as [echo] ${javapath}

-----Original Message-----
From: Will Lopez [mailto:william.lopez@eds.com]
Sent: Wednesday, January 14, 2004 4:34 PM
To: Ant Users List
Subject: Re: xmlproperty task


..not tested but I believe if you turn on the *semanticAttributes 
*attribute it turns on property reference resolution.
Try this:

<xmlproperty file="C:\xmlprop.xml" keeproot="false"
	     semanticAttributes="true" />



Vijay Prasanna wrote:

>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
>
>  
>


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


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


Mime
View raw message