IDEMPIERE-2662 Windows idempiere-server.bat broken
This commit is contained in:
parent
8af2d100dc
commit
a9fd85fa31
|
@ -18,7 +18,8 @@ goto START
|
|||
|
||||
:START
|
||||
@REM Setup idempiere.properties and idempiereEnv.properties
|
||||
@"%JAVA%" -Dosgi.noShutdown=false -Dosgi.compatibility.bootdelegation=true -Dosgi.install.area=setup -jar plugins/org.eclipse.osgi_3.7.*.jar -application org.adempiere.install.console-application
|
||||
FOR %%c in (plugins\org.eclipse.osgi_3.7.*.jar) DO set JARFILE=%%c
|
||||
@"%JAVA%" -Dosgi.noShutdown=false -Dosgi.compatibility.bootdelegation=true -Dosgi.install.area=setup -jar %JARFILE% -application org.adempiere.install.console-application
|
||||
|
||||
@Echo ErrorLevel = %ERRORLEVEL%
|
||||
@IF NOT ERRORLEVEL = 1 GOTO NEXT
|
||||
|
@ -30,7 +31,7 @@ goto START
|
|||
|
||||
:NEXT
|
||||
@REM setup tomcat
|
||||
@"%JAVA%" -Dosgi.noShutdown=false -Dosgi.compatibility.bootdelegation=true -Dosgi.install.area=setup -jar plugins/org.eclipse.osgi_3.7.*.jar -application org.eclipse.ant.core.antRunner -buildfile build.xml
|
||||
@"%JAVA%" -Dosgi.noShutdown=false -Dosgi.compatibility.bootdelegation=true -Dosgi.install.area=setup -jar %JARFILE% -application org.eclipse.ant.core.antRunner -buildfile build.xml
|
||||
|
||||
@Echo .
|
||||
@Echo For problems, check log file in base directory
|
||||
|
|
|
@ -17,4 +17,5 @@ goto START
|
|||
@Echo Starting iDempiere Server ...
|
||||
@Echo =======================================
|
||||
|
||||
@"%JAVA%" -Dosgi.compatibility.bootdelegation=true -Dosgi.noShutdown=true -Dosgi.framework.activeThreadType=normal -XX:MaxPermSize=192m -jar plugins/org.eclipse.equinox.launcher_1.*.jar -console 12612 -application org.adempiere.server.application
|
||||
FOR %%c in (plugins\org.eclipse.equinox.launcher_1.*.jar) DO set JARFILE=%%c
|
||||
@"%JAVA%" -Dosgi.compatibility.bootdelegation=true -Dosgi.noShutdown=true -Dosgi.framework.activeThreadType=normal -XX:MaxPermSize=192m -jar %JARFILE% -console 12612 -application org.adempiere.server.application
|
||||
|
|
|
@ -18,7 +18,8 @@ goto START
|
|||
|
||||
:START
|
||||
@REM Setup idempiere.properties and idempiereEnv.properties
|
||||
@"%JAVA%" -Dosgi.noShutdown=false -Dosgi.compatibility.bootdelegation=true -Dosgi.install.area=setup -jar plugins/org.eclipse.osgi_3.7.*.jar -application org.adempiere.install.application -consoleLog
|
||||
FOR %%c in (plugins\org.eclipse.osgi_3.7.*.jar) DO set JARFILE=%%c
|
||||
@"%JAVA%" -Dosgi.noShutdown=false -Dosgi.compatibility.bootdelegation=true -Dosgi.install.area=setup -jar %JARFILE% -application org.adempiere.install.application -consoleLog
|
||||
|
||||
@Echo ErrorLevel = %ERRORLEVEL%
|
||||
@IF NOT ERRORLEVEL = 1 GOTO NEXT
|
||||
|
@ -31,7 +32,7 @@ goto START
|
|||
:NEXT
|
||||
@REM setup tomcat
|
||||
@Echo ... Setup Tomcat
|
||||
@"%JAVA%" -Dosgi.noShutdown=false -Dosgi.compatibility.bootdelegation=true -Dosgi.install.area=setup -jar plugins/org.eclipse.osgi_3.7.*.jar -application org.eclipse.ant.core.antRunner -buildfile build.xml
|
||||
@"%JAVA%" -Dosgi.noShutdown=false -Dosgi.compatibility.bootdelegation=true -Dosgi.install.area=setup -jar %JARFILE% -application org.eclipse.ant.core.antRunner -buildfile build.xml
|
||||
|
||||
@Echo ...
|
||||
@Echo For problems, check log file in base directory
|
||||
|
|
Loading…
Reference in New Issue