You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by ha...@apache.org on 2002/07/31 00:26:02 UTC

cvs commit: jakarta-avalon-excalibur/thread/lib junitperf.jar

hammant     2002/07/30 15:26:01

  Modified:    thread   ant.properties.sample build.xml default.properties
  Added:       thread/lib junitperf.jar
  Log:
  thread now builds local docs and makes a distributable.
  
  Revision  Changes    Path
  1.5       +2 -2      jakarta-avalon-excalibur/thread/ant.properties.sample
  
  Index: ant.properties.sample
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/thread/ant.properties.sample,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ant.properties.sample	10 Apr 2002 05:34:27 -0000	1.4
  +++ ant.properties.sample	30 Jul 2002 22:26:01 -0000	1.5
  @@ -40,7 +40,7 @@
   
   # ----- Excalibur Instrument -----
   excalibur-instrument.home=../instrument/build/lib
  -excalibur-instrument.jar=${excalibur-instrument.home}/excalibur-instrument-0.1.jar
  +excalibur-instrument.jar=${excalibur-instrument.home}/excalibur-instrument-0.2.jar
   
   # ----- Excalibur Pool -----
   excalibur-pool.home=../pool/build/lib
  
  
  
  1.23      +8 -47     jakarta-avalon-excalibur/thread/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/thread/build.xml,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- build.xml	6 Jul 2002 05:44:27 -0000	1.22
  +++ build.xml	30 Jul 2002 22:26:01 -0000	1.23
  @@ -34,6 +34,7 @@
           <pathelement location="${junit.jar}"/>
           <pathelement location="${excalibur-collections.jar}"/>
           <pathelement location="${excalibur-testcase.jar}"/>
  +        <pathelement location="lib/junitperf.jar"/>
           <path refid="project.class.path"/>
       </path>
       <property name="cp" refid="test.class.path"/>
  @@ -274,8 +275,8 @@
   
       <!-- Creates the distribution -->
       <target name="dist"
  -        depends="dist-jar, test-reports, checkstyle-report, javadocs"
  -        description="Generates a distribution (jar + javadocs + unit tests + checkstyle reports)">
  +        depends="dist-jar, test-reports, checkstyle-report, site"
  +        description="Generates a distribution (jar + docs + javadocs + unit tests + checkstyle reports)">
   
   
           <copy file="${build.conf}/LICENSE.txt" todir="${dist.dir}"/>
  @@ -289,6 +290,7 @@
   
           <zip zipfile="${dist.base}/${dist.name}.zip" compress="true">
               <zipfileset dir="${dist.dir}" prefix="${dist.name}"/>
  +            <zipfileset dir="${docs.dir}" prefix="${dist.name}/docs"/>
           </zip>
   
           <delete dir="${dist.dir}" />
  @@ -342,58 +344,17 @@
   
   
       <!-- 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>
  +    <target name="docs" depends="setup-filters" description="Generates the Docs">
  +	<ant antfile="${basedir}/../cocoonbuild.xml"/>
   
         <copy todir="${docs.dir}">
           <fileset dir="${build.docs}">
             <include name="**"/>
           </fileset>
  -      </copy>
  -
  -      <!-- hack for stupid transport on api link -->
  -      <replace file="${docs.dir}/index.html" token="index.html.xml" value="index.html"/>
  +      </copy>    
   
       </target>
  -
  +    
       <target name="site" depends="javadocs, docs" description=" Places Docs ready for hosting on website">
   
         <mkdir dir="../site/dist/docs/${dir-name}"/>
  
  
  
  1.10      +11 -1     jakarta-avalon-excalibur/thread/default.properties
  
  Index: default.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/thread/default.properties,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- default.properties	30 Jul 2002 14:12:35 -0000	1.9
  +++ default.properties	30 Jul 2002 22:26:01 -0000	1.10
  @@ -37,6 +37,16 @@
   excalibur-instrument.lib=${excalibur-instrument.home}
   excalibur-instrument.jar=${excalibur-instrument.lib}/excalibur-instrument-0.2.jar
   
  +# ----- Excalibur Collections, version 1.0 or later -----
  +excalibur-collections.home=${basedir}/../collections/dist
  +excalibur-collections.lib=${excalibur-collections.home}
  +excalibur-collections.jar=${excalibur-collections.lib}/excalibur-collections-1.0.jar
  +
  +# ----- Excalibur Testcase, version 1.0 or later -----
  +excalibur-testcase.home=${basedir}/../testcase/dist
  +excalibur-testcase.lib=${excalibur-testcase.home}
  +excalibur-testcase.jar=${excalibur-testcase.lib}/excalibur-testcase-1.0.jar
  +
   # ----- Logkit -----
   logkit.home=${basedir}/../../jakarta-avalon-logkit
   logkit.lib=${logkit.home}/build/lib
  @@ -80,7 +90,7 @@
   
   #  Set the properties for distribution directories
   dist.dir = dist
  -dist.javadocs = ${dist.dir}/docs/api
  +dist.javadocs = ${docs.dir}/api
   
   #  name of .zip/.tar.gz/.bz2 files and their top-level directory
   dist.name = ${name}-${version}
  
  
  
  1.1                  jakarta-avalon-excalibur/thread/lib/junitperf.jar
  
  	<<Binary file>>
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>