From general-return-399-apmail-logging-general-archive=logging.apache.org@logging.apache.org Tue Jan 11 21:39:46 2005 Return-Path: Delivered-To: apmail-logging-general-archive@www.apache.org Received: (qmail 60676 invoked from network); 11 Jan 2005 21:39:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Jan 2005 21:39:46 -0000 Received: (qmail 62381 invoked by uid 500); 11 Jan 2005 21:39:46 -0000 Delivered-To: apmail-logging-general-archive@logging.apache.org Received: (qmail 62280 invoked by uid 500); 11 Jan 2005 21:39:45 -0000 Mailing-List: contact general-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: "Logging General" Delivered-To: mailing list general@logging.apache.org Received: (qmail 62249 invoked by uid 500); 11 Jan 2005 21:39:45 -0000 Delivered-To: apmail-logging-site-cvs@apache.org Received: (qmail 62234 invoked by uid 99); 11 Jan 2005 21:39:44 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 11 Jan 2005 13:39:44 -0800 Received: (qmail 60642 invoked by uid 1910); 11 Jan 2005 21:39:43 -0000 Date: 11 Jan 2005 21:39:43 -0000 Message-ID: <20050111213943.60641.qmail@minotaur.apache.org> From: carnold@apache.org To: logging-site-cvs@apache.org Subject: cvs commit: logging-site/docs/site logging-site.html cvs-repositories.html news.html mission-statement.html mailing-lists.html bylaws.html binindex.html bugreport.html who-we-are.html X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N carnold 2005/01/11 13:39:43 Modified: docs/site logging-site.html cvs-repositories.html news.html mission-statement.html mailing-lists.html bylaws.html binindex.html bugreport.html who-we-are.html Log: log4cxx graduation Revision Changes Path 1.13 +46 -41 logging-site/docs/site/logging-site.html Index: logging-site.html =================================================================== RCS file: /home/cvs/logging-site/docs/site/logging-site.html,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- logging-site.html 22 Nov 2004 18:18:12 -0000 1.12 +++ logging-site.html 11 Jan 2005 21:39:43 -0000 1.13 @@ -199,12 +199,12 @@ /logging-myproject/ /build.xml <-- Your Ant build.xml file /docs/ <-- This is where the generated .html - files will go. Your images and other - resources will also end up in here. - /src/xdocs/ <-- This is where your source .xml files - will go. + files, images and other + resources will go. + /src/xdocs/ <-- This is where your source .xml + files will go. /stylesheets/ <-- This is where your project.xml and - optionally, your style.vsl will go. + optional style.vsl will go. /project.xml <-- Your project.xml file. See below.

@@ -223,57 +223,62 @@ your build tool for your project, we will now list the modifications to your build file:

-

  -    
  +                                                      
  +    <property name="docs.src" value="./src/xdocs"/>
  +    <property name="docs.dest" value="./docs"/>
   
  -    
  +    <property name="logging-site" 
  +             value="your copy of logging-site dir"/>
        
  -     
  -     
  -       
  -         
  -       
  -     
  +     <!-- Construct classpath for building the html pages -->
  +     <path id="site.classpath">
  +       <fileset dir="${logging-site}/lib">
  +         <include name="*.jar"/>
  +       </fileset>
  +     </path>
   
  -    
  -    
  -    
  +    <!-- ============================ -->
  +    <!-- ======= New targets ======== -->
  +    <!-- ============================ -->
   
  -    
  -      
  -    	
  -      
  -    
  +    <target name="prepareSite">
  +      <available 
  +         classname="org.apache.velocity.anakia.AnakiaTask"
  +    	property="AnakiaTask.present">
  +    	<classpath refid="site.classpath"/>
  +      </available>
  +    </target>
       
  -    
  -      
  +    <target name="checkSite" depends="prepareSite" 
  +         unless="AnakiaTask.present">
  +      <echo>
       	AnakiaTask is not present! Please check to make sure that
       	velocity.jar is in your classpath.
  -      
  -    
  +      </echo>
  +    </target>
       
  -    
  -      
  -    	
  -      
  +    <target name="site" depends="checkSite" 
  +         if="AnakiaTask.present">
  +      <taskdef name="anakia" 
  +         classname="org.apache.velocity.anakia.AnakiaTask">
  +    	<classpath refid="site.classpath"/>
  +      </taskdef>
       
  -        
  -      
  +      <mkdir dir="${docs.dest}/css"/>  
  +      <copy file="${logging-site}/docs/css/site.css" 
  +           tofile="${docs.dest}/css/site.css"/>
         
  -      
  -          
  -    
  -]]>
+ templatePath="${logging-site}/src/xdocs/stylesheets"> + </anakia> + </target> +

Constructing your documentation

Now, in order to build your website, all you need to do is:

cd logging-myproject
  @@ -365,7 +370,7 @@
                
                   
                 
- Copyright © 1999-2004, Apache Software Foundation + Copyright © 1999-2005, Apache Software Foundation
1.14 +3 -3 logging-site/docs/site/cvs-repositories.html Index: cvs-repositories.html =================================================================== RCS file: /home/cvs/logging-site/docs/site/cvs-repositories.html,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- cvs-repositories.html 22 Nov 2004 18:18:12 -0000 1.13 +++ cvs-repositories.html 11 Jan 2005 21:39:43 -0000 1.14 @@ -84,11 +84,11 @@ logging-log4j-sandbox
  • logging-site
  • +
  • +logging-log4cxx
  • Modules for the Incubated Projects

      -
    • -logging-log4cxx
    • logging-log4net
    • logging-log4php
    • @@ -109,7 +109,7 @@
      - Copyright © 1999-2004, Apache Software Foundation + Copyright © 1999-2005, Apache Software Foundation
      1.22 +7 -2 logging-site/docs/site/news.html Index: news.html =================================================================== RCS file: /home/cvs/logging-site/docs/site/news.html,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- news.html 22 Nov 2004 18:18:12 -0000 1.21 +++ news.html 11 Jan 2005 21:39:43 -0000 1.22 @@ -48,7 +48,12 @@

      News & Status

      -

      22nd of January 2004 - Logging Services PMC has voted for the +

      11 January 2005 - log4cxx graduates from the incubator

      +

      The Incubator PMC has voted to graduate log4cxx. log4cxx is + now a subproject of the Apache Logging Services Project. +

      +
      +

      22nd of January 2004 - Logging Services PMC has voted for the adoption of log4cxx, log4net and log4php

      The Logging Services PMC has voted for the incubation of the log4cxx, log4net and log4php projects. These votes pave the vote for @@ -82,7 +87,7 @@

      - Copyright © 1999-2004, Apache Software Foundation + Copyright © 1999-2005, Apache Software Foundation
      1.17 +1 -1 logging-site/docs/site/mission-statement.html Index: mission-statement.html =================================================================== RCS file: /home/cvs/logging-site/docs/site/mission-statement.html,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- mission-statement.html 22 Nov 2004 18:18:12 -0000 1.16 +++ mission-statement.html 11 Jan 2005 21:39:43 -0000 1.17 @@ -128,7 +128,7 @@
      - Copyright © 1999-2004, Apache Software Foundation + Copyright © 1999-2005, Apache Software Foundation
      1.22 +1 -1 logging-site/docs/site/mailing-lists.html Index: mailing-lists.html =================================================================== RCS file: /home/cvs/logging-site/docs/site/mailing-lists.html,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- mailing-lists.html 23 Nov 2004 11:01:23 -0000 1.21 +++ mailing-lists.html 11 Jan 2005 21:39:43 -0000 1.22 @@ -198,7 +198,7 @@
      - Copyright © 1999-2004, Apache Software Foundation + Copyright © 1999-2005, Apache Software Foundation
      1.19 +1 -1 logging-site/docs/site/bylaws.html Index: bylaws.html =================================================================== RCS file: /home/cvs/logging-site/docs/site/bylaws.html,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- bylaws.html 22 Nov 2004 18:18:12 -0000 1.18 +++ bylaws.html 11 Jan 2005 21:39:43 -0000 1.19 @@ -411,7 +411,7 @@
      - Copyright © 1999-2004, Apache Software Foundation + Copyright © 1999-2005, Apache Software Foundation
      1.20 +1 -1 logging-site/docs/site/binindex.html Index: binindex.html =================================================================== RCS file: /home/cvs/logging-site/docs/site/binindex.html,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- binindex.html 25 Nov 2004 19:30:22 -0000 1.19 +++ binindex.html 11 Jan 2005 21:39:43 -0000 1.20 @@ -125,7 +125,7 @@
      - Copyright © 1999-2004, Apache Software Foundation + Copyright © 1999-2005, Apache Software Foundation
      1.20 +1 -1 logging-site/docs/site/bugreport.html Index: bugreport.html =================================================================== RCS file: /home/cvs/logging-site/docs/site/bugreport.html,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- bugreport.html 23 Nov 2004 11:01:23 -0000 1.19 +++ bugreport.html 11 Jan 2005 21:39:43 -0000 1.20 @@ -170,7 +170,7 @@
      - Copyright © 1999-2004, Apache Software Foundation + Copyright © 1999-2005, Apache Software Foundation
      1.21 +1 -1 logging-site/docs/site/who-we-are.html Index: who-we-are.html =================================================================== RCS file: /home/cvs/logging-site/docs/site/who-we-are.html,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- who-we-are.html 8 Dec 2004 18:04:38 -0000 1.20 +++ who-we-are.html 11 Jan 2005 21:39:43 -0000 1.21 @@ -236,7 +236,7 @@
      - Copyright © 1999-2004, Apache Software Foundation + Copyright © 1999-2005, Apache Software Foundation