avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamm...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/zip build.xml project.properties
Date Thu, 04 Apr 2002 15:12:51 GMT
hammant     02/04/04 07:12:51

  Modified:    altrmi   build.xml
               baxter   build.xml project.properties
               .        build.xml
               bzip2    build.xml project.properties
               cache    build.xml project.properties
               cli      build.xml project.properties
               collections project.properties
               collections/src/xdocs book.xml
               command  build.xml project.properties
               component build.xml project.properties
               concurrent build.xml project.properties
               event    build.xml project.properties
               extension build.xml project.properties
               fortress project.properties
               i18n     build.xml project.properties
               instrument-client build.xml project.properties
               instrument-manager build.xml project.properties
               instrument build.xml project.properties
               io       build.xml project.properties
               lang     build.xml project.properties
               logger   build.xml project.properties
               naming   build.xml project.properties
               pool     build.xml project.properties
               tar      build.xml project.properties
               template-product build.xml project.properties
               testcase build.xml project.properties
               thread   build.xml project.properties
               util     build.xml project.properties
               zip      build.xml project.properties
  Log:
  start of xdocs for all sub projects
  
  Revision  Changes    Path
  1.5       +5 -5      jakarta-avalon-excalibur/altrmi/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/build.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.xml	4 Apr 2002 05:27:44 -0000	1.4
  +++ build.xml	4 Apr 2002 15:12:48 -0000	1.5
  @@ -335,8 +335,8 @@
       
       <!-- Setup the filters -->
       <target name="setup-filters">
  -      <filter token="Name" value="Avalon Excalibur - AltRMI"/>
  -      <filter token="name" value="altrmi"/>
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
         <filter token="version" value="${version}"/>
         <filter token="year" value="${year}"/>
         <filter token="status" value="${status}"/>
  @@ -395,7 +395,7 @@
           <arg value="-w${build.dir}/work"/>
           <arg value="-l${build.dir}/work/cocoon.log"/>
           <arg value="-uINFO"/>
  -        <arg value="-f${xdocs.dir}/altrmi.uris"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
           <classpath>
             <path refid="tools.class.path"/>
             <fileset dir="${tools.dir}/ext"/>
  @@ -412,8 +412,8 @@
       
       <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
     
  -      <mkdir dir="../site/docs/altrmi"/>     
  -      <copy todir="../site/docs/altrmi">
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
           <fileset dir="docs">
             <include name="**"/>
           </fileset>
  
  
  
  1.8       +105 -0    jakarta-avalon-excalibur/baxter/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/baxter/build.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- build.xml	31 Mar 2002 08:36:44 -0000	1.7
  +++ build.xml	4 Apr 2002 15:12:48 -0000	1.8
  @@ -34,6 +34,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -55,6 +65,13 @@
           <pathelement location="${jmx.jar}"/>
           <pathelement location="${checkstyle.jar}"/>
       </path>
  +    
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>    
   
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
  @@ -293,6 +310,94 @@
           <copy file="README.txt" todir="${dist.dir}"/>
   
       </target>
  +    
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
  +    </target>        
   
       <!-- Cleans up build and distribution directories -->
       <target name="clean" description="Cleans up the project">
  
  
  
  1.3       +1 -0      jakarta-avalon-excalibur/baxter/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/baxter/project.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- project.properties	31 Mar 2002 07:03:33 -0000	1.2
  +++ project.properties	4 Apr 2002 15:12:48 -0000	1.3
  @@ -1,4 +1,5 @@
   name=excalibur-baxter
   Name=Excalibur Baxter
  +dir-name=baxter
   version=1.0a
   year=2000-2002
  
  
  
  1.134     +9 -9      jakarta-avalon-excalibur/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/build.xml,v
  retrieving revision 1.133
  retrieving revision 1.134
  diff -u -r1.133 -r1.134
  --- build.xml	4 Apr 2002 08:44:58 -0000	1.133
  +++ build.xml	4 Apr 2002 15:12:48 -0000	1.134
  @@ -183,19 +183,19 @@
        <!--   <ant dir="concurrent" target="docs"/>  -->
           <ant dir="collections" target="docs"/> 
        <!--   <ant dir="altrmi" target="docs"/> -->
  -        <ant dir="all" target="docs"/>                <!-- depends on instrument -->
  -        <ant dir="instrument-manager" target="docs"/> <!-- depends on instrument, all -->
  +     <!--   <ant dir="all" target="docs"/> -->               <!-- depends on instrument -->
  +     <!--   <ant dir="instrument-manager" target="docs"/>  --> <!-- depends on instrument, all -->
           <!--ant dir="instrument-client" target="docs"/-->  <!-- depends on instrument-manager -->
           <ant dir="baxter" target="docs"/>
           <ant dir="bzip2" target="docs"/>
  -        <ant dir="cache" target="docs"/>
  +      <!--  <ant dir="cache" target="docs"/> -->
           <ant dir="cli" target="docs"/>
  -        <ant dir="extension" target="docs"/>
  -        <ant dir="i18n" target="docs"/>
  -        <ant dir="io" target="docs"/>
  -        <ant dir="naming" target="docs"/>
  -        <ant dir="tar" target="docs"/>
  -        <ant dir="zip" target="docs"/>
  +      <!--  <ant dir="extension" target="docs"/> -->
  +      <!--  <ant dir="i18n" target="docs"/> -->
  +      <!--  <ant dir="io" target="docs"/> -->
  +      <!--  <ant dir="naming" target="docs"/> -->
  +      <!--  <ant dir="tar" target="docs"/> -->
  +      <!--  <ant dir="zip" target="docs"/> -->
   
       </target>
   
  
  
  
  1.8       +105 -0    jakarta-avalon-excalibur/bzip2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/bzip2/build.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- build.xml	31 Mar 2002 08:36:44 -0000	1.7
  +++ build.xml	4 Apr 2002 15:12:48 -0000	1.8
  @@ -34,6 +34,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -55,6 +65,13 @@
           <pathelement location="${checkstyle.jar}"/>
       </path>
   
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>
  +
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  @@ -291,6 +308,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.3       +1 -0      jakarta-avalon-excalibur/bzip2/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/bzip2/project.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- project.properties	31 Mar 2002 07:03:33 -0000	1.2
  +++ project.properties	4 Apr 2002 15:12:48 -0000	1.3
  @@ -1,4 +1,5 @@
   name=excalibur-bzip2
   Name=Excalibur BZip2
  +dir-name=bzip2
   version=1.0a
   year=2000-2002
  
  
  
  1.17      +105 -0    jakarta-avalon-excalibur/cache/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/cache/build.xml,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- build.xml	31 Mar 2002 08:36:44 -0000	1.16
  +++ build.xml	4 Apr 2002 15:12:48 -0000	1.17
  @@ -38,6 +38,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -60,6 +70,13 @@
           <pathelement location="${checkstyle.jar}"/>
       </path>
   
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>
  +
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  @@ -296,6 +313,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.6       +1 -0      jakarta-avalon-excalibur/cache/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/cache/project.properties,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- project.properties	31 Mar 2002 07:03:33 -0000	1.5
  +++ project.properties	4 Apr 2002 15:12:48 -0000	1.6
  @@ -1,4 +1,5 @@
   name=excalibur-cache
   Name=Excalibur Cache
  +dir-name=cache
   version=1.0a
   year=2001-2002
  
  
  
  1.28      +105 -0    jakarta-avalon-excalibur/cli/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/cli/build.xml,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- build.xml	31 Mar 2002 08:36:44 -0000	1.27
  +++ build.xml	4 Apr 2002 15:12:48 -0000	1.28
  @@ -34,6 +34,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -55,6 +65,13 @@
           <pathelement location="${checkstyle.jar}"/>
       </path>
   
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>
  +
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  @@ -291,6 +308,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.3       +1 -0      jakarta-avalon-excalibur/cli/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/cli/project.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- project.properties	31 Mar 2002 07:03:33 -0000	1.2
  +++ project.properties	4 Apr 2002 15:12:48 -0000	1.3
  @@ -1,4 +1,5 @@
   name=excalibur-cli
   Name=Excalibur CLI
  +dir-name=cli
   version=1.0
   year=2000-2002
  
  
  
  1.3       +1 -0      jakarta-avalon-excalibur/collections/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/collections/project.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- project.properties	31 Mar 2002 07:03:33 -0000	1.2
  +++ project.properties	4 Apr 2002 15:12:49 -0000	1.3
  @@ -1,4 +1,5 @@
   name=excalibur-collections
   Name=Excalibur Collections
  +dir-name=colections
   version=1.0
   year=2000-2002
  
  
  
  1.2       +2 -2      jakarta-avalon-excalibur/collections/src/xdocs/book.xml
  
  Index: book.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/collections/src/xdocs/book.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- book.xml	4 Apr 2002 04:54:51 -0000	1.1
  +++ book.xml	4 Apr 2002 15:12:49 -0000	1.2
  @@ -1,7 +1,7 @@
   <?xml version="1.0"?>
   
  -<book software="Excalibur ???"
  -      title="Avalon Excalibur Documentation - ???"
  +<book software="Excalibur Collections"
  +      title="Avalon Excalibur Documentation - Collections"
         copyright="@year@ The Apache Software Foundation">
   
     <project label="Back to Avalon" href="@AVALON_BASE@" />
  
  
  
  1.7       +105 -0    jakarta-avalon-excalibur/command/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/command/build.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- build.xml	4 Apr 2002 05:09:01 -0000	1.6
  +++ build.xml	4 Apr 2002 15:12:49 -0000	1.7
  @@ -34,6 +34,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -62,6 +72,13 @@
           <pathelement location="${junit.jar}"/>
           <pathelement location="${checkstyle.jar}"/>
       </path>
  +    
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>    
   
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
  @@ -299,6 +316,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.4       +1 -0      jakarta-avalon-excalibur/command/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/command/project.properties,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- project.properties	31 Mar 2002 07:03:33 -0000	1.3
  +++ project.properties	4 Apr 2002 15:12:49 -0000	1.4
  @@ -1,4 +1,5 @@
   name=excalibur-command
   Name=Excalibur Command
  +dir-name=command
   version=1.0a
   year=2002
  
  
  
  1.2       +105 -0    jakarta-avalon-excalibur/component/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/component/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	4 Apr 2002 05:09:02 -0000	1.1
  +++ build.xml	4 Apr 2002 15:12:49 -0000	1.2
  @@ -34,6 +34,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -60,6 +70,13 @@
           <pathelement location="${checkstyle.jar}"/>
       </path>
   
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>
  +
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  @@ -299,6 +316,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.2       +1 -0      jakarta-avalon-excalibur/component/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/component/project.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- project.properties	4 Apr 2002 05:09:02 -0000	1.1
  +++ project.properties	4 Apr 2002 15:12:49 -0000	1.2
  @@ -1,4 +1,5 @@
   name=excalibur-component
   Name=Excalibur Component
  +dir-name=component
   version=1.0
   year=2000-2002
  
  
  
  1.6       +105 -0    jakarta-avalon-excalibur/concurrent/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/concurrent/build.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- build.xml	31 Mar 2002 08:36:45 -0000	1.5
  +++ build.xml	4 Apr 2002 15:12:49 -0000	1.6
  @@ -34,6 +34,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -55,6 +65,13 @@
           <pathelement location="${checkstyle.jar}"/>
       </path>
   
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>
  +
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  @@ -291,6 +308,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.3       +1 -0      jakarta-avalon-excalibur/concurrent/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/concurrent/project.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- project.properties	31 Mar 2002 07:03:33 -0000	1.2
  +++ project.properties	4 Apr 2002 15:12:49 -0000	1.3
  @@ -1,4 +1,5 @@
   name=excalibur-concurrent
   Name=Excalibur Concurrent
  +dir-name=concurrent
   version=1.0
   year=2000-2002
  
  
  
  1.8       +105 -0    jakarta-avalon-excalibur/event/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/event/build.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- build.xml	31 Mar 2002 08:36:45 -0000	1.7
  +++ build.xml	4 Apr 2002 15:12:49 -0000	1.8
  @@ -34,6 +34,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -57,6 +67,13 @@
           <pathelement location="${checkstyle.jar}"/>
       </path>
   
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>
  +
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  @@ -293,6 +310,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.4       +1 -0      jakarta-avalon-excalibur/event/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/event/project.properties,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- project.properties	31 Mar 2002 07:03:33 -0000	1.3
  +++ project.properties	4 Apr 2002 15:12:49 -0000	1.4
  @@ -1,4 +1,5 @@
   name=excalibur-event
   Name=Excalibur Event
  +dir-name=event
   version=1.0a
   year=2002
  
  
  
  1.32      +105 -0    jakarta-avalon-excalibur/extension/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/extension/build.xml,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- build.xml	31 Mar 2002 08:36:45 -0000	1.31
  +++ build.xml	4 Apr 2002 15:12:49 -0000	1.32
  @@ -34,6 +34,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -55,6 +65,13 @@
           <pathelement location="${checkstyle.jar}"/>
       </path>
   
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>
  +
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  @@ -291,6 +308,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.4       +1 -0      jakarta-avalon-excalibur/extension/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/extension/project.properties,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- project.properties	31 Mar 2002 07:03:33 -0000	1.3
  +++ project.properties	4 Apr 2002 15:12:49 -0000	1.4
  @@ -1,4 +1,5 @@
   name=excalibur-extension
   Name=Excalibur Extension
  +dir-name=extension
   version=1.0a
   year=2000-2002
  
  
  
  1.2       +1 -0      jakarta-avalon-excalibur/fortress/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/fortress/project.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- project.properties	3 Apr 2002 22:51:34 -0000	1.1
  +++ project.properties	4 Apr 2002 15:12:49 -0000	1.2
  @@ -1,4 +1,5 @@
   name=excalibur-fortress
   Name=Excalibur Fortress
  +dir-name=fortress
   version=1.0
   year=2002
  
  
  
  1.30      +105 -0    jakarta-avalon-excalibur/i18n/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/i18n/build.xml,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- build.xml	31 Mar 2002 08:36:45 -0000	1.29
  +++ build.xml	4 Apr 2002 15:12:49 -0000	1.30
  @@ -34,6 +34,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -55,6 +65,13 @@
           <pathelement location="${checkstyle.jar}"/>
       </path>
   
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>
  +
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  @@ -291,6 +308,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.3       +1 -0      jakarta-avalon-excalibur/i18n/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/i18n/project.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- project.properties	31 Mar 2002 07:03:34 -0000	1.2
  +++ project.properties	4 Apr 2002 15:12:49 -0000	1.3
  @@ -1,4 +1,5 @@
   name=excalibur-i18n
   Name=Excalibur I18N
  +dir-name=il8n
   version=1.0
   year=2000-2002
  
  
  
  1.13      +105 -0    jakarta-avalon-excalibur/instrument-client/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/instrument-client/build.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- build.xml	4 Apr 2002 05:09:03 -0000	1.12
  +++ build.xml	4 Apr 2002 15:12:49 -0000	1.13
  @@ -35,6 +35,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="${basedir}/dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -61,6 +71,13 @@
           <pathelement location="${checkstyle.jar}"/>
       </path>
           
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>        
  +        
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  @@ -301,6 +318,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.3       +1 -0      jakarta-avalon-excalibur/instrument-client/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/instrument-client/project.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- project.properties	31 Mar 2002 07:03:34 -0000	1.2
  +++ project.properties	4 Apr 2002 15:12:49 -0000	1.3
  @@ -1,4 +1,5 @@
   name=excalibur-instrument-client
   Name=Excalibur Instrument Client
  +dir-name=instrument-client
   version=0.1
   year=2002
  
  
  
  1.13      +105 -0    jakarta-avalon-excalibur/instrument-manager/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/instrument-manager/build.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- build.xml	4 Apr 2002 05:09:03 -0000	1.12
  +++ build.xml	4 Apr 2002 15:12:50 -0000	1.13
  @@ -34,6 +34,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="${basedir}/dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -65,6 +75,13 @@
           <pathelement location="${checkstyle.jar}"/>
       </path>
   
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>
  +
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  @@ -310,6 +327,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.3       +1 -0      jakarta-avalon-excalibur/instrument-manager/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/instrument-manager/project.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- project.properties	31 Mar 2002 07:03:34 -0000	1.2
  +++ project.properties	4 Apr 2002 15:12:50 -0000	1.3
  @@ -1,4 +1,5 @@
   name=excalibur-instrument-manager
   Name=Excalibur Instrument Manager
  +dir-name=instrument-manager
   version=0.1
   year=2002
  
  
  
  1.8       +105 -0    jakarta-avalon-excalibur/instrument/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/instrument/build.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- build.xml	31 Mar 2002 08:36:45 -0000	1.7
  +++ build.xml	4 Apr 2002 15:12:50 -0000	1.8
  @@ -34,6 +34,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="${basedir}/dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -55,6 +65,13 @@
           <pathelement location="${checkstyle.jar}"/>
       </path>
   
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>
  +
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  @@ -289,6 +306,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.3       +1 -0      jakarta-avalon-excalibur/instrument/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/instrument/project.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- project.properties	31 Mar 2002 07:03:34 -0000	1.2
  +++ project.properties	4 Apr 2002 15:12:50 -0000	1.3
  @@ -1,4 +1,5 @@
   name=excalibur-instrument
   Name=Excalibur Instrument
  +dir-name=instrument
   version=0.1
   year=2002
  
  
  
  1.32      +105 -0    jakarta-avalon-excalibur/io/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/io/build.xml,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- build.xml	31 Mar 2002 08:36:45 -0000	1.31
  +++ build.xml	4 Apr 2002 15:12:50 -0000	1.32
  @@ -34,6 +34,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -55,6 +65,13 @@
           <pathelement location="${checkstyle.jar}"/>
       </path>
   
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>
  +
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  @@ -291,6 +308,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.3       +1 -0      jakarta-avalon-excalibur/io/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/io/project.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- project.properties	31 Mar 2002 07:03:34 -0000	1.2
  +++ project.properties	4 Apr 2002 15:12:50 -0000	1.3
  @@ -1,4 +1,5 @@
   name=excalibur-io
   Name=Excalibur IO
  +dir-name=io
   version=1.1
   year=2000-2002
  
  
  
  1.2       +105 -0    jakarta-avalon-excalibur/lang/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/lang/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	4 Apr 2002 05:09:03 -0000	1.1
  +++ build.xml	4 Apr 2002 15:12:50 -0000	1.2
  @@ -34,6 +34,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -55,6 +65,13 @@
           <pathelement location="${checkstyle.jar}"/>
       </path>
   
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>
  +
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  @@ -291,6 +308,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.2       +1 -0      jakarta-avalon-excalibur/lang/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/lang/project.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- project.properties	4 Apr 2002 05:09:03 -0000	1.1
  +++ project.properties	4 Apr 2002 15:12:50 -0000	1.2
  @@ -1,4 +1,5 @@
   name=excalibur-lang
   Name=Excalibur Lang
  +dir-name=lang
   version=1.0
   year=2000-2002
  
  
  
  1.2       +105 -0    jakarta-avalon-excalibur/logger/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/logger/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	4 Apr 2002 02:34:13 -0000	1.1
  +++ build.xml	4 Apr 2002 15:12:50 -0000	1.2
  @@ -34,6 +34,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -57,6 +67,13 @@
           <pathelement location="${checkstyle.jar}"/>
       </path>
   
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>
  +
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  @@ -322,6 +339,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.2       +1 -0      jakarta-avalon-excalibur/logger/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/logger/project.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- project.properties	4 Apr 2002 02:34:13 -0000	1.1
  +++ project.properties	4 Apr 2002 15:12:50 -0000	1.2
  @@ -1,4 +1,5 @@
   name=excalibur-logger
   Name=Excalibur Logger
  +dir-name=logger
   version=1.0
   year=2000-2002
  
  
  
  1.32      +105 -0    jakarta-avalon-excalibur/naming/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/naming/build.xml,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- build.xml	31 Mar 2002 08:36:45 -0000	1.31
  +++ build.xml	4 Apr 2002 15:12:50 -0000	1.32
  @@ -34,6 +34,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -55,6 +65,13 @@
           <pathelement location="${checkstyle.jar}"/>
       </path>
   
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>
  +
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  @@ -298,6 +315,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.3       +1 -0      jakarta-avalon-excalibur/naming/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/naming/project.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- project.properties	31 Mar 2002 07:03:34 -0000	1.2
  +++ project.properties	4 Apr 2002 15:12:50 -0000	1.3
  @@ -1,4 +1,5 @@
   name=excalibur-naming
   Name=Excalibur Naming
  +dir-name=naming
   version=1.0
   year=2000-2002
  
  
  
  1.2       +105 -0    jakarta-avalon-excalibur/pool/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/pool/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	4 Apr 2002 05:09:03 -0000	1.1
  +++ build.xml	4 Apr 2002 15:12:50 -0000	1.2
  @@ -34,6 +34,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -59,6 +69,13 @@
           <pathelement location="${checkstyle.jar}"/>
       </path>
   
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>
  +
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  @@ -298,6 +315,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.2       +1 -0      jakarta-avalon-excalibur/pool/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/pool/project.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- project.properties	4 Apr 2002 05:09:03 -0000	1.1
  +++ project.properties	4 Apr 2002 15:12:50 -0000	1.2
  @@ -1,4 +1,5 @@
   name=excalibur-pool
   Name=Excalibur Pool
  +dir-name=pool
   version=1.0
   year=2000-2002
  
  
  
  1.11      +105 -0    jakarta-avalon-excalibur/tar/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/tar/build.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- build.xml	31 Mar 2002 08:36:45 -0000	1.10
  +++ build.xml	4 Apr 2002 15:12:50 -0000	1.11
  @@ -34,6 +34,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -55,6 +65,13 @@
           <pathelement location="${checkstyle.jar}"/>
       </path>
   
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>
  +
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  @@ -291,6 +308,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.4       +1 -0      jakarta-avalon-excalibur/tar/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/tar/project.properties,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- project.properties	31 Mar 2002 07:03:34 -0000	1.3
  +++ project.properties	4 Apr 2002 15:12:50 -0000	1.4
  @@ -1,4 +1,5 @@
   name=excalibur-tar
   Name=Excalibur TAR
  +dir-name=tar
   version=1.0a
   year=2000-2002
  
  
  
  1.9       +105 -0    jakarta-avalon-excalibur/template-product/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/template-product/build.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- build.xml	31 Mar 2002 08:36:45 -0000	1.8
  +++ build.xml	4 Apr 2002 15:12:51 -0000	1.9
  @@ -34,6 +34,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -55,6 +65,13 @@
           <pathelement location="${checkstyle.jar}"/>
       </path>
   
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>
  +
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  @@ -291,6 +308,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.3       +1 -0      jakarta-avalon-excalibur/template-product/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/template-product/project.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- project.properties	31 Mar 2002 07:03:34 -0000	1.2
  +++ project.properties	4 Apr 2002 15:12:51 -0000	1.3
  @@ -1,4 +1,5 @@
   name=excalibur-my-component
   Name=Excalibur MyComponent
  +dir-name=mycomponent
   version=1.0
   year=2000-2002
  
  
  
  1.2       +105 -0    jakarta-avalon-excalibur/testcase/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/testcase/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	4 Apr 2002 05:09:05 -0000	1.1
  +++ build.xml	4 Apr 2002 15:12:51 -0000	1.2
  @@ -34,6 +34,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -59,6 +69,13 @@
           <pathelement location="${checkstyle.jar}"/>
       </path>
   
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>
  +
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  @@ -295,6 +312,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.2       +1 -0      jakarta-avalon-excalibur/testcase/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/testcase/project.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- project.properties	4 Apr 2002 05:09:05 -0000	1.1
  +++ project.properties	4 Apr 2002 15:12:51 -0000	1.2
  @@ -1,4 +1,5 @@
   name=excalibur-testcase
   Name=Excalibur TestCase
  +dir-name=testcase
   version=1.0
   year=2000-2002
  
  
  
  1.2       +105 -0    jakarta-avalon-excalibur/thread/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/thread/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	4 Apr 2002 05:09:05 -0000	1.1
  +++ build.xml	4 Apr 2002 15:12:51 -0000	1.2
  @@ -34,6 +34,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -59,6 +69,13 @@
           <pathelement location="${checkstyle.jar}"/>
       </path>
   
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>
  +
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  @@ -295,6 +312,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.2       +1 -0      jakarta-avalon-excalibur/thread/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/thread/project.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- project.properties	4 Apr 2002 05:09:05 -0000	1.1
  +++ project.properties	4 Apr 2002 15:12:51 -0000	1.2
  @@ -1,4 +1,5 @@
   name=excalibur-thread
   Name=Excalibur Thread
  +dir-name=thread
   version=1.0
   year=2000-2002
  
  
  
  1.2       +105 -0    jakarta-avalon-excalibur/util/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/util/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	4 Apr 2002 05:09:06 -0000	1.1
  +++ build.xml	4 Apr 2002 15:12:51 -0000	1.2
  @@ -34,6 +34,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -57,6 +67,13 @@
           <pathelement location="${checkstyle.jar}"/>
       </path>
   
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>
  +
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  @@ -293,6 +310,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.2       +1 -0      jakarta-avalon-excalibur/util/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/util/project.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- project.properties	4 Apr 2002 05:09:06 -0000	1.1
  +++ project.properties	4 Apr 2002 15:12:51 -0000	1.2
  @@ -1,4 +1,5 @@
   name=excalibur-util
   Name=Excalibur Util
  +dir-name=util
   version=1.0
   year=2000-2002
  
  
  
  1.11      +105 -0    jakarta-avalon-excalibur/zip/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/zip/build.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- build.xml	31 Mar 2002 08:36:45 -0000	1.10
  +++ build.xml	4 Apr 2002 15:12:51 -0000	1.11
  @@ -34,6 +34,16 @@
       <property name="conf.dir" value="${src.dir}/conf"/>
       <property name="test.dir" value="${src.dir}/test"/>
   
  +    <!-- needed by Cocoon -->
  +    <property name="build.context" value="${build.dir}/documentation"/>
  +    <property name="build.docs" value="${build.dir}/docs"/>
  +    <property name="build.xdocs" value="${build.dir}/xdocs"/>
  +    <property name="context.dir" value="../../jakarta-avalon/src/documentation"/>
  +    <property name="tools.dir" value="../../jakarta-avalon/tools"/>
  +    <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
  +    <property name="docs.dir" value="docs"/>
  +    <property name="xdocs.dir" value="${src.dir}/xdocs"/>      
  +
       <!-- Set the properties for distribution directories -->
       <property name="dist.dir" value="dist"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  @@ -55,6 +65,13 @@
           <pathelement location="${checkstyle.jar}"/>
       </path>
   
  +    <path id="tools.class.path">
  +        <pathelement location="${junit.jar}"/>
  +        <pathelement location="${tools.jar}"/>
  +        <fileset dir="${tools.dir}/lib"/>
  +        <fileset dir="${tools.dir}/ext"/>
  +    </path>
  +
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  @@ -291,6 +308,94 @@
           <copy file="../KEYS" todir="${dist.dir}"/>
           <copy file="README.txt" todir="${dist.dir}"/>
   
  +    </target>
  +
  +    <!-- Setup the filters -->
  +    <target name="setup-filters">
  +      <filter token="Name" value="Avalon ${Name}"/>
  +      <filter token="name" value="${dir-name}"/>
  +      <filter token="version" value="${version}"/>
  +      <filter token="year" value="${year}"/>
  +      <filter token="status" value="${status}"/>
  +      <filter token="release" value="${release}"/>
  +      <filter token="short-version" value="${short.version}"/>
  +
  +      <property name="avalon.base" value="http://jakarta.apache.org/avalon"/>
  +      <property name="framework.base" value="http://jakarta.apache.org/avalon/framework"/>
  +      <property name="phoenix.base" value="http://jakarta.apache.org/avalon/phoenix"/>
  +      <property name="cornerstone.base" value="http://jakarta.apache.org/avalon/cornerstone"/>
  +      <property name="logkit.base" value="http://jakarta.apache.org/avalon/logkit"/>
  +      <property name="testlet.base" value="http://jakarta.apache.org/avalon/testlet"/>
  +
  +      <filter token="year" value="${year}"/>
  +      <filter token="AVALON_BASE" value="${avalon.base}"/>
  +      <filter token="FRAMEWORK_BASE" value="${framework.base}"/>
  +      <filter token="PHOENIX_BASE" value="${phoenix.base}"/>
  +      <filter token="CORNERSTONE_BASE" value="${cornerstone.base}"/>
  +      <filter token="LOGKIT_BASE" value="${logkit.base}"/>
  +      <filter token="TESTLET_BASE" value="${testlet.base}"/>
  +    </target>
  +    
  +    
  +    <!-- Prepares the documentation directory -->
  +    <target name="docs" depends="setup-filters"> <!-- depends="javadocs" description="Generates the Docs" -->
  +      <mkdir dir="${docs.dir}"/>
  +
  +      <mkdir dir="${build.context}"/>
  +      <mkdir dir="${build.xdocs}"/>
  +      <mkdir dir="${build.docs}"/>
  +      <mkdir dir="${build.dir}/work"/>
  +  
  +      <!-- Base pointers for non-xdocs documentation. Override these in .ant.properties to link to local docs -->
  +      <copy todir="${build.context}" filtering="on">
  +        <fileset dir="${context.dir}">
  +          <exclude name="diagrams/**"/>
  +          <exclude name="resources/**"/>
  +          <exclude name="xdocs"/>
  +        </fileset>
  +      </copy>
  +  
  +      <copy todir="${build.context}/xdocs" filtering="on" overwrite="yes">
  +        <fileset dir="${xdocs.dir}"/>
  +      </copy>
  +
  +      <copy todir="${build.context}/resources" filtering="off" overwrite="yes">
  +        <fileset dir="${context.dir}/resources"/>
  +        <fileset dir="${xdocs.dir}">
  +          <include name="**/images/**"/>
  +        </fileset>
  +      </copy>
  +
  +      <java classname="org.apache.cocoon.Main" fork="true">
  +        <arg value="-c${build.context}/"/>
  +        <arg value="-d${build.docs}"/>
  +        <arg value="-w${build.dir}/work"/>
  +        <arg value="-l${build.dir}/work/cocoon.log"/>
  +        <arg value="-uINFO"/>
  +        <arg value="-f${xdocs.dir}/${dir-name}.uris"/>
  +        <classpath>
  +          <path refid="tools.class.path"/>
  +          <fileset dir="${tools.dir}/ext"/>
  +        </classpath>
  +      </java>
  +
  +      <copy todir="docs">
  +        <fileset dir="${build.docs}">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>    
  +     
  +    </target>
  +    
  +    <target name="site" depends="docs" description=" Places Docs ready for hosting on website">  
  +  
  +      <mkdir dir="../site/docs/${dir-name}"/>     
  +      <copy todir="../site/docs/${dir-name}">
  +        <fileset dir="docs">
  +          <include name="**"/>
  +        </fileset>
  +      </copy>        
  +  
       </target>
   
       <!-- Cleans up build and distribution directories -->
  
  
  
  1.4       +1 -0      jakarta-avalon-excalibur/zip/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/zip/project.properties,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- project.properties	31 Mar 2002 07:03:34 -0000	1.3
  +++ project.properties	4 Apr 2002 15:12:51 -0000	1.4
  @@ -1,4 +1,5 @@
   name=excalibur-zip
   Name=Excalibur Zip
  +dir-name=zip
   version=1.0a
   year=2000-2002
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message