aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorNicola Ken Barozzi <nicolaken@apache.org>2002-04-09 17:02:20 +0000
committerNicola Ken Barozzi <nicolaken@apache.org>2002-04-09 17:02:20 +0000
commitfaef26e47557fd6b9f8b41e13963dc211a1afce4 (patch)
tree47f5f12dcb917f703204e8de9e5f53a5a62a45ed /tools
parent48b2018d9c4e3b5e2e452716e02747e95f745562 (diff)
downloadpoi-faef26e47557fd6b9f8b41e13963dc211a1afce4.tar.gz
poi-faef26e47557fd6b9f8b41e13963dc211a1afce4.zip
Fixed uptodate check for more recent jar files.
Now more recent jar files are correctly expanded when the target dir is present but older. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352386 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tools')
-rw-r--r--tools/antipede/build.xtarget10
-rw-r--r--tools/cents/centipede.cent.jarbin36036 -> 36036 bytes
2 files changed, 6 insertions, 4 deletions
diff --git a/tools/antipede/build.xtarget b/tools/antipede/build.xtarget
index 83d38b36d1..5b907713d9 100644
--- a/tools/antipede/build.xtarget
+++ b/tools/antipede/build.xtarget
@@ -104,10 +104,9 @@
<condition property="cent-unjar.not.required">
<and>
- <uptodate targetfile="${current.cent.jar}">
- <srcfiles dir= "." includes="${cents.dir}/${current.cent.jar.name}.${cent.dir.suffix}/${task.properties.name}"/>
- </uptodate>
- <available type="file" file="${cents.dir}/${current.cent.jar.name}.${cent.dir.suffix}/${task.properties.name}"/>
+ <uptodate targetfile="${cents.dir}/${current.cent.jar.name}.${cent.dir.suffix}/${task.properties.name}"
+ srcfile="${current.cent.jar}"/>
+ <available type="file" file="${cents.dir}/${current.cent.jar.name}.${cent.dir.suffix}/${task.properties.name}"/>
</and>
</condition>
@@ -120,6 +119,9 @@
depends="-cent-unjar-check">
<echo message="Expanding ${current.cent.jar}..." />
<unjar src="${current.cent.jar}" dest="${cents.dir}"/>
+ <touch>
+ <fileset dir="${cents.dir}/${current.cent.jar.name}.${cent.dir.suffix}"/>
+ </touch>
<echo message="... ${current.cent.jar} expanded in ${current.cent.jar.name}." />
</target>
diff --git a/tools/cents/centipede.cent.jar b/tools/cents/centipede.cent.jar
index 95f6f34928..91d67c39c6 100644
--- a/tools/cents/centipede.cent.jar
+++ b/tools/cents/centipede.cent.jar
Binary files differ