----- Original Message -----
From: "Oreizy, Nima" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>