root/gs3-extensions/i-greenstone-server/trunk/src/devel.sh @ 26612

Revision 26612, 1.1 KB (checked in by davidb, 6 years ago)

Minor set of bug-fixes to files when testing out in Chris's account

Line 
1
2
3# Set up environment for running mvn (Maven)
4
5if [ ! -d apache-maven-3.0.4 ] ; then
6  echo ""
7  echo "*****"
8  echo "* Untarring apache-maven binary distribution"
9  echo "*****"
10  echo ""
11
12  tar xvzf apache-maven-3.0.4-bin.tar.gz
13fi
14
15cd apache-maven-3.0.4
16export MAVEN_HOME=`pwd`
17export PATH=$MAVEN_HOME/bin:$PATH
18cd ..
19
20echo "+ Set up for i-greenstone-server"
21echo "++ Set MAVEN_HOME: $MAVEN_HOME and added to PATH"
22
23
24if [ "x$JAVA_HOME" = "x" ] ; then
25  export JAVA_HOME=/cygdrive/c/Program\ Files/Java/jdk1.6.0_38
26  export PATH=$JAVA_HOME/bin:$PATH
27  echo "++ Set JAVA_HOME: $JAVA_HOME and added to PATH"
28fi
29
30# Regular environment variable used to locate Android SDK
31
32export ANDROID_SDK_HOME=/cygdrive/c/android/android-sdk-windows/
33export PATH=$ANDROID_SDK_HOME/platform-tools:$PATH
34echo "++ set ANDROID_SDK_HOME: $ANDROID_SDK_HOME and updated PATH for platform-tools"
35
36
37# used by Maven
38export ANDROID_HOME=`cygpath -w $ANDROID_SDK_HOME`
39
40echo "++ set ANDROID_HOME=$ANDROID_HOME (os specific, for maven)"
41echo
42echo "+++ *****"
43echo "+++ To compile i-greenstone-server, type: "
44echo "+++   cd i-jetty-3.1 && mvn install && cd .."
45echo "+++ *****"
Note: See TracBrowser for help on using the browser.