source: local/greenstone3/linux-32bit/gs3-setup.sh@ 28109

Last change on this file since 28109 was 28109, checked in by davidb, 7 years ago

Shift to newer version of ant

File size: 688 bytes
Line 
1
2#-- Java --
3
4if [ "x$JAVA_HOME" = "x" ] ; then
5
6 # export JAVA_HOME=/research/local/jdk-64bit-1.7
7 export JAVA_HOME=/research/root/jdk1.6.0_27
8
9 # Some other possible places that Java's SDK might be installed:
10 # export JAVA_HOME=/usr/lib/jvm/java-1.6.0
11 # export JAVA_HOME=/opt/openjdk-1.6.0
12
13 export PATH=$JAVA_HOME/bin:$PATH
14 echo "+ Setting JAVA_HOME to:"
15 echo "+ $JAVA_HOME"
16 echo "+ and updating PATH"
17fi
18
19#-- Ant --
20
21if [ "x$ANT_HOME" = "x" ] ; then
22
23 export ANT_HOME=`pwd`/apache-ant-1.9.2
24 export PATH=$ANT_HOME/bin:$PATH
25
26 echo "+ Setting ANT_HOME to:"
27 echo "+ $ANT_HOME"
28 echo "+ and updating PATH"
29fi
30
31#--
32# Assuming 'svn' is already on your path
33#--
34
Note: See TracBrowser for help on using the repository browser.