Java Mailing List Archive

Apache Ant Archive

» Ant Users List
» Ant Developers List
How to echo path?

How to echo path?

2007-04-04       - By Douglas McCarroll
Reply:     1     2     3     4     5     6     7     8     9     10  

Hi all,

I have a path that I'd like to output to the console.

For example:

   <path id="">
       <pathelement location="${a.path}"/>
       <pathelement location="${another.path}"/>

If I do this:

   <echo message="${}" />

I get this:

   [echo] ${}

I assume that the problem here is that I'm trying to treat an id as
though it is a property, and it's not.

If you wanted to output the paths for debugging, what would you do?



To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 - Jax Systems, LLC, U.S.A.