Standalone bat for Windows
This commit is contained in:
parent
7f39620ec2
commit
ba2465560b
BIN
plugins/com.ibm.ffdc.jar
Normal file
BIN
plugins/com.ibm.ffdc.jar
Normal file
Binary file not shown.
@ -1,25 +1,16 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
set WPS_HOME=@WpsInstallLocation@
|
set cpath=.\plugins\com.ibm.ws.runtime.jar
|
||||||
set WAS_HOME=@WasInstallLocation@
|
set cpath=%cpath%;.\lib\bootstrap.jar
|
||||||
|
set cpath=%cpath%;.\plugins\com.ibm.ws.emf.jar
|
||||||
|
set cpath=%cpath%;.\plugins\org.eclipse.emf.ecore.jar
|
||||||
|
set cpath=%cpath%;.\plugins\org.eclipse.emf.common.jar
|
||||||
|
|
||||||
REM Set JAVA_HOME
|
set cpath=%cpath%;.\base\wp.xml.client.jar
|
||||||
REM Check SDK setting in the profile first. If not available, set SDK from WAS binary tree.
|
set cpath=%cpath%;.\base\wp.base.jar
|
||||||
set MY_CWD=%CD%
|
set cpath=%cpath%;.\base\wp.engine.impl.jar
|
||||||
cd /d %~dp0
|
set cpath=%cpath%;.\base\wp.utilities.streams.jar
|
||||||
if exist "..\..\bin\sdk\_setupSdk.bat" (
|
set cpath=%cpath%;.\lib\j2ee.jar
|
||||||
call ..\..\bin\sdk\_setupSdk.bat
|
set cpath=%cpath%;.\plugins\com.ibm.ffdc.jar
|
||||||
) else (
|
|
||||||
cd /d "%WAS_HOME%\bin\sdk"
|
|
||||||
call "%WAS_HOME%\bin\sdk\_setupSdk.bat"
|
|
||||||
)
|
|
||||||
|
|
||||||
set cpath=%WAS_HOME%\plugins\com.ibm.ws.runtime.jar
|
"%JAVA_HOME%\bin\java" -classpath "%cpath%" com.ibm.wps.xmlaccess.XmlAccess %*
|
||||||
set cpath=%cpath%;%WAS_HOME%\lib\bootstrap.jar
|
|
||||||
set cpath=%cpath%;%WAS_HOME%\plugins\com.ibm.ws.emf.jar
|
|
||||||
set cpath=%cpath%;%WAS_HOME%\plugins\org.eclipse.emf.ecore.jar
|
|
||||||
set cpath=%cpath%;%WAS_HOME%\plugins\org.eclipse.emf.common.jar
|
|
||||||
|
|
||||||
cd /d %MY_CWD%
|
|
||||||
|
|
||||||
"%JAVA_HOME%\bin\java" -classpath "%WPS_HOME%\base\wp.xml.client\bin\wp.xml.client.jar;%WPS_HOME%\base\wp.base\shared\app\wp.base.jar;%WPS_HOME%\base\wp.engine.impl\shared\app\wp.engine.impl.jar;%WPS_HOME%\base\wp.utilities.streams\shared\app\wp.utilities.streams.jar;%WAS_HOME%\lib\j2ee.jar;%WAS_HOME%\plugins\com.ibm.ffdc.jar;%cpath%" com.ibm.wps.xmlaccess.XmlAccess %*
|
|
||||||
|
Loading…
Reference in New Issue
Block a user