You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Thomas E Deweese <th...@kodak.com> on 2000/11/02 13:53:05 UTC

Re: build.xml

SH> Stefano Mazzocchi wrote:

>> Stephane Hillion wrote:
>> > Ant overwrites environment variables. Painful.
>> 
>> ??? what do you mean?

>>>>> "SH" == Stephane Hillion <St...@sophia.inria.fr> writes:

SH> My EDITOR environment variable is equal to 'xemacs' by default.
SH> After running ant, it is not defined anymore and I must type my
SH> commit messages with vi...

    A subprocess can't affect the parent process's environment (ie
running ant can't change the EDITOR env var in the calling shell,
unless you 'source ant').

    Are you somehow doing your cvs commit through ant?

    I'm guessing there is something wrong in the way your shell is set
up, or else there is a bug in the Kernel/shell.

Re: build.xml

Posted by Stephane Hillion <St...@sophia.inria.fr>.
Thomas E Deweese wrote:

>     A subprocess can't affect the parent process's environment (ie
> running ant can't change the EDITOR env var in the calling shell,
> unless you 'source ant').

>    Are you somehow doing your cvs commit through ant?

No.

>    I'm guessing there is something wrong in the way your shell is set
> up, or else there is a bug in the Kernel/shell.

Thierry and Vincent experienced the same problem. It looks like random
modifications. One time it even changed my PATH.
--
    Stephane.