From 1aa72f21ba965d165af06f7af8d0dd3398b412c8 Mon Sep 17 00:00:00 2001 From: "Craig R. McClanahan" Date: Thu, 27 Apr 2000 20:26:10 +0000 Subject: [PATCH] Initial versions of a build script that will create nightly distribution files of Ant (and optionally install them on the Jakarta web server) that include the JAXP reference implementation JAR files ("jaxp.jar" and "parser.jar") that are redistributable. Prerequisites for the successful execution of this script are listed in the comments. Because the script is intended to run from a "cron" job on the Jakarta server, no Windows version is provided. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267662 13f79535-47bb-0310-9956-ffa450edef68 --- buildAnt | 33 +++++++++++++++++++++ buildAnt.xml | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 117 insertions(+) create mode 100755 buildAnt create mode 100644 buildAnt.xml diff --git a/buildAnt b/buildAnt new file mode 100755 index 000000000..28967d37f --- /dev/null +++ b/buildAnt @@ -0,0 +1,33 @@ +#!/bin/bash +# ----------------------------------------------------------------------------- +# buildAnt -- Build Nightly Distribution Files for ANT +# +# Goals: +# - Create nightly distribution files of Ant, including the JAXP reference +# implementation JAR files (so no extra downloads are needed), in the usual +# formats +# - Optionally, install these distribution files on the Jakarta web server +# +# Prerequisites: +# - The user under which this script runs must have done a CVS "login" +# for anonymous access to the Jakarta repositories +# - Java Development Kit, version 1.2.2, installed and configured +# (avoids compiler problems in 1.1 and 1.3 related to XML classes) +# - Ant 3.1 binary distribution installed +# - ANT_HOME points at this distribution directory (you can set it +# in ~/.antrc) +# - The "ant" script in $ANT_HOME/bin is accessible on your PATH +# - Java API for XML Parsing (JAXP) 1.0 reference implementation installed +# - JAXP_HOME points at this distribution directory (you can set it +# in ~/.antrc) +# - The "buildAnt.xml" script (from the Ant source repository) is +# in the same directory that this script is. +# - To execute the "install" target, you must be running on the Jakarta +# server, as part of group "jakarta". +# +# Author: Craig R. McClanahan +# Version: $Revision$ $Date$ +# ----------------------------------------------------------------------------- + +. ~/.antrc +ant -buildfile buildAnt.xml -Djaxp.home=$JAXP_HOME "$@" diff --git a/buildAnt.xml b/buildAnt.xml new file mode 100644 index 000000000..f85ec6cda --- /dev/null +++ b/buildAnt.xml @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +