You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Geoffrey Mitchell <ga...@imail.kwcorp.com> on 2005/11/22 16:26:33 UTC

Re: *****spam***** RE: Question on how to to debug mapper issues

>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
For additional commands, e-mail: user-help@ant.apache.org