xmlaccess.bat.original 1.0 KB

12345678910111213141516171819202122232425
  1. @echo off
  2. set WPS_HOME=@WpsInstallLocation@
  3. set WAS_HOME=@WasInstallLocation@
  4. REM Set JAVA_HOME
  5. REM Check SDK setting in the profile first. If not available, set SDK from WAS binary tree.
  6. set MY_CWD=%CD%
  7. cd /d %~dp0
  8. if exist "..\..\bin\sdk\_setupSdk.bat" (
  9. call ..\..\bin\sdk\_setupSdk.bat
  10. ) else (
  11. cd /d "%WAS_HOME%\bin\sdk"
  12. call "%WAS_HOME%\bin\sdk\_setupSdk.bat"
  13. )
  14. set cpath=%WAS_HOME%\plugins\com.ibm.ws.runtime.jar
  15. set cpath=%cpath%;%WAS_HOME%\lib\bootstrap.jar
  16. set cpath=%cpath%;%WAS_HOME%\plugins\com.ibm.ws.emf.jar
  17. set cpath=%cpath%;%WAS_HOME%\plugins\org.eclipse.emf.ecore.jar
  18. set cpath=%cpath%;%WAS_HOME%\plugins\org.eclipse.emf.common.jar
  19. cd /d %MY_CWD%
  20. "%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 %*