ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dick, Brian E." <Brian.D...@FMR.com>
Subject RE: ANT-CVS logs
Date Tue, 17 May 2005 17:52:22 GMT
Sorry if this is duplicate post.

I'm getting an exception from the following build. The echoproperties
task doesn't like the nested propertyset. What am I doing wrong?

<?xml version="1.0" ?>
<project name="build">
   <property name="foo.1" value="1"/>
   <property name="foo.2" value="2"/>

   <property name="bar.3" value="3"/>
   <property name="bar.4" value="4"/>

   <propertyset id="foo.propset">
      <propertyref prefix="foo"/>
      <mapper type="glob" from="foo.*" to="foobar.*"/>
   </propertyset>

   <propertyset id="bar.propset">
      <propertyref prefix="bar"/>
      <mapper type="glob" from="bar.*" to="foobar.*"/>
   </propertyset>

   <propertyset id="foobar.propset">
      <propertyset refid="foo.propset"/>
      <propertyset refid="bar.propset"/>
   </propertyset>

   <echoproperties>
      <propertyset refid="foo.propset"/>
   </echoproperties>

   <echoproperties>
      <propertyset refid="bar.propset"/>
   </echoproperties>

   <echoproperties>
      <propertyset refid="foobar.propset"/>
   </echoproperties>
</project>

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


Mime
View raw message