| @echo off | |
| @setlocal | |
| call "%~dp0setenv.cmd" | |
| @REM User may increase Java memory setting(s) if desired: | |
| set JVM_ARGS=-Xmx256m | |
| @REM If going through a proxy, set the proxy host and proxy port below, then uncomment the line | |
| @REM set JVM_ARGS=%JVM_ARGS% -DproxySet=true -Dhttp.proxyHost= -Dhttp.proxyPort= | |
| @REM Please do not change any of the following lines: | |
| set _FIXPATH= | |
| call :fixpath "%~dp0" | |
| set THIS=%_FIXPATH:~1% | |
| set CLASSPATH=%THIS%..\jlib\sdo\commonj.sdo_2.1.1.v201112051852.jar | |
| set CLASSPATH=%CLASSPATH%;%THIS%..\jlib\eclipselink.jar | |
| set JAVA_ARGS=%* | |
| %JAVA_HOME%\bin\java.exe -cp %CLASSPATH% %JVM_ARGS% org.eclipse.persistence.sdo.helper.SDOClassGenerator %JAVA_ARGS% | |
| @endlocal | |
| goto :EOF | |
| :fixpath | |
| if not %1.==. ( | |
| for /f "tokens=1* delims=;" %%a in (%1) do ( | |
| call :shortfilename "%%a" & call :fixpath "%%b" | |
| ) | |
| ) | |
| goto :EOF | |
| :shortfilename | |
| for %%i in (%1) do set _FIXPATH=%_FIXPATH%;%%~fsi | |
| goto :EOF |