ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 735] - arg tag removes valid quotes from line parameters
Date Tue, 12 Jun 2001 09:52:35 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=735

*** shadow/735	Sun May 20 17:21:56 2001
--- shadow/735.tmp.4059	Tue Jun 12 02:52:35 2001
***************
*** 1,19 ****
! Bug#: 735
! Product: Ant
! Version: 1.3
! Platform: Macintosh
! OS/Version: MacOS X
! Status: NEW   
! Resolution: 
! Severity: Normal
! Priority: High
! Component: Core tasks
! AssignedTo: ant-dev@jakarta.apache.org                            
! ReportedBy: cholmes@4d.com               
! URL: 
! Cc: 
! Summary: arg tag removes valid quotes from line parameters
! 
  If I have a parameter I want to use as part of an apply/exec/execon task and it contains
quotes, I have to pass it as a value, not as part of a line.  If I pass it as part of a line,
then the quotes get stripped.  In practice, this is a problem because we're compiling with
GCC and we have rather extensive properties defined with data like:
  
     -DVERSION_STRING="1.0.0" -DBUILD_STRING="51"
--- 1,19 ----
! +============================================================================+
! | arg tag removes valid quotes from line parameters                          |
! +----------------------------------------------------------------------------+
! |        Bug #: 735                         Product: Ant                     |
! |       Status: ASSIGNED                    Version: 1.3                     |
! |   Resolution:                            Platform: Macintosh               |
! |     Severity: Normal                   OS/Version: MacOS X                 |
! |     Priority: High                      Component: Core tasks              |
! +----------------------------------------------------------------------------+
! |  Assigned To: ant-dev@jakarta.apache.org                                   |
! |  Reported By: cholmes@4d.com                                               |
! |      CC list: Cc:                                                          |
! +----------------------------------------------------------------------------+
! |          URL:                                                              |
! +============================================================================+
! |                              DESCRIPTION                                   |
  If I have a parameter I want to use as part of an apply/exec/execon task and it contains
quotes, I have to pass it as a value, not as part of a line.  If I pass it as part of a line,
then the quotes get stripped.  In practice, this is a problem because we're compiling with
GCC and we have rather extensive properties defined with data like:
  
     -DVERSION_STRING="1.0.0" -DBUILD_STRING="51"

Mime
View raw message