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/02/19 19:34:11 UTC
DO NOT REPLY [Bug 17212] New: -
ant shell script does incorrect path cygwin path conversion
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.