Browse Source

Use uptodate to avoid rebuilding the FOP jar even if no classes

have been compiled.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198458 13f79535-47bb-0310-9956-ffa450edef68
pull/30/head
Joerg Pietschmann 19 years ago
parent
commit
c6947d8c12
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      build.xml

+ 6
- 1
build.xml View File

@@ -484,10 +484,15 @@ list of possible build targets.
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>

Loading…
Cancel
Save