nicolaken 02/04/24 09:19:27
Modified: tools/antipede build.xtarget
Log:
Update to latest dev Centipede version with cents that behave correctly in the build
dir
and references on the main page to new Centipede features.
Oh, and look at the grouped javadocs :-)
Need only to reference the uml dos and I've finished for now :-)
Revision Changes Path
1.14 +15 -3 jakarta-poi/tools/antipede/build.xtarget
Index: build.xtarget
===================================================================
RCS file: /home/cvs/jakarta-poi/tools/antipede/build.xtarget,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- build.xtarget 22 Apr 2002 11:00:17 -0000 1.13
+++ build.xtarget 24 Apr 2002 16:19:27 -0000 1.14
@@ -1,9 +1,12 @@
- <target name="-init">
+ <target name="-init" unless="${antipede.init.already.called}">
<tstamp>
<format property="YEAR" pattern="yyyy" locale="en"/>
</tstamp>
<buildnumber/>
+
+ <property name="antipede.init.already.called" value="true"/>
+
<echo>
--------------------------------------------------------------
@@ -24,7 +27,7 @@
-->
<property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
<available file="${tools.jar}" property="tools.jar.present"/>
- <fail unless="tools.jar.present" message="tools.jar not found. Probably JDK not
installed."/>
+ <fail unless="tools.jar.present" message="tools.jar not found. Probably you are
using the JRE and the JDK is not installed. Please download the JDK from the Java Sun
website www.javasoft.com ."/>
<!-- fixed centipede dirs -->
@@ -190,7 +193,16 @@
target="${cent-target}" />
</target>
-
+ <!-- ============================================= -->
+ <!-- Simple utility target to call a cent target -->
+ <!-- ==============================================-->
+ <target name="cent-target" depends="-init">
+ <ant antfile="tools/cents/${cent-name}.cent/xbuild.xml"
+ inheritall="true"
+ dir="."
+ target="${cent-target}" />
+ </target>
+
<!-- ================================== -->
<!-- Create a cent.jar package -->
<!-- using an already deployed cent -->