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/09/10 15:27:42 UTC

[DO NOT REPLY: Bug 3520] New: environment variables with linefeeds not processed

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=3520

*** shadow/3520	Mon Sep 10 06:27:42 2001
--- shadow/3520.tmp.6861	Mon Sep 10 06:27:42 2001
***************
*** 0 ****
--- 1,31 ----
+ +============================================================================+
+ | environment variables with linefeeds not processed                         |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3520                        Product: Ant                     |
+ |       Status: NEW                         Version: 1.3                     |
+ |   Resolution:                            Platform: Sun                     |
+ |     Severity: Normal                   OS/Version: Other                   |
+ |     Priority: Other                     Component: Core                    |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: jbetancourt@contextmedia.com                                 |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ In cgi script use, an environment variable had linefeeds.
+ The var was accessed via:
+   <!-- ===================================================================== -->
+   <!-- COPY PREFERENCE FILES                                                 -->
+   <!-- ===================================================================== -->
+   <target name="copy_preferences" depends="init">
+     <echo>Copying preference files to [${myenv.interchange_conf}]</echo>
+     
+     <property name="interchange_conf"  environment="myenv"/>
+     
+     <copy todir="${myenv.interchange_conf}">
+        <fileset dir="conf" includes="*.xml,*.dtd"/>
+     </copy>    
+   
+   </target>