Commit 22f1da78 authored by Mathieu Lirzin's avatar Mathieu Lirzin

Improved: Remove unnecessary ‘ofbizDebug’ task type (OFBIZ-11302)

the standard ‘--debug-jvm’ Gradle option already provides the same
parent 81f82b12
......@@ -149,7 +149,6 @@ There are two types of tasks designed for OFBiz in Gradle:
* *OFBiz server tasks*: To execute OFBiz startup commands. These tasks start
with one of the following words:
* *ofbiz* : standard server commands
* *ofbizDebug* : server commands running in remote debug mode
* *ofbizBackground* ; server commands running in a background forked process
......@@ -175,7 +174,7 @@ tasks. Example: `gradlew loadAdminUserLogin -PuserLoginId=myadmin` =
`gradlew "ofbiz --help"`
`gradlew "ofbizDebug --test"`
`gradlew "ofbiz --test" --debug-jvm`
`gradlew "ofbizBackground --start --portoffset 10000"`
......@@ -273,11 +272,7 @@ inconsistent state / data
Starts OFBiz in remote debug mode and waits for debugger or IDEs to connect on
port *5005*
`gradlew "ofbizDebug --start"`
`gradlew ofbizDebug`
`gradlew ofbiz --debug-jvm`
==== Start OFBiz on a different port
......@@ -514,7 +509,7 @@ run a test case, in this example the component is "entity" and the case name is
listens on port *5005*
`gradlew "ofbizDebug --test component=entity --test loglevel=verbose"`
`gradlew "ofbiz --test component=entity --test loglevel=verbose" --debug-jvm`
==== Execute an integration test suite
......@@ -526,7 +521,7 @@ listens on port *5005*
listens on port *5005*
`gradlew "ofbizDebug --test component=entity --test suitename=entitytests"`
`gradlew "ofbiz --test component=entity --test suitename=entitytests" --debug-jvm`
......@@ -963,13 +963,6 @@ tasks.addRule('Pattern: ofbiz <Commands>: Execute OFBiz startup commands') { Str
tasks.addRule('Pattern: ofbizDebug <Commands>: Execute OFBiz startup commands in remote debug mode') { String taskName ->
if (taskName ==~ /^ofbizDebug\s.*/ || taskName == 'ofbizDebug') {
def arguments = (taskName - 'ofbizDebug').tokenize(' ')
createOfbizCommandTask(taskName, arguments).with { debug = true }
tasks.addRule('Pattern: ofbizBackground <Commands>: Execute OFBiz startup commands in background and output to console.log') { String taskName ->
if (taskName ==~ /^ofbizBackground\s.*/ || taskName == 'ofbizBackground') {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment