Le 14/11/2017 à 06:18, Woosang Jung a écrit :

On 2017-11-12 21:52, Deepak Dixit <deepak.di...@hotwaxsystems.com> wrote:
Hi Javier H.

Your email has been moderated,Please subscribe mailing list
http://ofbiz.apache.org/mailing-lists.html

Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com
www.hotwax.co


---------- Forwarded message ----------
From: "Javier H." <droin...@gmail.com>
To: <user@ofbiz.apache.org>
Cc:
Bcc:
Date: Mon, 13 Nov 2017 04:08:55 -0000
Subject: Install Ofbiz without demo data
Hello,

I try to install Ofbiz without demo data in linux but i get this error:

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

:ofbiz ‐‐load-data readers=seed,seed-initial (Thread[main,5,main]) started.
:ofbiz ‐‐load-data readers=seed,seed-initial
Executing task ':ofbiz ‐‐load-data readers=seed,seed-initial' (up-to-date
check took 0.001 secs) due to:
   Task has not declared any outputs.
Starting process 'command '/usr/lib/jvm/java-8-oracle/bin/java''. Working
directory: /opt/apache-ofbiz-16.11.03 Command: 
/usr/lib/jvm/java-8-oracle/bin/java
-Xms128M -Xmx1024M -Dfile.encoding=UTF-8 -Duser.country=ES
-Duser.language=es -Duser.variant -cp 
/opt/apache-ofbiz-16.11.03/build/libs/ofbiz.jar
org.apache.ofbiz.base.start.Start ‐‐load-data readers=seed,seed-initial
Successfully started process 'command '/usr/lib/jvm/java-8-oracle/
bin/java''
============================================================
===================
unrecognized options / properties: [‐‐load-data, readers=seed,seed-initial]
============================================================
===================
usage: ofbiz|ofbizDebug|ofbizBackground [-? | -d | -l <key=value> | -s |
-t
        <key=value> | -u]   [-o <offset>]


note: Only one command can execute at a time. Portoffset may be appended.
Also a command must be invoked separately for each argument e.g.
gradlew "ofbiz --test component=somecomp --test case=somecase"
:ofbiz ‐‐load-data readers=seed,seed-initial FAILED
:ofbiz ‐‐load-data readers=seed,seed-initial (Thread[main,5,main])
completed. Took 0.199 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ofbiz ‐‐load-data readers=seed,seed-initial'.
Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with
non-zero exit value 1




Hi Javier,
That happened to me also and took me a while to solve the mystery. If you copy 
and pasted the command from the web or Word file, try typing in the command 
instead of copy and pasting it. :)

Hi Woosang Jung,

I don't know (and don't want to know ;)) about Word but, from where did you 
copy on the web?

Thanks

Jacques

Reply via email to