From 82e38002f70ff6f74e1cbbe8a80fc6c58dc78b0c Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Mon, 25 Jan 2021 07:14:08 +0100 Subject: [PATCH] IDEMPIERE-4670 RUN_ImportIdempiere can call RUN_SyncDB and sign-database (#552) --- .../utils.unix/RUN_ImportIdempiere.sh | 5 +++++ .../utils.windows/RUN_ImportIdempiere.bat | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/org.adempiere.server-feature/utils.unix/RUN_ImportIdempiere.sh b/org.adempiere.server-feature/utils.unix/RUN_ImportIdempiere.sh index 6c736e3e30..5e4fb1b748 100644 --- a/org.adempiere.server-feature/utils.unix/RUN_ImportIdempiere.sh +++ b/org.adempiere.server-feature/utils.unix/RUN_ImportIdempiere.sh @@ -29,3 +29,8 @@ read -r _ # Parameter: # globalqss - cruiz - 2007-10-09 - added fourth parameter for postgres(ignored in oracle) "$ADEMPIERE_DB_PATH"/ImportIdempiere.sh "$SYSUSER/$ADEMPIERE_DB_SYSTEM" "$ADEMPIERE_DB_USER" "$ADEMPIERE_DB_PASSWORD" "$ADEMPIERE_DB_SYSTEM" "$SUFFIX" + +./RUN_SyncDB.sh + +cd .. +./sign-database-build-alt.sh diff --git a/org.adempiere.server-feature/utils.windows/RUN_ImportIdempiere.bat b/org.adempiere.server-feature/utils.windows/RUN_ImportIdempiere.bat index cc249bfa8e..da27fe5219 100644 --- a/org.adempiere.server-feature/utils.windows/RUN_ImportIdempiere.bat +++ b/org.adempiere.server-feature/utils.windows/RUN_ImportIdempiere.bat @@ -20,4 +20,9 @@ cd %IDEMPIERE_HOME%\utils @Rem globalqss - cruiz - 2007-10-09 - added fourth parameter for postgres (ignored in oracle) @call %ADEMPIERE_DB_PATH%\ImportIdempiere %SYSUSER%/%ADEMPIERE_DB_SYSTEM% %ADEMPIERE_DB_USER% %ADEMPIERE_DB_PASSWORD% %ADEMPIERE_DB_SYSTEM% %SUFFIX% +@call RUN_SyncDB + +cd .. +@call sign-database-build-alt + @pause