While getting the enviroment using the following <property environment="env"/> I encounterd the null pointer exception from "Property.java".
*** This bug has been marked as a duplicate of 6456 ***
Created attachment 1561 [details] Proposal to fix this problem. I have patch on my Window XP , but not tested a lot. It looks OK.
Created attachment 1562 [details] This problem has the same root. Determining OS type had been made only for windows nt, for other nt-like os (w2k and xp) had been compalsory to set up 'ant.home' variable.
Roman, thank you for your patch, but the bug is already fixed in CVS.