You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2003/05/06 13:42:26 UTC

cvs commit: xml-fop/src/codegen enumgen.xsl properties.xsl

jeremias    2003/05/06 04:42:25

  Modified:    src/codegen Tag: fop-0_20_2-maintain enumgen.xsl
                        properties.xsl
  Log:
  Added a parameter for specifying a relative path for redirected output. Needed to put the *ignore_this* files in a different place.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.4.2.3   +3 -2      xml-fop/src/codegen/enumgen.xsl
  
  Index: enumgen.xsl
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/codegen/enumgen.xsl,v
  retrieving revision 1.4.2.2
  retrieving revision 1.4.2.3
  diff -u -r1.4.2.2 -r1.4.2.3
  --- enumgen.xsl	25 Feb 2003 15:44:46 -0000	1.4.2.2
  +++ enumgen.xsl	6 May 2003 11:42:25 -0000	1.4.2.3
  @@ -57,6 +57,7 @@
   <xsl:include href="./propinc.xsl"/>
   
   <xsl:output method="text" />
  +<xsl:param name="reldir" select="'.'"/>
   
   <!-- zap text content -->
   <xsl:template match="text()"/>
  @@ -82,7 +83,7 @@
      </xsl:variable>
   
      <xsl:if test="$bEnum='true' or contains($bSubpropEnum, 'true')">
  -      <redirect:write select="concat('./', $classname, '.java')">
  +      <redirect:write select="concat('./', $reldir, '/', $classname, '.java')">
   package org.apache.fop.fo.properties;
   
   <!-- Handle enumeration values -->
  
  
  
  1.13.2.3  +3 -2      xml-fop/src/codegen/properties.xsl
  
  Index: properties.xsl
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/codegen/properties.xsl,v
  retrieving revision 1.13.2.2
  retrieving revision 1.13.2.3
  diff -u -r1.13.2.2 -r1.13.2.3
  --- properties.xsl	25 Feb 2003 15:44:46 -0000	1.13.2.2
  +++ properties.xsl	6 May 2003 11:42:25 -0000	1.13.2.3
  @@ -57,6 +57,7 @@
   <xsl:include href="./propinc.xsl"/>
   
   <xsl:output method="text" />
  +<xsl:param name="reldir" select="'.'"/>
   
   <xsl:template match="extfile">
   <!--<xsl:message>Do <xsl:value-of select="@href"/></xsl:message>-->
  @@ -254,7 +255,7 @@
     <xsl:text> implements </xsl:text><xsl:value-of select="$eclassname"/></xsl:if>
   </xsl:variable>
   
  -<redirect:write select="concat('./', $classname, '.java')">
  +<redirect:write select="concat('./', $reldir, '/', $classname, '.java')">
   package org.apache.fop.fo.properties;
   
   import java.util.Hashtable;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org