Uploaded image for project: 'JOE - JobScheduler Object Editor'
  1. JOE - JobScheduler Object Editor
  2. JOE-105

JOE Linux startup script jobeditor.sh should have debug parameter (like Windows script)

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.7.4, 1.8
    • 1.7.5, 1.8.2, 1.9
    • None

    Description

      • As of today - Problem
        • on Windows platform user can execute the jobeditor.cmd with parameter debug . With debug parameter jobeditor.com write few stdout message containing JAVA_HOME, Java options etc.
        • snippet from the jobeditor.cmd file
          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%
          )
          
        • on Linux jobeditor.sh script does not have implementation for debug paramter
      • Expected behaviour from jobeditor.sh script
        • when user executed jobeditor.sh script with debug message, script should stdout similar output as Windows script.

      Attachments

        Activity

          People

            oh Oliver Haufe
            mp Mahendra Patidar
            Oliver Haufe Oliver Haufe
            Mahendra Patidar Mahendra Patidar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h