Did things change in the newest release? I'm running (per the discussion back in April):

./gradlew "ofbiz --load-data readers=seed,seed-initial" loadAdminUserLogin -PuserLoginId=admin

and getting errors. And it's unrelated, probably, but I'm curious as to why gradle isn't using the openjava I've got installed. All my symlinks (/usr/bin/java*, etc) are pointing to openjava's binaries, not Oracle's.

15:17:18.024 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :ofbiz ‐‐load-data readers=seed,seed-initial FAILED 15:17:18.024 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :ofbiz ‐‐load-data readers=seed,seed-initial (Thread[main,5,main]) completed. Took 0.268 secs. 15:17:18.024 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 6.219 secs, idle: 0.003 secs
15:17:18.040 [ERROR] [org.gradle.BuildExceptionReporter]
15:17:18.040 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
15:17:18.040 [ERROR] [org.gradle.BuildExceptionReporter]
15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':ofbiz ‐‐load-data readers=seed,seed-initial'. 15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] > Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with non-zero exit value 1
15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter]
15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] * Try:
15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] Run with --stacktrace option to get the stack trace.
15:17:18.043 [LIFECYCLE] [org.gradle.BuildResultLogger]
15:17:18.043 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED


On 04/20/2017 03:16 AM, Jacopo Cappellato wrote:
On Thu, Apr 20, 2017 at 4:03 AM, Craig Parker <[email protected]> wrote:

So, this (I tried them one at a time to see what happens -- and noticed
stopping and starting ofbiz appears to be necessary):

./gradlew "ofbiz --load-data readers=seed"
./gradlew "ofbiz --load-data readers=seed-initial"
./gradlew loadAdminUserLogin -PuserLoginId=admin

will give me an ofbiz install ready, data-wise, to start using in a
production environment? At this point I'd start keying in products,
vendors, etc ?

Will this:

./gradlew "ofbiz --load-data readers=seed,seed-initial loadAdminUserLogin
-PuserLoginId=admin"

The correct command is:

./gradlew "ofbiz --load-data readers=seed,seed-initial" loadAdminUserLogin
-PuserLoginId=admin

the difference with your version is that the quotes ("") should only wrap
the part:
"ofbiz --load-data readers=seed,seed-initial"


Get it all done in one fell swoop?

Exactly.


Readme wasn't clear, to me at least.

I'm still a ways off, and hope to be helping along with docs as I go, but
I'm just trying to find the "you are here" sign.

Thanks for your effort and feedback; it would be great to get your help
with documentation etc..

Jacopo


Reply via email to