source: trunk/expeditee-devel.sh@ 551

Last change on this file since 551 was 551, checked in by davidb, 10 years ago

Greenstone inspired setup/devel scripting

  • Property svn:executable set to *
File size: 747 bytes
Line 
1
2
3which javac >/dev/null 2>&1
4
5if [ $? != 0 ] ; then
6 export JAVA_HOME="/cygdrive/c/Program Files/Java/jdk1.7.0_45"
7 export PATH=$JAVA_HOME/bin/:$PATH
8
9 echo "+ Set JAVA_HOME to $JAVA_HOME and updated path"
10
11 cygpath 2>/dev/null
12 if [ $? != 0 ] ; then
13 echo "Detected runing in Cygwin environment => Changing JAVA_HOME to Windows native format"
14 export JAVA_HOME=`cygpath -w "$JAVA_HOME"`
15 fi
16
17fi
18
19
20expeditee_home=`pwd`;
21export ANT_HOME="$expeditee_home/dev/packages/apache-ant-1.9.2"
22export PATH="$ANT_HOME/bin/:$PATH"
23
24echo "+ Set ANT_HOME to $ANT_HOME and updated path"
25
26
27echo "-----"
28echo "To create an Expeditee distribution, type:"
29echo ""
30echo " ant fresh_dist_exp"
31echo ""
32echo "or:"
33echo " ant fresh_dist_apollo"
34
35echo ""
36
Note: See TracBrowser for help on using the repository browser.