From 31bfe278ea6258a88cdfe86b725e1abc5e5d3d0e Mon Sep 17 00:00:00 2001 From: dchandler Date: Sun, 6 Oct 2002 17:54:01 +0000 Subject: [PATCH] Now copies over everything necessary to the bin directories. Added a 'releases' target that builds Javadocs, binary JARs, and a source zipfile. It generates double-clickable Jskad and translation tool JARs, but it does NOT generate double-clickable Savant or QuillDriver jars because that would require putting jdom/xalan/xml-apis/xercesImpl/jmf JARs onto the Class-path attribute in the manifest files. That would be a relative path, though, and until we have an installer, I don't know what to put in there. That means that, for now, you invoke Savant with 'java -cp jdom.jar;jmf.jar;....;Savant-2002XXXX.jar org.thdl.savant.SavantShell' BUT, I've added targets to run all four programs: savant-run, qd-run, tt-run, and jskad-run. No longer uses manifests/*. Ant has a task that we use instead. Now uses the source/overview.html file in Javadoc builds. --- build.xml | 241 +++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 167 insertions(+), 74 deletions(-) diff --git a/build.xml b/build.xml index 324f774..b328b65 100644 --- a/build.xml +++ b/build.xml @@ -2,19 +2,19 @@ - This Jakarta Ant buildfile is used to build Jskad, Savant, and - QuillDriver. The docs at http://thdltools.sf.net/api are created - using this buildfile, for example. Read the comments of this - buildfile to learn more. + This Jakarta Ant buildfile is used to build Jskad, Savant, + QuillDriver, and the Translation Tool. The docs at + http://thdltools.sf.net/api are created using this buildfile, for + example. Read the comments of this buildfile to learn more. - + @@ -24,11 +24,30 @@ + + + + + + + + + + + - - - + + + + + + + @@ -37,15 +56,27 @@ + + + + + + + + + + + @@ -53,8 +84,6 @@ - @@ -66,18 +95,16 @@ depends="jskad-all-in-one-dist" description="JARs up everything into self-contained JARs for double-click, classpath-worry-free joy" /> - - + depends="all-src-dist" + description="JARs up the source distribution" /> @@ -87,9 +114,7 @@ - - - + @@ -103,17 +128,13 @@ - - - - - + @@ -177,28 +198,38 @@ - - + + - - + - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + description="generates the full Jskad+Savant+QuillDriver+Translation Tool source distribution" > - - - - - + basedir="${jskadbin}"> + + + + - - - - - + description="generates the TranslationDesktop binary distribution. Call tt-serv-compile first if you want servlets in this dist." > + basedir="${ttbin}"> + + + + - - - + basedir="${savantbin}"> + + + + + + + + + + + + + + - - - @@ -307,8 +328,11 @@ basedir="${jskadbin}" includes="org/thdl/tib/**,org/thdl/util/**,netscape/**" index="true" - update="no" - manifest="manifests/jskad_manifest.txt"/> + update="no"> + + + + @@ -317,6 +341,8 @@ + + @@ -428,7 +454,8 @@ version="false" use="true" classpathref="entire.class.path" - windowtitle="THDL Tools APIs"> + windowtitle="THDL Tools APIs" + Overview="${source}/overview.html"> @@ -461,4 +488,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +