On 11/7/10 1:16 AM, Stefan Bodewig wrote:
> The only thing I'd like to address is the case of environment variables
> on Windows where we now (after using System.getEnv()) get some
> additional env variables with keys that contain "=" - this may cause
> problems further down when we try to parse the variables stored away
> earlier.
Can we use the fact that these special env vars (like =C:=...) have the
equal sign as first char in the keyvalue string ?

So we could split key and value

- after the first equal sign when this equal sign is not the first char
in the keyvalue pair,
- after the second equal sign for the special environment variables

This sounds more natural than replacing the first equal sign with an
exclamation mark.

Can this work or am I missing something ?

Regards,

Antoine

see https://issues.apache.org/bugzilla/show_bug.cgi?id=49366

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to