source: trunk/expeditee-devel.sh@ 754

Last change on this file since 754 was 553, checked in by davidb, 11 years ago

Minor changes that resulted from testing under Cygwin

  • Property svn:executable set to *
File size: 904 bytes
RevLine 
[551]1
[552]2. expeditee-setup.sh
[551]3
4
[552]5#which javac >/dev/null 2>&1
[551]6
[552]7#if [ $? != 0 ] ; then
8# export JAVA_HOME="/cygdrive/c/Program Files/Java/jdk1.7.0_45"
9# export PATH=$JAVA_HOME/bin/:$PATH
[551]10
[552]11# echo "+ Set JAVA_HOME to $JAVA_HOME and updated path"
[551]12
[552]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
[551]20
21
22expeditee_home=`pwd`;
23export ANT_HOME="$expeditee_home/dev/packages/apache-ant-1.9.2"
24export PATH="$ANT_HOME/bin/:$PATH"
25
[553]26echo "+ Set ANT_HOME to"
27echo "+ $ANT_HOME"
28echo "+ and updated path"
[551]29
[552]30if test -e local-devel.sh ; then
[553]31 echo "+ Sourcing local-devel.sh"
[552]32 . ./local-devel.sh
33fi
[551]34
[552]35
[551]36echo "-----"
[552]37echo "To compile Expeditee, type:"
[551]38echo ""
[552]39echo " ant build"
[553]40echo ""
41echo "To run the compiled version, type:"
42echo ""
43echo " ant run"
[552]44echo "-----"
[551]45
46
Note: See TracBrowser for help on using the repository browser.