nicolaken    2002/12/18 16:22:29

  Modified:    tools/src blocks-build.xsl
  Log:
  Fix the build so now it uses samples and mock objects again.
  
  Revision  Changes    Path
  1.14      +2 -2      xml-cocoon2/tools/src/blocks-build.xsl
  
  Index: blocks-build.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/tools/src/blocks-build.xsl,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- blocks-build.xsl  18 Dec 2002 20:05:48 -0000      1.13
  +++ blocks-build.xsl  19 Dec 2002 00:22:29 -0000      1.14
  @@ -301,12 +301,12 @@
            </xsl:if>
   
            <!-- Test if this block has a sample -->
  -         <available property="{$block-name}.has.sample">
  +         <available property="{@name}.has.sample">
                <xsl:attribute name="file">${blocks.dir}/<xsl:value-of 
select="$block-name"/>/samples/sitemap.xmap</xsl:attribute>
            </available>
   
            <!-- Test if this block has a sample -->
  -         <available property="{$block-name}.has.mocks" type="dir">
  +         <available property="{@name}.has.mocks" type="dir">
                <xsl:attribute name="file">${blocks.dir}/<xsl:value-of 
select="$block-name"/>/mocks/</xsl:attribute>
            </available>
            
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to