ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Alberto Fernandez <>
Subject RE: <arg>
Date Fri, 11 Aug 2000 17:49:24 GMT

> -----Original Message-----
> From: Stefan Bodewig []
> Sent: Thursday, August 10, 2000 11:30 PM
> To:
> 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
If the <task> has no hope to work without this, then it sould be put there
by the taks itself.

Jose Alberto

> Stefan

View raw message