You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by David Corbin <dc...@imperitek.com> on 2001/05/11 01:21:05 UTC

Environment handling "bug"

e ran across a rather odd problem.  It's not a bug REALLY, but Ant
could do a slightly better job of handling it.  For reasons unknown, on
one particular WinME machine (the only one in use in our system - the
others are Linux or Win2K), the environment looks something like this:

a=b
c=d
xxxxxxxxxx
e=f
g=h
i=j

When ant is run on this machine we get an exception that strongly
indicates it is because of this odd line in the environment  (sorry, I
don't have the details handy, but I can get them if desired).  It seems
like at the least, ant
could silently ignore the xxxx line and move on...

David Corbin

Re: Environment handling "bug"

Posted by Peter Donald <do...@apache.org>.
ok - if you update from CVS/nightly builds - it should be fixed ... I think ;)

At 08:03  10/5/01 -0400, David Corbin wrote:
>1.3
>
>Peter Donald wrote:
>> 
>> At 07:21  10/5/01 -0400, David Corbin wrote:
>> >e ran across a rather odd problem.  It's not a bug REALLY, but Ant
>> >could do a slightly better job of handling it.  For reasons unknown, on
>> >one particular WinME machine (the only one in use in our system - the
>> >others are Linux or Win2K), the environment looks something like this:
>> >
>> >a=b
>> >c=d
>> >xxxxxxxxxx
>> >e=f
>> >g=h
>> >i=j
>> >
>> >When ant is run on this machine we get an exception that strongly
>> >indicates it is because of this odd line in the environment  (sorry, I
>> >don't have the details handy, but I can get them if desired).  It seems
>> >like at the least, ant
>> >could silently ignore the xxxx line and move on...
>> 
>> Which version of ant is this ... IIRC I checked in a patch that *should*
>> fix this. (Namely when values of environment properties have a \n character
>> in them).
>> 
>> Cheers,
>> 
>> Pete
>> 
>> *-----------------------------------------------------*
>> | "Faced with the choice between changing one's mind, |
>> | and proving that there is no need to do so - almost |
>> | everyone gets busy on the proof."                   |
>> |              - John Kenneth Galbraith               |
>> *-----------------------------------------------------*
>
>
Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


Re: Environment handling "bug"

Posted by David Corbin <dc...@imperitek.com>.
1.3

Peter Donald wrote:
> 
> At 07:21  10/5/01 -0400, David Corbin wrote:
> >e ran across a rather odd problem.  It's not a bug REALLY, but Ant
> >could do a slightly better job of handling it.  For reasons unknown, on
> >one particular WinME machine (the only one in use in our system - the
> >others are Linux or Win2K), the environment looks something like this:
> >
> >a=b
> >c=d
> >xxxxxxxxxx
> >e=f
> >g=h
> >i=j
> >
> >When ant is run on this machine we get an exception that strongly
> >indicates it is because of this odd line in the environment  (sorry, I
> >don't have the details handy, but I can get them if desired).  It seems
> >like at the least, ant
> >could silently ignore the xxxx line and move on...
> 
> Which version of ant is this ... IIRC I checked in a patch that *should*
> fix this. (Namely when values of environment properties have a \n character
> in them).
> 
> Cheers,
> 
> Pete
> 
> *-----------------------------------------------------*
> | "Faced with the choice between changing one's mind, |
> | and proving that there is no need to do so - almost |
> | everyone gets busy on the proof."                   |
> |              - John Kenneth Galbraith               |
> *-----------------------------------------------------*

Re: Environment handling "bug"

Posted by Peter Donald <do...@apache.org>.
At 07:21  10/5/01 -0400, David Corbin wrote:
>e ran across a rather odd problem.  It's not a bug REALLY, but Ant
>could do a slightly better job of handling it.  For reasons unknown, on
>one particular WinME machine (the only one in use in our system - the
>others are Linux or Win2K), the environment looks something like this:
>
>a=b
>c=d
>xxxxxxxxxx
>e=f
>g=h
>i=j
>
>When ant is run on this machine we get an exception that strongly
>indicates it is because of this odd line in the environment  (sorry, I
>don't have the details handy, but I can get them if desired).  It seems
>like at the least, ant
>could silently ignore the xxxx line and move on...

Which version of ant is this ... IIRC I checked in a patch that *should*
fix this. (Namely when values of environment properties have a \n character
in them).

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*