From 010d8cb9720b9f24b44b02dc368cd3fc47e83d00 Mon Sep 17 00:00:00 2001 From: dchandler Date: Fri, 25 Oct 2002 11:04:24 +0000 Subject: [PATCH] At Edward's request, Vamp is no longer required to build our tools. It is still required by anyone who wishes to cut a Java Web Start release. This should make it easier for a new developer to get up to speed. --- build.xml | 209 +++++++++++++++++++-------------------------------- jwsbuild.xml | 114 ++++++++++++++++++++++++++++ 2 files changed, 193 insertions(+), 130 deletions(-) create mode 100644 jwsbuild.xml diff --git a/build.xml b/build.xml index a4684ce..7256d60 100644 --- a/build.xml +++ b/build.xml @@ -5,6 +5,10 @@ describes how to use this file to build Savant, Jskad, QuillDriver, and the translation tool. + This build file is the main one, and it uses jwsbuild.xml for + building Java Web Start (JWS) releases. See the comments in that + file to learn why. + Quick start for the impatient: This buildfile looks for the following, which are not in the CVS repository: @@ -30,19 +34,7 @@ see http://thdltools.sourceforge.net/BuildSystems.html. - - - - - - - - - - - - @@ -62,6 +54,9 @@ + + + @@ -354,6 +349,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -629,55 +673,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -797,6 +792,7 @@ explicit is a Good Thing: --> + @@ -806,93 +802,46 @@ - + + + + + - + + - Thus, we'll run 'jar xf ${my.app}-web-start.war - ${my.app}-JWS.jar' to extract the signed JAR file and copy - the .jar and the ${dist}/${my.app}.jnlp file (NOT the one in - the WAR) to the web server. (Be sure that the web server has - its MIME types configured correctly so that the .jnlp file is - served as an application/jnlp or the like, not text/xml.) - - YES, THIS MEANS WE'RE NOT MAKING FULL USE OF THE VAMP - PACKAGE. Yes, it means that we're requiring anyone who - wishes to cut a JWS release to install vamp.jar, when we - could use the built-in SignJar task instead. BUT, this - method means that we're ready for a J2EE application server - framework. - - If you change web servers or the location on the web server - where the JAR and jnlp file are located, you have to edit - ${my.app}.jnlp. Note that doing so will mean that users who've - installed ${my.app} from the old location will NOT be able to - seamlessly upgrade, so don't do this often. - - To install the Vamp Ant task, visit - 'http://www.vamphq.com/ant.html' and follow the instructions. - Note that you *CAN* just vamp.jar into Ant's 'lib' directory - with Ant 1.5.1. - --> - - - - - - - - - - - - - - - - - - - - - - + + + + + - - - - + - - - + + diff --git a/jwsbuild.xml b/jwsbuild.xml new file mode 100644 index 0000000..9c4f2ef --- /dev/null +++ b/jwsbuild.xml @@ -0,0 +1,114 @@ + + + + + + + This Jakarta Ant buildfile is used to build the Java Web Start + releases of Jskad, Savant, QuillDriver, and the Translation Tool. + This is separate from build.xml because to use this build file, + you must have installed the Venus Application Publisher's (Vamp's) + Ant tasks. Read the comments of this buildfile to learn more, or + see http://thdltools.sourceforge.net/BuildSystems.html. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +