From e3ac8b5a579fbc6675aece1176f27b43b38effd9 Mon Sep 17 00:00:00 2001
From: pmorch <pmorch@fc158eef-6c16-0410-b9c5-873085b46621>
Date: Mon, 14 Jul 2003 12:57:30 +0000
Subject: [PATCH] New compile shell script for UNIX builds

---
 JHotDraw/compile.sh  | 10 ++++++++++
 jhotdraw6/compile.sh | 10 ++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 JHotDraw/compile.sh
 create mode 100644 jhotdraw6/compile.sh

diff --git a/JHotDraw/compile.sh b/JHotDraw/compile.sh
new file mode 100644
index 000000000..296fe50a9
--- /dev/null
+++ b/JHotDraw/compile.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+# Set up JAVA_HOME and ANT_HOME as environment variables, 
+# or they will use these hard-coded defaults
+export JAVA_HOME=${JAVA_HOME:-/usr/j2sdk1.4.1_01/}
+export ANT_HOME=${ANT_HOME:-/usr/apache-ant-1.5.2/}
+
+export PATH=$PATH:$ANT_HOME/bin
+
+ant -buildfile build/BUILD.XML "$@"
diff --git a/jhotdraw6/compile.sh b/jhotdraw6/compile.sh
new file mode 100644
index 000000000..296fe50a9
--- /dev/null
+++ b/jhotdraw6/compile.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+# Set up JAVA_HOME and ANT_HOME as environment variables, 
+# or they will use these hard-coded defaults
+export JAVA_HOME=${JAVA_HOME:-/usr/j2sdk1.4.1_01/}
+export ANT_HOME=${ANT_HOME:-/usr/apache-ant-1.5.2/}
+
+export PATH=$PATH:$ANT_HOME/bin
+
+ant -buildfile build/BUILD.XML "$@"
-- 
GitLab