ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 2484] New: - should check that JAVAHOME is valid and give better error message
Date Fri, 06 Jul 2001 20:56:06 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2484

*** shadow/2484	Fri Jul  6 13:56:06 2001
--- shadow/2484.tmp.19934	Fri Jul  6 13:56:06 2001
***************
*** 0 ****
--- 1,22 ----
+ +============================================================================+
+ | should check that JAVAHOME is valid and give better error message          |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2484                        Product: Ant                     |
+ |       Status: NEW                         Version: 1.3                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Minor                    OS/Version: Windows NT/2K           |
+ |     Priority: Other                     Component: Wrapper scripts         |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: erolfox@hotmail.com                                          |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ ant.bat could have a check that the JAVAHOME env. var. is valid. I've got 
+ jdk1.3.1, but the env. was set incorrectly for this minor build. 
+ 
+ Suggest adding:
+  if not exist %_JAVACMD%.exe echo JAVAHOME env. var. is not valid!
+ after the lines that set this var

Mime
View raw message