cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: cocoon-2.1/tools/src blocks-build.xsl
Date Tue, 04 May 2004 07:14:09 GMT
cziegeler    2004/05/04 00:14:09

  Modified:    tools/src/anttasks SitemapTask.java
               tools/src blocks-build.xsl
  Log:
  Disabling doc generation for blocks
  
  Revision  Changes    Path
  1.13      +2 -2      cocoon-2.1/tools/src/anttasks/SitemapTask.java
  
  Index: SitemapTask.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/tools/src/anttasks/SitemapTask.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- SitemapTask.java	3 May 2004 14:23:56 -0000	1.12
  +++ SitemapTask.java	4 May 2004 07:14:08 -0000	1.13
  @@ -634,7 +634,7 @@
               } else if ( clazz.isA(PIPELINE) ) {
                   return "pipe";
               } else {
  -                throw new BuildException("Sitemap component " + clazz.getName() + " does
not implement a sitemap component interface.");
  +                throw new BuildException("Sitemap component " + clazz.getFullyQualifiedName()
+ " does not implement a sitemap component interface.");
               }            
           }
           
  
  
  
  1.67      +7 -6      cocoon-2.1/tools/src/blocks-build.xsl
  
  Index: blocks-build.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/tools/src/blocks-build.xsl,v
  retrieving revision 1.66
  retrieving revision 1.67
  diff -u -r1.66 -r1.67
  --- blocks-build.xsl	3 May 2004 14:07:12 -0000	1.66
  +++ blocks-build.xsl	4 May 2004 07:14:08 -0000	1.67
  @@ -413,7 +413,7 @@
         <xpatch file="${{build.webapp}}/WEB-INF/web.xml" srcdir="${{blocks}}">
           <include name="{$block-name}/conf/*.xweb"/>
         </xpatch>
  -      <!-- generate sitemap entries -->
  +      <!-- generate sitemap entries 
         <sitemap-components sitemap="${{build.webapp}}/sitemap.xmap" 
                             source="${{blocks}}/{$block-name}/java"
                             block="{$block-name}">
  @@ -424,11 +424,12 @@
             <xsl:attribute name="deprecated">true</xsl:attribute>
           </xsl:if>
         </sitemap-components>
  -
  -      <!-- TODO - this is the wrong place for documentation, but currently blocks
  -           don't have own docs! -->
  -      <mkdir dir="${{build.context}}/xdocs/userdocs"/>
  +      -->
  +      
         <!-- generate sitemap components docs -->
  +      <!-- TODO - this is the wrong place for documentation, but currently blocks
  +           don't have own docs!
  +        <mkdir dir="${{build.context}}/xdocs/userdocs"/>
         <sitemap-components docDir="${{build.context}}/xdocs/userdocs" 
                             source="${{blocks}}/{$block-name}/java"
                             block="{$block-name}">
  @@ -439,7 +440,7 @@
             <xsl:attribute name="deprecated">true</xsl:attribute>
           </xsl:if>
         </sitemap-components>
  -
  +      -->
       </target>
                                                                                         
                                                                                        
       <target name="{@name}-roles" unless="internal.exclude.block.{$block-name}">
  
  
  

Mime
View raw message