ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: pathconvert map isn't working
Date Fri, 02 Mar 2007 07:01:26 GMT
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:news@sea.gmane.org] 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: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>

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


Mime
View raw message