sumes that I'm specifying [CurrrentDirectory]\$aaa\AntLog.log
and returns the file's directory path.
Seems pretty straightforward. Let me know if any of this is wrong.
Now I'll go back and look at the file where I first found $.., and see
if I can figure out what they were doing. :-)
T
Hi All,
I ran across "$.." in an Ant file and am trying to understand what it
does. Can't find any documentation. So basic as to not require explanation?
When I run a C:\Projects\build.xml file with this code in it:
I get this:
[echo] $..
[echo] c:\Projects
You're welcome. ;)
Thanks!
Matt Benson wrote:
The recommended way to do this uses the
task. In Ant 1.6.5:
$${my.path}=${my.path}
In Ant 1.7:
You're welcome. ;)
-Matt
P.S. You -could- also use
${toString:my.path.id}
But that's technically unsupported.
--- Do
Hi all,
I have a path that I'd like to output to the console.
For example:
If I do this:
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