About execapi.bat

The execapi.bat file calls set_sdk_env.bat to set up the environment and run the sample files. It is generated by the installer and is in <MIDDLEWARE_HOME/user_projects/epmsystem1/bin/ReportingAnalysis/SDK.

Sample execapi.bat File

@echo OFF
@rem --------------------------------------------------------------
@rem Copyright @ 2009, Oracle Corporation. All Rights Reserved
@rem --------------------------------------------------------------
setlocal

set SET_SDK_ENV="set_sdk_env.bat"
if not exist %SET_SDK_ENV% (
   echo ERROR: Set SDK environment script %SET_SDK_ENV% file does not exist.
   goto end
)
call %SET_SDK_ENV%

set SYSPROPS=-Ddirectory="%EPM_ORACLE_HOME%\products\biplus\SDK" -
Djava.io.tmpdir="%EPM_ORACLE_INSTANCE%\diagnostics\logs\ReportingAnalysis\SDK\temp" -
Djava.util.logging.config.class=oracle.core.ojdl.logging.LoggingConfiguration -
Doracle.core.ojdl.logging.config.file=%EPM_ORACLE_INSTANCE%\config\ReportingAnalysis\SDK
92 How to Use the API Sample Programs
\logging.xml

set LOGPROP=-Dlogging.folder=%EPM_ORACLE_INSTANCE%\diagnostics\logs\ReportingAnalysis

pushd %EPM_ORACLE_INSTANCE%\ReportingAnalysis\SDK\classes

"%JAVA_HOME%\bin\java" %SYSPROPS% %LOGPROP% -classpath "%SDK_CLASSPATH%" %*

popd

:end
Endlocal