aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorNicola Ken Barozzi <nicolaken@apache.org>2002-04-08 07:21:16 +0000
committerNicola Ken Barozzi <nicolaken@apache.org>2002-04-08 07:21:16 +0000
commit79b292b2744158146cce95e5495c81a4125329e0 (patch)
tree327b8d251dcc4cb35cd3fc19d3276577aab3f9d2 /tools
parente5f40365c7720df5163cdbe623f73809c1ccdece (diff)
downloadpoi-79b292b2744158146cce95e5495c81a4125329e0.tar.gz
poi-79b292b2744158146cce95e5495c81a4125329e0.zip
Update of the build system.
Gump target works ok. All docs generate ok. Jar task is ok. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352353 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tools')
-rw-r--r--tools/antipede/build.xtarget26
-rw-r--r--tools/cents/centipede-20020408.cent.jar (renamed from tools/cents/centipede-20020406.cent.jar)bin35630 -> 35859 bytes
-rw-r--r--tools/cents/forrest-20020405.cent.jarbin3267043 -> 0 bytes
-rw-r--r--tools/cents/jdepend-20020408.cent.jar (renamed from tools/cents/jdepend-20020406.cent.jar)bin48364 -> 48371 bytes
-rw-r--r--tools/cents/junit-20020408.cent.jar (renamed from tools/cents/junit-20020406.cent.jar)bin165092 -> 165125 bytes
5 files changed, 25 insertions, 1 deletions
diff --git a/tools/antipede/build.xtarget b/tools/antipede/build.xtarget
index 077f4e832a..be9f7f3386 100644
--- a/tools/antipede/build.xtarget
+++ b/tools/antipede/build.xtarget
@@ -87,7 +87,31 @@
<!-- Used only by the -init target -->
<!-- =================================-->
<target name="-cent-unjar">
- <unjar src="${current.cent.jar}" dest="${cents.dir}"/>
+
+ <basename property="current.cent.jar.name" file="${current.cent.jar}" suffix=".jar"/>
+
+ <condition property="cent-unjar.not.required">
+ <and>
+ <uptodate targetfile="${current.cent.jar}">
+ <srcfiles dir= "." includes="${cents.dir}/*.${cent.dir.suffix}/${task.properties.name}"/>
+ </uptodate>
+ <available type="dir" file="${cents.dir}/${current.cent.jar.name}"/>
+ </and>
+ </condition>
+
+ <antipede-if>
+ <equals arg1="cent-unjar.not.required" arg2="true" />
+ <then>
+ <echo message="${current.cent.jar} is uptodate with respect to ${current.cent.jar.name}." />
+ <echo message="No need to expand it." />
+ </then>
+ <else>
+ <echo message="Expanding ${current.cent.jar}..." />
+ <unjar src="${current.cent.jar}" dest="${cents.dir}"/>
+ <echo message="... ${current.cent.jar} expanded in ${current.cent.jar.name}." />
+ </else>
+ </antipede-if>
+
</target>
<!-- ============================================= -->
diff --git a/tools/cents/centipede-20020406.cent.jar b/tools/cents/centipede-20020408.cent.jar
index 05d868a7dd..a6e3f06ace 100644
--- a/tools/cents/centipede-20020406.cent.jar
+++ b/tools/cents/centipede-20020408.cent.jar
Binary files differ
diff --git a/tools/cents/forrest-20020405.cent.jar b/tools/cents/forrest-20020405.cent.jar
deleted file mode 100644
index 5daa29ffca..0000000000
--- a/tools/cents/forrest-20020405.cent.jar
+++ /dev/null
Binary files differ
diff --git a/tools/cents/jdepend-20020406.cent.jar b/tools/cents/jdepend-20020408.cent.jar
index 65d94825fb..fb5a51758a 100644
--- a/tools/cents/jdepend-20020406.cent.jar
+++ b/tools/cents/jdepend-20020408.cent.jar
Binary files differ
diff --git a/tools/cents/junit-20020406.cent.jar b/tools/cents/junit-20020408.cent.jar
index c8e0e211f9..070066ac02 100644
--- a/tools/cents/junit-20020406.cent.jar
+++ b/tools/cents/junit-20020408.cent.jar
Binary files differ