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 17212] New: - ant shell script does incorrect path cygwin path conversion
Date Wed, 19 Feb 2003 18:34:11 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=17212>.
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=17212

ant shell script does incorrect path cygwin path conversion

           Summary: ant shell script does incorrect path cygwin path
                    conversion
           Product: Ant
           Version: 1.5.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Wrapper scripts
        AssignedTo: dev@ant.apache.org
        ReportedBy: shankar@cotagesoft.com


When converting Unix paths back to Windows when running the "ant" shell script
in cygwin, the script passes the wrong options to "cygpath".

You're only supposed to pass "--path" if the path being converted is really a
Path (i.e. multiple directories separated by path separator - this is only true
for CLASSPATH and LOCALCLASSPATH). For single directory or file names (in this
case, JAVA_HOME, ANT_HOME and CYGHOME), the --path *must* be omitted.

Patch is being attached. Please apply.

Mime
View raw message