diff options
author | Nicola Ken Barozzi <nicolaken@apache.org> | 2002-04-09 17:02:20 +0000 |
---|---|---|
committer | Nicola Ken Barozzi <nicolaken@apache.org> | 2002-04-09 17:02:20 +0000 |
commit | faef26e47557fd6b9f8b41e13963dc211a1afce4 (patch) | |
tree | 47f5f12dcb917f703204e8de9e5f53a5a62a45ed /tools | |
parent | 48b2018d9c4e3b5e2e452716e02747e95f745562 (diff) | |
download | poi-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.xtarget | 10 | ||||
-rw-r--r-- | tools/cents/centipede.cent.jar | bin | 36036 -> 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 Binary files differindex 95f6f34928..91d67c39c6 100644 --- a/tools/cents/centipede.cent.jar +++ b/tools/cents/centipede.cent.jar |