ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Mitchell <geoff_mitch...@homedecorators.com>
Subject Re: How to echo path?
Date Wed, 04 Apr 2007 21:20:13 GMT
Look at the pathconvert task.

Douglas McCarroll wrote:

> Hi all,
>
> I have a path that I'd like to output to the console.
>
> For example:
>
>    <path id="my.path.id">
>        <pathelement location="${a.path}"/>
>        <pathelement location="${another.path}"/>
>    </path>
>
> If I do this:
>
>    <echo message="${my.path.id}" />
>
> I get this:
>
>    [echo] ${my.path.id}
>
> 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?
>
> TIA!
>
> Douglas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>

-- 
Geoffrey Mitchell
Programmer/Analyst
Home Decorator's Collection
314-684-1062


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


Mime
View raw message