> -----Original Message-----
> From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 10, 2000 11:30 PM
> To: [EMAIL PROTECTED]
> Subject: Re: <arg>
> 
> 
> As others have pointed out, it's a all or nothing thing. Once you send
> any environment variables to the subprocess, you have to set them all.
> 
> I've put a warning into docs/index.html about this when I documented
> <env> two days ago. I don't think Ant has a way to circumvent this.
> 
> For PATH it looks like the System property java.library.path holds
> this information (at least on all Sun/Blackdown/IBM JDKs on Linux and
> Sun's JDKs on Windows) although it's not documented anywhere as far as
> I can tell.
> 
> This means, you can use <env key="PATH" 
> value="${java.library.path}" />.
> 

Isn't this LD_LIBRARY_PATH in UNIX? There are two separate concepts in UNIX
and one on NT. Maybe, there should be certain environment variables that are
passed  always, if you try to pass anyone, and unless you catually override
them.
If the <task> has no hope to work without this, then it sould be put there
by the taks itself.

Jose Alberto


> Stefan
> 

Reply via email to