Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-5872

Inconsistencies related to the "java -jar ofbiz.jar" commands when used with arguments

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • Trunk
    • 16.11.01
    • framework
    • None
    • Bug Crush Event - 21/2/2015

    Description

      The help gives you:

      c:\projectsASF\ofbiz>java -jar ofbiz.jar -help

      Usage: java -jar ofbiz.jar [command] [arguments]
      -both -----> Run simultaneously the POS (Point of Sales) application and OFBiz standard
      -help, -? ----> This screen
      -install -----> Run install (create tables/load data)
      -pos -----> Run the POS (Point of Sales) application
      -setup -------> Run external application server setup
      -start -------> Start the server
      -status ------> Status of the server
      -shutdown ----> Shutdown the server
      -test --------> Run the JUnit test script
      [no config] --> Use default config
      [no command] -> Start the server w/ default config

      But actually only the -help, -status and -shutdown command need a dash.

      For now we decided to change the documentation generated by the help command to remove dashes when they are not needed.

      To change
      -install -----> Run install (create tables/load data)
      by
      -load-data -----> Create tables/load data

      To comment out the
      -setup -------> Run external application server setup
      line

      More to come, see this thread: http://markmail.org/message/i36uc4zkuglmdfcd

      When done, we will try to have things consisent and re-add the missing dashes to the commands and in the help. Then the "Technical production setup guide" should be updated, pfew...

      Attachments

        Issue Links

          Activity

            People

              jleroux Jacques Le Roux
              jleroux Jacques Le Roux
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: