minor - fixing comments on Post Migration scripts - copying from oracle to oracleXe
This commit is contained in:
parent
1df79a8a4f
commit
b57abc2d04
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $Id: RUN_ImportAdempiere.sh,v 1.9 2005/01/22 21:59:15 jjanke Exp $
|
||||
# $Id: RUN_PostMigration.sh
|
||||
|
||||
if [ $ADEMPIERE_HOME ]; then
|
||||
cd $ADEMPIERE_HOME/utils
|
||||
|
@ -53,9 +53,9 @@ echo
|
|||
# Parameter: <systemAccount> <AdempiereID> <AdempierePwd> <SystemPwd>
|
||||
sh $ADEMPIERE_DB_PATH/PostMigration.sh $SYSUSER/$ADEMPIERE_DB_SYSTEM $ADEMPIERE_DB_USER $ADEMPIERE_DB_PASSWORD $ADEMPIERE_DB_SYSTEM
|
||||
|
||||
#Run Synchronized Terminology
|
||||
#Run Synchronize Terminology
|
||||
echo
|
||||
echo Synchronized Terminology
|
||||
echo Synchronize Terminology
|
||||
echo
|
||||
|
||||
$JAVA_HOME/bin/java $JAVA_OPTS $ADEMPIERE_OPTS -classpath $MYCLASSPATH org.compiere.process.SynchronizeTerminology
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
# $Id: ImportAdempiere.sh,v 1.10 2005/12/20 07:12:17 jjanke Exp $
|
||||
echo Adempiere Database Import $Revision: 1.10 $
|
||||
|
||||
echo Importing Adempiere DB from $ADEMPIERE_HOME/data/Adempiere.dmp
|
||||
# $Id: PostMigration.sh
|
||||
echo Oracle Post Migration Scripts
|
||||
|
||||
if [ $# -le 2 ]
|
||||
then
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
# $Id: PostMigration.sh
|
||||
echo Oracle Post Migration Scripts
|
||||
|
||||
if [ $# -le 2 ]
|
||||
then
|
||||
echo "Usage: $0 <systemAccount> <AdempiereID> <AdempierePWD>"
|
||||
echo "Example: $0 system/manager adempiere adempiere"
|
||||
exit 1
|
||||
fi
|
||||
if [ "$ADEMPIERE_HOME" = "" -o "$ADEMPIERE_DB_NAME" = "" ]
|
||||
then
|
||||
echo "Please make sure that the environment variables are set correctly:"
|
||||
echo " ADEMPIERE_HOME e.g. /Adempiere"
|
||||
echo " ADEMPIERE_DB_NAME e.g. adempiere.adempiere.org"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo -------------------------------------
|
||||
echo Add missing translations
|
||||
echo -------------------------------------
|
||||
echo sqlplus $2/$3@$ADEMPIERE_DB_SERVER/$ADEMPIERE_DB_NAME @$ADEMPIERE_HOME/utils/$ADEMPIERE_DB_PATH/01_add_missing_Translations.sql
|
|
@ -1,7 +1,5 @@
|
|||
# $Id: ImportAdempiere.sh,v 1.10 2005/12/20 07:12:17 jjanke Exp $
|
||||
echo Adempiere Database Import $Revision: 1.10 $
|
||||
|
||||
echo Importing Adempiere DB from $ADEMPIERE_HOME/data/Adempiere_pg.dmp
|
||||
# $Id: PostMigration.sh
|
||||
echo Postgresql Post Migration Scripts
|
||||
|
||||
if [ $# -le 2 ]
|
||||
then
|
||||
|
@ -19,7 +17,7 @@ fi
|
|||
|
||||
export PGPASSWORD=$3
|
||||
echo -------------------------------------
|
||||
echo Import Adempiere_pg.dmp
|
||||
echo Add missing translations
|
||||
echo -------------------------------------
|
||||
psql -d $ADEMPIERE_DB_NAME -U $2 -f 01_add_missing_translations.sql
|
||||
export PGPASSWORD=
|
||||
|
|
Loading…
Reference in New Issue