Uploaded image for project: 'JBeret'
  1. JBeret
  2. JBERET-393

Unclear how to pass job parameters to org.jberet.se.Main class

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.3.0.Beta7
    • Fix Version/s: 1.3.0.Final
    • Component/s: jberet-se
    • Labels:
      None

      Description

      When running org.jberet.se.Main to start a job in Java SE with incorrect options, you get:

      Unable to find source-code formatter for language: text. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      Usage: java -classpath ... -Dkey1=val1 ... org.jberet.se.Main jobXML
      The following application args are invalid:
      

      It's not clear how to pass batch job parameters to this class. And from the above help message, users may mistakenly think java system properties are used as job parameters. In fact, job parameters are passed in as java command-line application args.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                cfang Cheng Fang
                Reporter:
                cfang Cheng Fang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: