Quellcode durchsuchen

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 vor 19 Jahren
Ursprung
Commit
c6947d8c12
1 geänderte Dateien mit 6 neuen und 1 gelöschten Zeilen
  1. 6
    1
      build.xml

+ 6
- 1
build.xml Datei anzeigen

@@ -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>

Laden…
Abbrechen
Speichern