http://nagoya.apache.org/bugzilla/show_bug.cgi?id=848
*** shadow/848 Mon Mar 5 13:17:12 2001
--- shadow/848.tmp.8406 Mon Mar 5 13:17:12 2001
***************
*** 0 ****
--- 1,34 ----
+ +============================================================================+
+ | <exec>'s <env> does not set environment variables correctly. |
+ +----------------------------------------------------------------------------+
+ | Bug #: 848 Product: Ant |
+ | Status: NEW Version: 1.3 |
+ | Resolution: Platform: PC |
+ | Severity: Normal OS/Version: Windows NT/2K |
+ | Priority: Component: Core tasks |
+ +----------------------------------------------------------------------------+
+ | Assigned To: [EMAIL PROTECTED] |
+ | Reported By: [EMAIL PROTECTED] |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ If the variable name's case was correct the variable is deleted, otherwise no
+ variables is set.
+
+ Example (for NT):
+ <project name="test" default="main" basedir=".">
+ <target name="main">
+ <exec dir="." executable="cmd" failonerror="yes">
+ <arg value="/c"/>
+ <arg value="set"/>
+ <env key="Path" path="${java.library.path};path/to/bin"/>
+ <env key="JAVA_HOME" path="${java.home}/.."/>
+ </exec>
+ </target>
+ </project>
+
+ =============
+ both 'Path' and 'JAVA_HOME' variables are not present in the output. If path
+ variable is written as 'PATH' - Path variable is not changed.