You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by bo...@apache.org on 2003/12/11 12:39:49 UTC

cvs commit: jakarta-gump/stylesheet bash.xsl win2k.xsl

bodewig     2003/12/11 03:39:49

  Modified:    stylesheet bash.xsl win2k.xsl
  Log:
  Deal with properties whose names or values contain spaces
  
  Revision  Changes    Path
  1.89      +4 -2      jakarta-gump/stylesheet/bash.xsl
  
  Index: bash.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/stylesheet/bash.xsl,v
  retrieving revision 1.88
  retrieving revision 1.89
  diff -u -r1.88 -r1.89
  --- bash.xsl	9 Dec 2003 13:46:02 -0000	1.88
  +++ bash.xsl	11 Dec 2003 11:39:49 -0000	1.89
  @@ -447,7 +447,7 @@
       </xsl:for-each>
   
       <xsl:for-each select="sysproperty">
  -      <xsl:text> -D</xsl:text>
  +      <xsl:text> '-D</xsl:text>
         <xsl:value-of select="@name"/>
         <xsl:text>=</xsl:text>
         <xsl:choose>
  @@ -458,6 +458,7 @@
           </xsl:when>
           <xsl:otherwise><xsl:value-of select="@value"/></xsl:otherwise>
         </xsl:choose>
  +      <xsl:text>'</xsl:text>
       </xsl:for-each>
   
       <xsl:text> </xsl:text><xsl:value-of select="$ant-cmd"/>
  @@ -468,7 +469,7 @@
       </xsl:if>
   
       <xsl:for-each select="property">
  -      <xsl:text> -D</xsl:text>
  +      <xsl:text> '-D</xsl:text>
         <xsl:value-of select="@name"/>
         <xsl:text>=</xsl:text>
         <xsl:choose>
  @@ -479,6 +480,7 @@
           </xsl:when>
           <xsl:otherwise><xsl:value-of select="@value"/></xsl:otherwise>
         </xsl:choose>
  +      <xsl:text>'</xsl:text>
       </xsl:for-each>
   
       <xsl:choose>
  
  
  
  1.51      +4 -2      jakarta-gump/stylesheet/win2k.xsl
  
  Index: win2k.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/stylesheet/win2k.xsl,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- win2k.xsl	9 Dec 2003 13:46:02 -0000	1.50
  +++ win2k.xsl	11 Dec 2003 11:39:49 -0000	1.51
  @@ -392,7 +392,7 @@
       </xsl:for-each>
   
       <xsl:for-each select="sysproperty">
  -      <xsl:text> -D</xsl:text>
  +      <xsl:text> "-D</xsl:text>
         <xsl:value-of select="@name"/>
         <xsl:text>=</xsl:text>
         <xsl:choose>
  @@ -403,6 +403,7 @@
             <xsl:value-of select="@value"/>
           </xsl:otherwise>
         </xsl:choose>
  +      <xsl:text>"</xsl:text>
       </xsl:for-each>
   
       <xsl:text> Launcher </xsl:text><xsl:value-of select="translate(../initdir/@dir,'/','\')"/><xsl:text>\cp.properties org.apache.tools.ant.Main</xsl:text>
  @@ -413,7 +414,7 @@
       </xsl:if>
   
       <xsl:for-each select="property">
  -      <xsl:text> -D</xsl:text>
  +      <xsl:text> "-D</xsl:text>
         <xsl:value-of select="@name"/>
         <xsl:text>=</xsl:text>
         <xsl:choose>
  @@ -424,6 +425,7 @@
             <xsl:value-of select="@value"/>
           </xsl:otherwise>
         </xsl:choose>
  +      <xsl:text>"</xsl:text>
       </xsl:for-each>
   
       <xsl:choose>