Le 13/12/2017 à 21:51, Craig Parker a écrit :
Something's weird then. I'm sitting down at this again, with a blank ubuntu
server (16.04) and watching
./gradlew cleanAll loadDefault
run fine. All of my attempts running this:
./gradlew "ofbiz ‐‐load-data readers=seed,seed-initial" loadAdminUserLogin
-PuserLoginId=admin
I suspect you are not using dash but another char which look like dash
Check http://markmail.org/message/wruaowwegfr47bky
failed miserably though. You (Jacques) have a trailing forward slash in your
command. Is that a typo, or a Windows thing?
No it's actually
gradlew "ofbiz --load-data readers=seed,seed-initial" loadAdminUserLogin
-PuserLoginId=admin
and this was a Thunderbird thing
HTH
Jacques
Other than dropping the databases, is there a cache anywhere I've got to wipe out when trying the seed data load again? I've got to wait until this
default one is finished before I can post any stack traces, but in the meantime wanted all my ducks in a row to get rid of this default data
completely.
On 11/23/2017 02:50 AM, Jacques Le Roux wrote:
Hi Craig,
It still works here on Windows using
/gradlew "ofbiz --load-data readers=seed,seed-initial" loadAdminUserLogin
-PuserLoginId=admin /
and running with
/java version "1.8.0_151"//
//Java(TM) SE Runtime Environment (build 1.8.0_151-b12)//
//Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)/
Jacques
Le 22/11/2017 à 21:22, Craig Parker a écrit :
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