tcurdt      2002/10/29 07:52:56

  Modified:    .        module.xml properties.xml
               tools/src blocks-build.xsl
  Log:
  added the precept block, marked it unstable and not active in normal build
  
  Revision  Changes    Path
  1.14      +18 -0     xml-cocoon2/module.xml
  
  Index: module.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/module.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- module.xml        28 Oct 2002 07:49:20 -0000      1.13
  +++ module.xml        29 Oct 2002 15:52:56 -0000      1.14
  @@ -288,4 +288,22 @@
       <nag from="Christian Haul &lt;[EMAIL PROTECTED]&gt;"
            to="[EMAIL PROTECTED]"/>
     </project>
  +
  +  <project name="precept-block" status="unstable">
  +    <package>org.apache.cocoon</package>
  +    
  +    <ant target="block">
  +      <property name="block-name" value="precept"/>
  +    </ant>
  +    
  +    <depend project="xml-cocoon2"/>
  +    
  +    <work nested="tools/anttasks"/>
  +    <home nested="build/cocoon"/>
  +    
  +    <jar name="precept-block.jar"/>
  +
  +    <nag from="Torsten Curdt &lt;[EMAIL PROTECTED]&gt;"
  +         to="[EMAIL PROTECTED]"/>
  +  </project>
   </module>
  
  
  
  1.10      +3 -1      xml-cocoon2/properties.xml
  
  Index: properties.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/properties.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- properties.xml    23 Oct 2002 16:56:21 -0000      1.9
  +++ properties.xml    29 Oct 2002 15:52:56 -0000      1.10
  @@ -99,7 +99,8 @@
             <password></password> <!-- Specify the password -->
           </database>
         </samples>
  -      
  +
  +      <!-- IMPORTANT: instead of set include="false" remove the attribute -->
         <blocks>
           <fop include="true"/>
           <batik include="true"/>
  @@ -112,6 +113,7 @@
           <portal-fw include="true"/>
           <databases include="true"/>
           <hsqldb include="true"/>
  +        <precept/>
         </blocks>
   
         <!-- Specify what should be included in the web application (war) file -->
  
  
  
  1.11      +8 -0      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.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- blocks-build.xsl  21 Oct 2002 16:44:41 -0000      1.10
  +++ blocks-build.xsl  29 Oct 2002 15:52:56 -0000      1.11
  @@ -230,6 +230,14 @@
            <available property="currentblock.has.sample">
                <xsl:attribute name="file">${blocks.dir}/<xsl:value-of 
select="$block-name"/>/samples/sitemap.xmap</xsl:attribute>
            </available>
  +
  +         <xsl:if test="@status='unstable'">
  +           <echo message="-----------------------------------------------"/>
  +           <echo message="ATTENTION: {$block-name} is marked unstable"/>
  +           <echo message="It should be considered being pre-alpha quality"/>
  +           <echo message="It's API might change without notice"/>
  +           <echo message="-----------------------------------------------"/>
  +         </xsl:if>
            
            <antcall target="-single-project">
               <param name="currentblock.name" value="{$block-name}" />
  
  
  

----------------------------------------------------------------------
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