I get an error when I have the following line in my
build.xml:

<property environment="env" />
The error is a popup dialog with the message:

C:\WINDOWS\system32\ntvdm.exe
Error while setting up environment for the
application. Choose 'Close' to terminate the
application.

A search with this message led me to bug reports that
were filed against Ant 1.5 and earlier where the
flavor of Windows was not recognized correctly. This
was presumably fixed in later versions. 

But I am getting the same error. Is it fixed in 1.6.2?
Does the fact that I have XP SP2 make any difference?

The suggested workaround of defining
-Dos.name=Windows_NT did not help. Neither did
-Dos.name="Windows XP".

Is there another workaround? Am I the only one with
this error?

- Saba


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to