Re: Getting the drive letter and setting windows path

2005-12-14 Thread Steve Loughran
Michael Silverman wrote: Actually, Ant runs a task that launches a java app which loads a DLL which itself loads more DLL's The first DLL load is not a problem (I'm just passing java.library.path to the JVM) but when that DLL tries to loads the other DLL's, it searches them in the windows pa

Re: Getting the drive letter and setting windows path

2005-12-13 Thread Stefan Bodewig
On Wed, 14 Dec 2005, Michael Silverman <[EMAIL PROTECTED]> wrote: > So what I want is to append the DLL's dir to the windows path just > before I run the task but it has to be done in the same process of > Ant in order to be visible to the first DLL (which runs in a child > process created by the

Re: Getting the drive letter and setting windows path

2005-12-13 Thread Michael Silverman
Hi Ivan, Thank you very much for your help. I will try ant-contrib and your macro and hopefully it will solve my first problem. > I suppose you are calling a windows command with > . You can use 's nested element and > pass through it the desired env variable. > > Actually, Ant runs a task tha

Re: Getting the drive letter and setting windows path

2005-12-13 Thread Ivan Ivanov
Hello Michael, --- Michael Silverman <[EMAIL PROTECTED]> wrote: > Hi All, > > I have two questions and I would really appreciate > your assistance. > > 1. How do I get the drive letter which ant is > running from (under windows of > course)? > Something like getting the first char of > ${ba

Getting the drive letter and setting windows path

2005-12-13 Thread Michael Silverman
Hi All, I have two questions and I would really appreciate your assistance. 1. How do I get the drive letter which ant is running from (under windows of course)? Something like getting the first char of ${basedir} is good enough for me (I think...) 2. Is there a way to set the windows path t