source: local/greenstone3/linux-android-ndk-cross/gs3-setup.bash@ 26820

Last change on this file since 26820 was 26780, checked in by davidb, 11 years ago

Initial cut at setup files for compiling Greenstone3 using the Android NDK

File size: 688 bytes
Line 
1
2
3
4#-- Java --
5
6if [ "x$JAVA_HOME" = "x" ] ; then
7
8 #export JAVA_HOME=/data/java/jdk1.6.0_21
9 export JAVA_HOME=/research/local/jdk-64bit-1.7
10
11 export PATH=$JAVA_HOME/bin:$PATH
12
13 echo "+ Setting JAVA_HOME to"
14 echo "+ $JAVA_HOME"
15 echo "+ and updating PATH accordingly"
16else
17 if [ ! -d $JAVA_HOME ] ; then
18 echo "Warning: JAVA_HOME already set, but the directory:"
19 echo " $JAVA_HOME"
20 echo "Cannot be found"
21 echo "====="
22 sleep 5
23 fi
24fi
25
26
27#-- Ant --
28
29if [ "x$ANT_HOME" = "x" ] ; then
30
31 export ANT_HOME=`pwd`/apache-ant-1.8.1
32 export PATH=$ANT_HOME/bin:$PATH
33
34 echo "+ Setting ANT_HOME to:"
35 echo "+ $ANT_HOME"
36 echo "+ and updating PATH accordingly"
37fi
Note: See TracBrowser for help on using the repository browser.