logging-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject cvs commit: logging-site/src/xdocs/stylesheets project.xml
Date Sat, 20 Dec 2003 18:43:53 GMT
ceki        2003/12/20 10:43:53

  Added:       .        build.properties build.xml
               src/xdocs index.xml
               src/xdocs/stylesheets project.xml
  Really basic site for Logging Services
  Obtained from:
  Submitted by:	
  Reviewed by:	
  Revision  Changes    Path
  1.1                  logging-site/build.properties
  Index: build.properties
  # jakarta-site2 module is used to transform xml files to html using
  # Anakia. You do not need to worry about this property unless you
  # intend to build the Logging Services web site yourself.
  1.1                  logging-site/build.xml
  Index: build.xml
  <!-- This file is an ANT build script. ANT is a Java based build tool. -->
  <!-- It is availale from http://jakarta.apache.org/ant/                -->
  <project name="logging-site" default="site" basedir="." >
    <!-- The build.properties file defines the parth to local jar files -->
    <property file="build.properties"/>
    <!-- The base directory relative to which most targets are built -->
    <property name="base" value="."/>
    <!-- Destination for documentation files -->
    <property name="docs.dest" value="./docs"/>
    <!-- Source directory for xml docs -->
    <property name="xdocs.src" value="./src/xdocs"/>
    <!-- Construct classpath for building the html pages-->
    <path id="site.classpath">
      <fileset dir="${jakarta-site2}/lib">
        <include name="*.jar"/>
    <!-- ================================================================= -->
    <!-- Default target                                                    -->
    <!-- ================================================================= -->
    <target name="usage">
      These are the targets supported by this ANT build scpript:
      site     - build Logging Services web-site
    <!-- ============================================== -->
    <!-- Build the site files using Anakia              -->
    <!-- ============================================== -->
    <target name="prepareSite">
      <available classname="org.apache.velocity.anakia.AnakiaTask"
        <classpath refid="site.classpath"/>
    <target name="checkSite" depends="prepareSite" unless="AnakiaTask.present">
        AnakiaTask is not present! Please check to make sure that
        velocity.jar is in your classpath.
    <target name="site" depends="checkSite" if="AnakiaTask.present">
      <taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask">
        <classpath refid="site.classpath"/>
      <anakia basedir="${xdocs.src}" destdir="${docs.dest}/"
  1.1                  logging-site/src/xdocs/index.xml
  Index: index.xml
  <?xml version="1.0"?>
      <author email="ceki at apache.org">Ceki Gulcu</author>
    <meta name="keywords" content="java, logging, tracing, component, framework, API, log4j"/>
      <section name="Introduction">
        <p>Inserting log statements into your code is a low-tech method
  	for debugging it.  It may also be the only way because
  	debuggers are not always available or applicable.  This is
  	often the case for distributed applications.</p>
  1.1                  logging-site/src/xdocs/stylesheets/project.xml
  Index: project.xml
  <?xml version="1.0" encoding="UTF-8"?>
  <project name="Logging Services"
    <title>Logging Services</title>
    <logo href="images/logo.jpg">Apache Logging Services</logo>
      <menu name="Logging Services Project">
        <item name="Introduction"   href="/index.html"/>

View raw message