craigmcc 01/04/30 10:52:53
Modified: threading .cvsignore build.xml
Log:
Update to new distribution directory conventions.
Revision Changes Path
1.3 +1 -1 jakarta-commons-sandbox/threading/.cvsignore
Index: .cvsignore
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/threading/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 2001/04/15 21:21:43 1.2
+++ .cvsignore 2001/04/30 17:52:50 1.3
@@ -1,3 +1,3 @@
build.properties
-build
+dist
target
1.3 +8 -10 jakarta-commons-sandbox/threading/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/threading/build.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- build.xml 2001/04/28 22:44:26 1.2
+++ build.xml 2001/04/30 17:52:51 1.3
@@ -3,7 +3,7 @@
<!--
"Threading Goodies" component of the Jakarta Commons Subproject
- $Id: build.xml,v 1.2 2001/04/28 22:44:26 craigmcc Exp $
+ $Id: build.xml,v 1.3 2001/04/30 17:52:51 craigmcc Exp $
-->
@@ -49,7 +49,7 @@
<property name="conf.home" value="conf"/>
<!-- The base directory for distribution targets -->
- <property name="dist.home" value="build"/>
+ <property name="dist.home" value="dist"/>
<!-- The base directory for component sources -->
<property name="source.home" value="src/java"/>
@@ -166,9 +166,10 @@
<target name="javadoc" depends="compile"
description="Create component Javadoc documentation">
<mkdir dir="${dist.home}"/>
- <mkdir dir="${dist.home}/javadoc"/>
+ <mkdir dir="${dist.home}/docs"/>
+ <mkdir dir="${dist.home}/docs/api"/>
<javadoc sourcepath="${source.home}"
- destdir="${dist.home}/javadoc"
+ destdir="${dist.home}/docs/api"
packagenames="org.apache.commons.*"
author="true"
private="true"
@@ -181,15 +182,12 @@
<target name="dist" depends="compile,javadoc"
description="Create binary distribution">
- <!-- TODO: top level files like LICENSE and README -->
<mkdir dir="${dist.home}"/>
+ <copy file="../LICENSE"
+ todir="${dist.home}"/>
<jar jarfile="${dist.home}/commons-${component.name}.jar"
basedir="${build.home}/classes"
manifest="${build.home}/conf/MANIFEST.MF"/>
- <mkdir dir="${dist.home}/src"/>
- <copy todir="${dist.home}/src" filtering="on">
- <fileset dir="${source.home}"/>
- </copy>
</target>
@@ -204,7 +202,7 @@
<target name="test.all">
- <echo message="Running PropertyUtils tests ..."/>
+ <echo message="Running all Threading tests ..."/>
<java classname="${test.runner}" fork="yes"
failonerror="${test.failonerror}">
<arg value="org.apache.commons.threading.TestAll"/>