ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19743] New: - map does not translate correctly in pathconvert
Date Wed, 07 May 2003 19:38:20 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19743>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19743

map does not translate correctly in pathconvert

           Summary: map does not translate correctly in pathconvert
           Product: Ant
           Version: 1.5.3
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: cleuchter@fact.es


map does not correctly convert the following fragment in pathconvert:

when i echo build.lib it displays "c:/temp/build/lib" which is the portable 
representation of separators. If i put this as a constant it does not work 
either, if i put c:\temp\build\lib as a constant it does work, even if i set 
the targetos to unix.

<path id="pkg.classpath">
    <fileset dir="${build.lib}">
        <include name="**/lib/java/*.jar"/>
    </fileset>
</path>

<pathconvert targetos="windows" property="classpath_text" refid="pkg.classpath">
   <map from="${build.lib}" to="lib/"/>
</pathconvert>

Mime
View raw message