ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 3014] - bootstrap.sh sets wrong classpath on NT-Cygwin
Date Tue, 07 Aug 2001 11:14:53 GMT
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3014

*** shadow/3014	Tue Aug  7 03:31:05 2001
--- shadow/3014.tmp.15779	Tue Aug  7 04:14:53 2001
***************
*** 34,36 ****
--- 34,53 ----
  
  ------- Additional Comments From conor@cortexebusiness.com.au  2001-08-07 03:31 -------
  Wouldn;t it be better to use cygpath? 
+ 
+ ------- Additional Comments From tpv@spamcop.net  2001-08-07 04:14 -------
+ I thought about that, and didn't reach a conclusion (so I submitted the version 
+ that I had already hacked together)
+ 
+ Cygpath (AFAICT) doesn't allow you to build new "paths" (only convert exist 
+ ones), so there's no way to say "Add the unix version of JAVA_HOME to the unix 
+ version of CLASSPATH", so you have to always just work with the unix version, 
+ and do conversions in and out where needed.
+ 
+ CLASSPATH and JAVA_HOME could be in either unix/dos format, so to use cygpath, 
+ you'd have to convert CLASSPATH to unix format, then convert JAVA_HOME to unix 
+ format (handling both v1.1 and v1.2 style) and concatenate them.
+ 
+ That will work, and it might be a better way, but I'm not 100% sure.
+ 
+ I'll try and find some time to test that method tomorrow.

Mime
View raw message