Re: AW: AW: Ant Environment

2010-03-18 Thread Antoine Levy Lambert
that is not even possible using a normal e.g. C++ program. Philipp -Ursprüngliche Nachricht- Von: Antoine Levy Lambert [mailto:anto...@gmx.de] Gesendet: Donnerstag, 18. März 2010 14:09 An: Ant Users List Betreff: Re: AW: Ant Environment Agreed with Jan. If you want to modify

AW: AW: Ant Environment

2010-03-18 Thread Maurer Philipp
...@gmx.de] Gesendet: Donnerstag, 18. März 2010 14:09 An: Ant Users List Betreff: Re: AW: Ant Environment Agreed with Jan. If you want to modify permanently the environment variables of Windows machines, one of the tools you can use is VBS. I think you will find articles about which API calls to

Re: AW: Ant Environment

2010-03-18 Thread Antoine Levy Lambert
Agreed with Jan. If you want to modify permanently the environment variables of Windows machines, one of the tools you can use is VBS. I think you will find articles about which API calls to use to do this in VBS. Ant can kick off a VBS script if you do Regards, Antoine jan.mate..

AW: Ant Environment

2010-03-18 Thread Jan.Materne
You are right: you cannot change the values from Ant. You could use the "setx" system command, so NEW processes will get the new values. I dont know any possibility to change the environment for RUNNING processes. Maybe via PowerShell, WindowsManagementInstrumentation, ... a la for(Projess p :