You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/05/07 21:38:20 UTC
DO NOT REPLY [Bug 19743] New: -
map does not translate correctly in pathconvert
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>