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 2001/07/30 14:03:05 UTC

[Bug 2884] New: - Environment section of property task fails

PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2884

*** shadow/2884	Mon Jul 30 05:03:05 2001
--- shadow/2884.tmp.22225	Mon Jul 30 05:03:05 2001
***************
*** 0 ****
--- 1,22 ----
+ +============================================================================+
+ | Environment section of property task fails                                 |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2884                        Product: Ant                     |
+ |       Status: NEW                         Version: 1.3                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: Windows NT/2K           |
+ |     Priority: Other                     Component: Core tasks              |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: juergens@micram.de                                           |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ On Windows 2K using Cygwin the environment section of property task fails, if 
+ the output of the env command retrieves the variable $PS1. The default value of 
+ the variable $PS1 contains a linefeed, so the method loadEnvironment in 
+ Property.java fails with an IndexOutOfBoundsException.
+ The cause of the failure is the wrong output of env. The failure may be mapped 
+ to a warning.