2010-11-04 02:46:38 +07:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# $Id: RUN_PostMigration.sh
|
|
|
|
|
2012-06-06 21:13:34 +07:00
|
|
|
if [ $IDEMPIERE_HOME ]; then
|
|
|
|
cd $IDEMPIERE_HOME/utils
|
2010-11-04 02:46:38 +07:00
|
|
|
fi
|
|
|
|
. ./myEnvironment.sh Server
|
|
|
|
|
|
|
|
#check java home
|
|
|
|
if [ $JAVA_HOME ]; then
|
|
|
|
export PATH=$JAVA_HOME/bin:$PATH
|
|
|
|
else
|
|
|
|
echo JAVA_HOME is not set.
|
2012-06-06 21:13:34 +07:00
|
|
|
echo You may not be able to build idempiere
|
2010-11-04 02:46:38 +07:00
|
|
|
echo Set JAVA_HOME to the directory of your local JDK.
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
2012-06-06 21:13:34 +07:00
|
|
|
cd $IDEMPIERE_HOME
|
2010-11-04 02:46:38 +07:00
|
|
|
|
2012-06-06 21:13:34 +07:00
|
|
|
./idempiere --launcher.ini setup.ini -application org.adempiere.base.PostMigration -consoleLog
|
2010-11-04 02:46:38 +07:00
|
|
|
|
|
|
|
echo Done ...
|
|
|
|
|
|
|
|
exit 0
|
|
|
|
|