ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [DO NOT REPLY: Bug 3390] depends list, trailing ","
Date Mon, 03 Sep 2001 20:20:29 GMT
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=3390

*** shadow/3390	Mon Sep  3 12:59:35 2001
--- shadow/3390.tmp.18011	Mon Sep  3 13:20:29 2001
***************
*** 2,9 ****
  | depends list, trailing ","                                                 |
  +----------------------------------------------------------------------------+
  |        Bug #: 3390                        Product: Ant                     |
! |       Status: NEW                         Version: 1.4                     |
! |   Resolution:                            Platform: PC                      |
  |     Severity: Enhancement              OS/Version: Linux                   |
  |     Priority: Other                     Component: Core                    |
  +----------------------------------------------------------------------------+
--- 2,9 ----
  | depends list, trailing ","                                                 |
  +----------------------------------------------------------------------------+
  |        Bug #: 3390                        Product: Ant                     |
! |       Status: RESOLVED                    Version: 1.4                     |
! |   Resolution: FIXED                      Platform: PC                      |
  |     Severity: Enhancement              OS/Version: Linux                   |
  |     Priority: Other                     Component: Core                    |
  +----------------------------------------------------------------------------+
***************
*** 24,27 ****
  
  Couldn't ant just ignore whitespace targets and/or the trailing "," ?
  [alternatively specifying dependencies with multiple nested <depend> elements
! would be great]
--- 24,45 ----
  
  Couldn't ant just ignore whitespace targets and/or the trailing "," ?
  [alternatively specifying dependencies with multiple nested <depend> elements
! would be great]
! 
! ------- Additional Comments From sbailliez@apache.org  2001-09-03 13:20 -------
! Why don't you just change your XSL to generate the "correct" list ?
! I don't think that leaving a trailing "," can be seen as correct... If it is 
! a 'separator' it is supposed to separate, right ? :)
! 
! <dependencies>
!   <dependency>target1</dependency>
!   <dependency>target2</dependency>
! </dependencies>
! 
! <xsl:for-each select="dependencies/dependency">
!   <xsl:value-of select="."/><xsl:if test="position() != last()">,</xsl:if>
! </xsl:for-each>
! 
! Output:
! target1,target2
! 

Mime
View raw message