svn commit: r1756349 - in /ofbiz/trunk/framework: entityext/src/main/java/org/apache/ofbiz/entityext/data/EntityDataLoadContainer.java start/src/main/java/org/apache/ofbiz/base/start/StartupCommand.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1756349 - in /ofbiz/trunk/framework: entityext/src/main/java/org/apache/ofbiz/entityext/data/EntityDataLoadContainer.java start/src/main/java/org/apache/ofbiz/base/start/StartupCommand.java

jleroux@apache.org
Author: jleroux
Date: Mon Aug 15 05:35:15 2016
New Revision: 1756349

URL: http://svn.apache.org/viewvc?rev=1756349&view=rev
Log:
No functional changes, simply update the documentation with respect to Gradle changes

Modified:
    ofbiz/trunk/framework/entityext/src/main/java/org/apache/ofbiz/entityext/data/EntityDataLoadContainer.java
    ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/StartupCommand.java

Modified: ofbiz/trunk/framework/entityext/src/main/java/org/apache/ofbiz/entityext/data/EntityDataLoadContainer.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entityext/src/main/java/org/apache/ofbiz/entityext/data/EntityDataLoadContainer.java?rev=1756349&r1=1756348&r2=1756349&view=diff
==============================================================================
--- ofbiz/trunk/framework/entityext/src/main/java/org/apache/ofbiz/entityext/data/EntityDataLoadContainer.java (original)
+++ ofbiz/trunk/framework/entityext/src/main/java/org/apache/ofbiz/entityext/data/EntityDataLoadContainer.java Mon Aug 15 05:35:15 2016
@@ -102,11 +102,10 @@ public class EntityDataLoadContainer imp
            file (import a specific XML file)
 
            Example:
-           $ java -jar ofbiz.jar -load-data -readers=seed,demo,ext -timeout=7200 -delegator=default -group=org.apache.ofbiz
-           $ java -jar ofbiz.jar -load-data -file=/tmp/dataload.xml
-           Currently no dashes before load-data, see OFBIZ-5872
-               $ java -jar ofbiz.jar load-data -readers=seed,demo,ext -timeout=7200 -delegator=default -group=org.apache.ofbiz
-               $ java -jar ofbiz.jar load-data -file=/tmp/dataload.xml
+           $ java -jar build/libs/ofbiz.jar --load-data -readers=seed,demo,ext -timeout=7200 -delegator=default -group=org.apache.ofbiz
+           $ java -jar build/libs/ofbiz.jar --load-data -file=/tmp/dataload.xml
+           $ java -jar build/libs/ofbiz.jar --load-data -readers=seed,demo,ext -timeout=7200 -delegator=default -group=org.apache.ofbiz
+           $ java -jar build/libs/ofbiz.jar --load-data -file=/tmp/dataload.xml
         */
         if (args != null) {
             for (String argument: args) {
@@ -176,10 +175,9 @@ public class EntityDataLoadContainer imp
                         createConstraints = true;
                     }
                 } else if ("help".equalsIgnoreCase(argumentName)) {
-                    //"java -jar ofbiz.jar -load-data [options]\n" +
-                    // Currently no dashes before load-data, see OFBIZ-5872
+                    //"java -jar build/libs/ofbiz.jar --load-data [options]\n" +
                     String helpStr = "\n--------------------------------------\n" +
-                    "java -jar ofbiz.jar load-data [options]\n" +
+                    "java -jar build/libs/ofbiz.jar --load-data [options]\n" +
                     "-component=[name] .... only load from a specific component\n" +
                     "-delegator=[name] .... use the defined delegator (default-no-eca)\n" +
                     "-group=[name] ........ override the entity group (org.apache.ofbiz)\n" +

Modified: ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/StartupCommand.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/StartupCommand.java?rev=1756349&r1=1756348&r2=1756349&view=diff
==============================================================================
--- ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/StartupCommand.java (original)
+++ ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/StartupCommand.java Mon Aug 15 05:35:15 2016
@@ -26,7 +26,7 @@ import java.util.Map;
  * <p>
  * A <tt>StartupCommand</tt> represents a processed command line argument passed
  * to OFBiz such that it is no longer a raw string but an instance of this class.
- * For example: <code>java -jar ofbiz.jar --status</code> where status is a command.
+ * For example: <code>java -jar build/libs/ofbiz.jar --status</code> where status is a command.
  * </p>
  */
 final class StartupCommand {