core-jgi/org.adempiere.server-feature/utils.windows/RUN_ApplyPackInFromFolder.bat

15 lines
596 B
Batchfile

@Rem $Id: RUN_ApplyPackInFromFolder.bat
@if (%IDEMPIERE_HOME%) == () (CALL myEnvironment.bat Server) else (CALL %IDEMPIERE_HOME%\utils\myEnvironment.bat Server)
@Title Import Translation - %IDEMPIERE_HOME% (%ADEMPIERE_DB_NAME%)
@SET DIRECTORY=%1
@echo This Procedure import packin files from directory %DIRECTORY%
@pause
FOR %%c in (plugins\org.eclipse.equinox.launcher_1.*.jar) DO set JARFILE=%%c
@"%JAVA_HOME%\bin\java" -Dosgi.compatibility.bootdelegation=true -Dosgi.noShutdown=false -jar %JARFILE% -application org.adempiere.base.PackInFolderApplication %DIRECTORY%
@pause