Stefan, Yuck, this gets a little worse in CommandLineJava. On Netware, there IS an executable matching <JAVA_HOME>/bin/java, but 99% of the time the user should not execute it directly. So, the user should always leave off the path, thereby getting the command line extension (java.nlm has already been loaded), or finding java.nlm in the search path if java has not been loaded yet. So, code for NetWare IS required in this case. Something like:
if ( (new Os("netware")).eval() ) {
return "java";
}
I've attached the "diff -u" patch for this.
Jeff Tulley ([EMAIL PROTECTED])
(801)861-5322
Novell, Inc., the leading provider of Net services software.
>>> [EMAIL PROTECTED] 10/31/01 5:10:01 AM >>>
On 31 Oct 2001, <[EMAIL PROTECTED]> wrote:
> Use locale independent methods to identify OS or match attributes
> and elements in build files.
I haven't changed all toLowerCase calls as some seem to better remain
locale dependent (comparing filenames in PathConvert) or I am not
familar enough with them (Manifest).
A special heads up for Jeff Tulley, I don't know whether Netware will
be considered a part of the dos family by the <os> condition - if so
we may need to change Javadoc and CommandlineJava where the code adds
the extension .exe to either javadoc or java.
Stefan
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
CommandLineJavaforNW.patch
Description: Binary data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
