Re: How to refer PATH environment variable in Ant task

2006-12-04 Thread Dominique Devienne
the other half is solved by the .. would always work. How is made case-insensitive? Imagine I pass in the current path (let's assume the env. var is named Path) thru a CLI user property (named PATH) and I want to write: For this to work properly on Windows, the env. var. passed t

Re: How to refer PATH environment variable in Ant task

2006-12-03 Thread Peter Reilly
In your original question you had: task instead of the task. Peter Regards Ravi. -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED] Sent: Sunday, December 03, 2006 4:44 AM To: Ant Users List Subject: Re: How to refer PATH environment variable in Ant task O

Re: How to refer PATH environment variable in Ant task

2006-12-03 Thread Peter Reilly
On 12/2/06, Dominique Devienne <[EMAIL PROTECTED]> wrote: On 12/2/06, Peter Reilly <[EMAIL PROTECTED]> wrote: > Perhaps we could add an attribute to property > to force the env names to be uppercasized: > > > so ${env.PATH} > will always give the correct value This solves only one half of the p

Re: How to refer PATH environment variable in Ant task

2006-12-03 Thread Gilbert Rebhan
Hi, if nothing else works you may still go via = Regards, Gilbert Ravi Roy wrote: I want to refer the environment variable in created in Windows XP using Ant task, but it does not seem to refer that. My purpose is to run java.exe along with executing the application and refer

RE: How to refer PATH environment variable in Ant task

2006-12-02 Thread Ravi Roy
refer PATH environment variable in Ant task On 12/2/06, Peter Reilly <[EMAIL PROTECTED]> wrote: > Perhaps we could add an attribute to property > to force the env names to be uppercasized: > > > so ${env.PATH} > will always give the correct value This solves only one half

Re: How to refer PATH environment variable in Ant task

2006-12-02 Thread Dominique Devienne
On 12/2/06, Peter Reilly <[EMAIL PROTECTED]> wrote: Perhaps we could add an attribute to property to force the env names to be uppercasized: so ${env.PATH} will always give the correct value This solves only one half of the problem however. One still needs to specify the path in using the co

Re: How to refer PATH environment variable in Ant task

2006-12-02 Thread Peter Reilly
Perhaps we could add an attribute to property to force the env names to be uppercasized: so ${env.PATH} will always give the correct value Peter On 12/2/06, Dominique Devienne <[EMAIL PROTECTED]> wrote: > > Your pb is likely related to the case of the PATH env. var. An

Re: How to refer PATH environment variable in Ant task

2006-12-02 Thread Tommy Nordgren
On 1 dec 2006, at 16.26, Ravi Roy wrote: Hi All, I want to refer the environment variable in created in Windows XP using Ant task, but it does not seem to refer that. My purpose is to run java.exe along with executing the application and referring ZIP/JARs by the application at execut

Re: How to refer PATH environment variable in Ant task

2006-12-02 Thread Dominique Devienne
Your pb is likely related to the case of the PATH env. var. Ant is case sensitive, but on Windows PATH is not, and can be written Path or path, or whatever. You also need to use the same case for your new process than the current process' case for that variable, otherwise

How to refer PATH environment variable in Ant task

2006-12-02 Thread Ravi Roy
Hi All, I want to refer the environment variable in created in Windows XP using Ant task, but it does not seem to refer that. My purpose is to run java.exe along with executing the application and referring ZIP/JARs by the application at execution time from the PATH variable.

How to refer PATH environment variable in Ant task

2006-12-02 Thread Ravi Roy
Hi All, I want to refer the environment variable in created in Windows XP using Ant task, but it does not seem to refer that. My purpose is to run java.exe along with executing the application and referring ZIP/JARs by the application at execution time from the PATH variable.