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=25151>.
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=25151

PathConvert does not convert all the instances of dir sep when targetos="unix"

           Summary: PathConvert does not convert all the instances of dir
                    sep when targetos="unix"
           Product: Ant
           Version: 1.5.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


PathConvert does not convert all the instances of directory seperator when 
targetos="unix". It converts only the first instance of windows directory 
seperator.

For example.

If I have a property 
<property name="my.home"  value="c:\myProjects\MyServer\myApplication"/>
or I get my.home property from environment
And I want to use pathConvert to convert this windows style path to unix.

<echo message="My current home path = ${my.home}"/>
<pathconvert targetos="unix" property="my.home.unix">
    <path location="${my.home}"/>
</pathconvert>
<echo message="My newly converted home path = ${my.home.unix}"/>

This results in 
My newly converted home path = c:/myProjectsMyServermyApplication

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

Reply via email to