pietsch 2005/02/27 12:59:13
Modified: . build.xml
Log:
Use uptodate to avoid rebuilding the FOP jar even if no classes
have been compiled.
Revision Changes Path
1.117 +6 -1 xml-fop/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-fop/build.xml,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -r1.116 -r1.117
--- build.xml 24 Jan 2005 22:03:56 -0000 1.116
+++ build.xml 27 Feb 2005 20:59:13 -0000 1.117
@@ -484,10 +484,15 @@
targetDir="${user.hyphdest.dir}"/>
</target>
+ <target name="uptodate-jar" depends="compile, hyphenation">
+ <uptodate property="jar.uptodate" targetfile="${build.dir}/${name}.jar">
+ <srcfiles dir= "${build.dest}"/>
+ </uptodate>
+ </target>
<!-- ===================================================================
-->
<!-- Creates the class package
-->
<!-- ===================================================================
-->
- <target name="package" depends="compile,hyphenation"
description="Generates the jar files">
+ <target name="package" depends="compile,hyphenation,uptodate-jar"
description="Generates the jar files" unless="jar.uptodate">
<echo message="Creating the jar file ${build.dir}/${name}.jar"/>
<tstamp>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]