ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Computed ids not visible in sub projects?
Date Mon, 02 Sep 2002 13:48:17 GMT
On Fri, 23 Aug 2002, Fei Sha <> wrote:

> 	<path id="${cpid}">

> 		<java classname="test">
> 			<classpath refid="${cpid}" />		

> The "classpath_id" is not visible in the sub project.
> If I hard code the name as:
> 	<path id="classpath_id">

> Then it works fine. Is this intended behavior?

In a way, yes.  Properties are not expanded in the id attribute, so
your path has the literal id ${cpid}.

> Another thing, when u want to see the value of a variable, u just
> echo ${v} anyway similar to see what an id refers to?

By using a helper property and <property>'s refid attribute.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message