Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Better cmd line examples, to be discussed on dev ML

...

To load the "seed" and "ext" groups run something like:

Code Block
gradlew "ofbiz --load-data readers=seed,ext"
or
java -jar build/libs/ofbiz.jar --load-data readers=seed,ext

...

The following configuration files contain port configurations that may configured for custom OFBiz installations.
You may also use the global portoffset Java properties. Use "gradlew "ofbiz ?" or "java -jar build/libs/ofbiz.jar -h" to know more about this option.

...

On the command line this can be as simple as (but beware you might need to pass specific JVM arguments, like "-server" if you develop on Windows, see

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyOFBIZ-7321
):

Code Block
 javagradlew ofbiz
or
java -jar build/libs/ofbiz.jar

or through Gradle:

Code Block
 gradlew ofbiz

To access the application from your browser follow advice given in the Demo and Test Setup Guide

...

To run all automated tests use the following command:

Code Block
gradlew testIntegration
or
java -jar build/libs/ofbiz.jar -t
or

To run just the tests for one component run something like (for the entity component):

Code Block
gradlew "ofbiz --test component=entity"
or
 java -jar build/libs/ofbiz.jar --test component=entity

...