Bug 17212 - ant shell script does incorrect path cygwin path conversion
Summary: ant shell script does incorrect path cygwin path conversion
Status: RESOLVED FIXED
Alias: None
Product: Ant
Classification: Unclassified
Component: Wrapper scripts (show other bugs)
Version: 1.5.1
Hardware: Other other
: P3 major (vote)
Target Milestone: 1.5.2
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-19 18:34 UTC by Shankar Unni
Modified: 2008-02-22 12:18 UTC (History)
0 users



Attachments
Fix cygpath calls in ant shell script (1.11 KB, patch)
2003-02-19 18:36 UTC, Shankar Unni
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shankar Unni 2003-02-19 18:34:10 UTC
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.
Comment 1 Shankar Unni 2003-02-19 18:36:15 UTC
Created attachment 4926 [details]
Fix cygpath calls in ant shell script
Comment 2 Conor MacNeill 2003-02-21 11:57:04 UTC
Fixed - thanks.