http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1480
*** shadow/1480 Tue Apr 24 09:23:25 2001
--- shadow/1480.tmp.16664 Tue Apr 24 10:36:45 2001
***************
*** 2,11 ****
| Bad Environment kills ant |
+----------------------------------------------------------------------------+
| Bug #: 1480 Product: Ant |
! | Status: NEW Version: 1.3 |
! | Resolution: Platform: PC |
! | Severity: Normal OS/Version: |
! | Priority: Component: Core tasks |
+----------------------------------------------------------------------------+
| Assigned To: [EMAIL PROTECTED] |
| Reported By: [EMAIL PROTECTED] |
--- 2,11 ----
| Bad Environment kills ant |
+----------------------------------------------------------------------------+
| Bug #: 1480 Product: Ant |
! | Status: RESOLVED Version: 1.3 |
! | Resolution: INVALID Platform: PC |
! | Severity: Normal OS/Version: All |
! | Priority: High Component: Core tasks |
+----------------------------------------------------------------------------+
| Assigned To: [EMAIL PROTECTED] |
| Reported By: [EMAIL PROTECTED] |
***************
*** 44,48 ****
if (pos > 0) {
props.put(prefix + entry.substring(0, pos),
entry.substring(pos + 1));
}
! }
--- 44,62 ----
if (pos > 0) {
props.put(prefix + entry.substring(0, pos),
entry.substring(pos + 1));
+ }
+ }
+
+ ------- Additional Comments From [EMAIL PROTECTED] 2001-04-24 10:36 -------
+ Already fixed in CVS - current code reads:
+
+ for (Enumeration e = osEnv.elements(); e.hasMoreElements(); ) {
+ String entry = (String)e.nextElement();
+ int pos = entry.indexOf('=');
+ if (pos == -1) {
+ log("Ignoring: " + entry, Project.MSG_WARN);
+ } else {
+ props.put(prefix + entry.substring(0, pos),
+ entry.substring(pos + 1));
}
! }