ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@apache.org>
Subject EchoProperties and Propertyset - was Re: ANT-CVS logs
Date Wed, 18 May 2005 01:09:07 GMT
Brian,

Since your message has nothing to do with CVS logs, please take the time 
to create a new message and use an appropriate subject.

Your build works for me. What version of Ant are you using? When you say 
"The echoproperties task doesn't like the nested propertyset", that, 
unfortunately, gives us no information on what might be the issue. How 
doesn't it "like" it? What is the error message?

Cheers
Conor

Dick, Brian E. wrote:
> 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
> 
> 
> 

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


Mime
View raw message