On 2017-11-13 23:54, Jacques Le Roux <[email protected]> wrote: 
> 
> 
> Le 14/11/2017 à 06:18, Woosang Jung a écrit :
> >
> > On 2017-11-12 21:52, Deepak Dixit <[email protected]> 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." <[email protected]>
> >>> To: <[email protected]>
> >>> 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
> 
> 
Hi Jacques,

It was months ago, so I'm not sure where I copied from but I see that the link 
below still has that issue, so it might be this page.

https://cwiki.apache.org/confluence/display/OFBENDUSER/How+to+Install+OFBiz+without+the+Demo+Data

In the step by step number 3, it shows the following command.

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

Back then, typing in worked, so I moved on without trying to see what the issue 
was. Now I see that the double dashes in '‐‐load-data' are not double 
dashes. Copy and paste it to Word :) and you will see the difference.

Thanks,

Woosang

Reply via email to