set JAVA_BIN=%JAVA_HOME%\bin\javaw.exe
if /I x%DEBUG_MODE%==xdebug set JAVA_BIN=%JAVA_HOME%\bin\java.exe
set CUR_DIR=%CD%
cd /D "%INSTALL_PATH%\lib"
@rem set classpath
set CP=%CLASSPATH%
if exist log\%LOG_BRIDGE% set CP=log/%LOG_BRIDGE%/*;%CP%
if exist jdbc set CP=jdbc/*;%CP%
if exist 3rd-party set CP=3rd-party/*;%CP%
if exist sos set CP=sos/*;%CP%
set CP=%CP%;*
if exist patches set CP=patches/*;%CP%
set CALLARGS=-classpath "%CP%" %LOG4JPROP% %JAVA_OPTIONS% -DSCHEDULER_HOME="%SCHEDULER_HOME%" -DSCHEDULER_DATA="%SCHEDULER_DATA%" -DSCHEDULER_HOT_FOLDER="%SCHEDULER_HOT_FOLDER%" sos.scheduler.editor.app.Editor
if /I x%DEBUG_MODE%==xdebug (
echo cd "%CD%"
echo "%JAVA_BIN%" %CALLARGS%
echo.
"%JAVA_BIN%" %CALLARGS%
) else (
start "JobScheduler Object Editor" "%JAVA_BIN%" %CALLARGS%
)