2006-11-17 10:09:16 +07:00
|
|
|
# Module compiling script
|
|
|
|
# Ported from Windows script Marek Mosiewicz<marek.mosiewicz@jotel.com.pl>
|
|
|
|
|
|
|
|
|
|
|
|
SAVED_DIR=`pwd` #save current dir
|
2009-11-28 19:53:56 +07:00
|
|
|
cd `dirname $0`/../utils_dev #change dir to place where script resides - doesn't work with sym links
|
|
|
|
UTILS_DEV=`pwd` #this is ADempiere source
|
2006-11-17 10:09:16 +07:00
|
|
|
cd $SAVED_DIR #back to the saved directory
|
|
|
|
|
2009-11-28 19:53:56 +07:00
|
|
|
./$UTILS_DEV/myDevEnv.sh #call environment
|
2006-11-17 10:09:16 +07:00
|
|
|
echo done
|
|
|
|
if [ ! $ADEMPIERE_ENV==Y ] ; then
|
2009-11-28 19:53:56 +07:00
|
|
|
echo "Can't set development environment - check myDevEnv.sh"
|
2006-11-17 10:09:16 +07:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo running Ant
|
|
|
|
$JAVA_HOME/bin/java -Dant.home="." $ANT_PROPERTIES org.apache.tools.ant.Main
|