ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: [PATCH] Retrieving environment variables while running in JDK1.4 on Windows XP
Date Fri, 08 Mar 2002 00:34:07 GMT
----- Original Message -----
From: "Oreizy, Nima" <NOreizy@ebuilt.com>
To: <ant-dev@jakarta.apache.org>
Sent: Thursday, March 07, 2002 16:04
Subject: [PATCH] Retrieving environment variables while running in JDK1.4 on
Windows XP


> New in JDK1.4 is that it uniquely identifies Windows XP.
> System.getProperty("os.name") now returns "Windows XP". Ant doesn't expect
> this so it makes the wrong system call to retrieve the environment
> variables. This throws an exception in the 16 bit MS-DOS Subsystem and
> ultimately throws a NullPointerException and causes the build to fail.
Patch
> to .\src\main\org\apache\tools\ant\taskdefs\Execute.java is attached.

Thanks for this, you should know that this patch is already in the nightly
builds, but we always appreciate people who send us patches with their bug
reports :)

If you look on bugzilla there are still a few more outstanding 1.4
issues...you may want to look at the list and either avoid them or come up
with patches, because they havent been fixed yet.

-Steve


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message