I did a small test.
Ant 1.6.5 and 1.7.0 support <map>s.

My path has files like c:\temp\dir\file.
The map in 1.7.0 is independent of the fileseparator
   <map from="C:\temp\dir">   and
   <map from="C:/temp/dir">
work.
In Ant 1.6.5 this is not the case. The from-attribute has to match
the correct (os-specific) syntax.


Jan 

>-----Ursprüngliche Nachricht-----
>Von: news [mailto:[EMAIL PROTECTED] Im Auftrag von John Lussmyer
>Gesendet: Freitag, 2. März 2007 00:37
>An: user@ant.apache.org
>Betreff: pathconvert map isn't working
>
>I've found a construct in our build.xml that just isn't working.
>
>Example:
>.        <pathconvert property="local.install.class.path.j2se.windows"
>.                     targetos="windows"
>.                     refid="local.install.class.path.j2se"
>.        >
>.           <map from="${install.local.dir}" to="."/>
>.       </pathconvert>
>
>The "map" entry isn't doing anything.  The generated path has 
>many occurrences
>of the install.local.dir in it.
>
>Suggestions?
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to