You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2006/11/17 16:13:43 UTC
DO NOT REPLY [Bug 40992] - ENV property of EXEC task must support case insensitive variable names on Windows, either by default or via an extra attribute
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40992>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40992
stevel@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
------- Additional Comments From stevel@apache.org 2006-11-17 07:13 -------
This may seem a silly question, but where in the Win32 API does it say that env
variables are case insenstive.
It isnt in 'environement variables':
http://msdn2.microsoft.com/en-us/library/ms682653.aspx
it isnt in ::SetEnvironmentVariable
http://msdn2.microsoft.com/en-us/library/ms686206.aspx
and it isnt in ::GetEnvironmentVariable
http://msdn2.microsoft.com/en-us/library/ms683188.aspx
Now, I can see that echo %PATH% is doing a case insensitive lookup, but unless
some can show that ::SetEnvironmentVariable and ::GetEnvironmentVariable does
case sensitive matching, we are left in a bit of a mess. We cannot be sure that
the whole of windows is doing case insensitive matching.
Why not set newenvironment=true in <exec> and have the old settings lost. You
need to set up everything (including maybe PATH), but you wont get hurt by any
existing values?
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org