ant inherifRefs & echo for variables

I

ion

Hi! I'd like to see what ant thinks a variable value is.
<echo>${varname}</echo> just shows me the literal '${varame}'. I was
hoping there was some way to resolve it.
The reason I want to do this is that delegate build.xml's don't seem to
be inheriting refs
<ant dir="subfolder" inheritAll="false" inheritRefs="true"/> doesn't
seem to be working for me. I'm trying to pass a class path down to the
build file that actually compiles. Is this possible? Is there a common
pitfall I'm probably falling into?
 
I

ion

OK, this seems to work:

<pathconvert pathsep="," property="javafiles" refid="CPATH"/>
<echo message="${javafiles}"/>

Of course, now I don't like what it's telling me.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top