# ant-user mailing list archives

##### Site index · List index
Message view
Top
From Geoffrey Mitchell <...@imail.kwcorp.com>
Subject Re: *****spam***** RE: Question on how to to debug mapper issues
Date Tue, 22 Nov 2005 15:26:33 GMT

>Sure enough, you were correct.  It seems that the "to" attribute does
>not handle literal relative paths very well.  If I store the relative
>path as the location attribute of a property, no problem doing anything
>at all.
>
>What's up with this?  Does anybody else find that buggy, or is it just
>me?
>
>
>
When you use location="foo/bar", ant expands that, so if you echo that
property you will see something like "C:\my\basedir\foo\bar".  Probably
if you specified "\${basedir}/foo/bar/*.class" in the to attribute of
your mapper, you would get the same result.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org