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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 16.11.01
    • Component/s: framework
    • Labels:
      None
    • Sprint:
      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...

        Issue Links

          Activity

          Hide
          jacques.le.roux Jacques Le Roux added a comment -

          As a note, the command java -jar ofbiz.jar -pos was still working in R12.04 but not in R13.07

          Show
          jacques.le.roux Jacques Le Roux added a comment - As a note, the command java -jar ofbiz.jar -pos was still working in R12.04 but not in R13.07
          Hide
          jacques.le.roux Jacques Le Roux added a comment -

          Committed 1st phase at r1640588

          Show
          jacques.le.roux Jacques Le Roux added a comment - Committed 1st phase at r1640588
          Hide
          jacques.le.roux Jacques Le Roux added a comment -

          At revision: 1640727, I fixed and completed r1640588 and more minor things which were left after the change from run-install to load-demo

          Show
          jacques.le.roux Jacques Le Roux added a comment - At revision: 1640727, I fixed and completed r1640588 and more minor things which were left after the change from run-install to load-demo
          Hide
          jacques.le.roux Jacques Le Roux added a comment -

          Not sure what I meant here, since we don't have the POS in R13.07 it's normal it does not work there anyway

          Show
          jacques.le.roux Jacques Le Roux added a comment - Not sure what I meant here, since we don't have the POS in R13.07 it's normal it does not work there anyway
          Hide
          jacques.le.roux Jacques Le Roux added a comment -

          This was properly done by OFBIZ-6783

          Show
          jacques.le.roux Jacques Le Roux added a comment - This was properly done by OFBIZ-6783

            People

            • Assignee:
              jacques.le.roux Jacques Le Roux
              Reporter:
              jacques.le.roux Jacques Le Roux
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development

                  Agile