source: trunk/expeditee-devel.bash

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

Files for being 'sourced' changed from .sh to .bash

  • Property svn:executable set to *
File size: 1006 bytes
Line 
1
2. expeditee-setup.bash
3
4
5#which javac >/dev/null 2>&1
6
7#if [ $? != 0 ] ; then
8# export JAVA_HOME="/cygdrive/c/Program Files/Java/jdk1.7.0_45"
9# export PATH=$JAVA_HOME/bin/:$PATH
10
11# echo "+ Set JAVA_HOME to $JAVA_HOME and updated path"
12
13# cygpath 2>/dev/null
14# if [ $? != 0 ] ; then
15# echo "Detected runing in Cygwin environment => Changing JAVA_HOME to Windows native format"
16# export JAVA_HOME=`cygpath -w "$JAVA_HOME"`
17# fi
18#
19#fi
20
21
22expeditee_home=`pwd`;
23export ANT_HOME="$expeditee_home/dev/packages/apache-ant-1.9.2"
24export PATH="$ANT_HOME/bin/:$PATH"
25
26echo "+ Set ANT_HOME to"
27echo "+ $ANT_HOME"
28echo "+ and updated path"
29
30# Update path to include 'dev/bin/script'
31export PATH="$expeditee_home/dev/bin/script:$PATH"
32
33if test -e local-devel.bash ; then
34 echo "+ Sourcing local-devel.bash"
35 . ./local-devel.bash
36fi
37
38
39echo "-----"
40echo "To compile Expeditee, type:"
41echo ""
42echo " ant build"
43echo ""
44echo "To run the compiled version, type:"
45echo ""
46echo " ant run"
47echo "-----"
48
49
Note: See TracBrowser for help on using the repository browser.