root/local/greenstone3/linux-64bit/gs3-setup.sh @ 26671

Revision 26671, 0.6 KB (checked in by davidb, 7 years ago)

First cut at a 'local' folder to help show the way for folks wanting to compile Greenstone3 from svn/source on a Linux 64-bit architecture

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