rwaldhoff 2003/02/10 10:06:13
Modified: jux build.xml
Log:
some cleanup,
add gump specific target
Revision Changes Path
1.3 +31 -42 jakarta-commons-sandbox/jux/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/jux/build.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- build.xml 8 Feb 2003 14:30:46 -0000 1.2
+++ build.xml 10 Feb 2003 18:06:13 -0000 1.3
@@ -98,16 +98,15 @@
<!-- ========== Executable Targets ======================================== -->
- <target name="init"
- description="Initialize and evaluate conditionals">
+ <target name="init" description="Initialize and evaluate conditionals">
+ <tstamp/>
<echo message="-------- ${component.name} ${component.version} --------"/>
<filter token="name" value="${component.package}"/>
<filter token="version" value="${component.version}"/>
</target>
- <target name="prepare" depends="init"
- description="Prepare build directory">
+ <target name="prepare" depends="init" description="Prepare build directory">
<mkdir dir="${build.home}"/>
<mkdir dir="${build.home}/classes"/>
<mkdir dir="${build.home}/conf"/>
@@ -115,17 +114,14 @@
</target>
- <target name="static" depends="prepare"
- description="Copy static files to build directory">
- <tstamp/>
+ <target name="static" depends="prepare" description="Copy static files to build
directory">
<copy todir="${build.home}/conf" filtering="on">
<fileset dir="${conf.home}" includes="*.MF"/>
</copy>
</target>
- <target name="compile" depends="static"
- description="Compile shareable components">
+ <target name="compile" depends="static" description="Compile shareable
components">
<javac srcdir="${source.home}"
destdir="${build.home}/classes"
debug="${compile.debug}"
@@ -133,14 +129,13 @@
optimize="${compile.optimize}">
<classpath refid="compile.classpath"/>
</javac>
- <copy todir="${build.home}/classes" filtering="on">
+ <copy todir="${build.home}/classes" filtering="on">
<fileset dir="${source.home}" excludes="**/*.java"/>
</copy>
</target>
- <target name="compile.tests" depends="compile"
- description="Compile unit test cases">
+ <target name="compile.tests" depends="compile" description="Compile unit test
cases">
<javac srcdir="${test.home}"
destdir="${build.home}/test-classes"
debug="${compile.debug}"
@@ -148,24 +143,22 @@
optimize="${compile.optimize}">
<classpath refid="test.classpath"/>
</javac>
- <copy todir="${build.home}/test-classes" filtering="on">
- <fileset dir="${test.home}" excludes="**/*.java"/>
+ <copy todir="${build.home}/test-classes" filtering="on">
+ <fileset dir="${test.home}" includes="**/*.ser"/>
</copy>
</target>
- <target name="clean"
- description="Clean build and distribution directories">
- <delete dir="${build.home}"/>
- <delete dir="${dist.home}"/>
+ <target name="clean" description="Clean build and distribution directories">
+ <delete dir="${build.home}"/>
+ <delete dir="${dist.home}"/>
</target>
- <target name="javadoc" depends="compile"
- description="Create component Javadoc documentation">
- <mkdir dir="${dist.home}"/>
- <mkdir dir="${dist.home}/docs"/>
- <mkdir dir="${dist.home}/docs/api"/>
+ <target name="javadoc" depends="compile" description="Create component Javadoc
documentation">
+ <mkdir dir="${dist.home}"/>
+ <mkdir dir="${dist.home}/docs"/>
+ <mkdir dir="${dist.home}/docs/api"/>
<javadoc sourcepath="${source.home}"
destdir="${dist.home}/docs/api"
packagenames="org.apache.commons.*"
@@ -175,28 +168,20 @@
doctitle="<h1>${component.title} (Version
${component.version})</h1>"
windowtitle="${component.title} (Version ${component.version})"
bottom="Copyright (c) 2003 - Apache Software Foundation">
-<!--
- overview="src/java/overview.html"
--->
- <classpath refid="compile.classpath"/>
+ <classpath refid="compile.classpath"/>
</javadoc>
</target>
- <target name="dist" depends="test,javadoc"
- description="Create binary distribution">
- <mkdir dir="${dist.home}"/>
- <copy file="LICENSE.txt"
- todir="${dist.home}"/>
- <mkdir dir="${build.home}/classes/META-INF"/>
- <copy file="LICENSE.txt"
- tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
-<!--
- <copy file="RELEASE-NOTES.txt"
- todir="${dist.home}"/>
--->
- <jar jarfile="${dist.home}/commons-${component.name}.jar"
- basedir="${build.home}/classes"/>
+ <target name="dist" depends="test,javadoc" description="Create binary
distribution">
+ <mkdir dir="${dist.home}"/>
+ <copy file="LICENSE.txt"
+ todir="${dist.home}"/>
+ <mkdir dir="${build.home}/classes/META-INF"/>
+ <copy file="LICENSE.txt"
+ tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
+ <jar jarfile="${dist.home}/commons-${component.name}.jar"
+ basedir="${build.home}/classes"/>
</target>
@@ -209,5 +194,9 @@
<classpath refid="test.classpath"/>
</java>
</target>
+
+<!-- ========== Gump Targets ============================================== -->
+
+ <target name="gump" depends="clean,test,dist" description="a gump specific
target"/>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]