+1 on having unambiguous commands (and explanations) regarding the use of OFBiz.
Replacing loadDefault with loadData doesn't remove the ambiguity.. And having the adopter to use multiple parameters to get to a minimal operational state is not delivering the best UX. Better is it to turn around: the base should deliver just that, and if people (or systems like the demo site) want to have demo data in their setup they should apply the extra step. Best regards, Pierre Smits ORRTIZ.COM <http://www.orrtiz.com> OFBiz based solutions & services OFBiz Extensions Marketplace http://oem.ofbizci.net/oci-2/ On Wed, Apr 19, 2017 at 10:12 AM, Taher Alkhateeb < [email protected]> wrote: > I would suggest "loadData" to keep it consistent with the actual alias > "--load-data" and in the README.md and task description describe what that > means. > > On Wed, Apr 19, 2017 at 10:57 AM, Jacques Le Roux < > [email protected]> wrote: > > > +1 for loadAll, clearer indeed > > > > I also got trapped by "shutdown" (for ofbizBackground), instead of "stop" > > we had before. > > > > Would you agree (All) to change it too? Not too late right? > > > > Jacques > > > > > > > > Le 19/04/2017 à 09:35, Jacopo Cappellato a écrit : > > > >> Hi Craig, > >> > >> the name loadDefault may be a bit misleading: it actually loads the seed > >> data but also testing and demo data (maybe loadAll may be more > accurate). > >> Anyway, you are probably looking for: > >> > >> ./gradlew "ofbiz --load-data readers=seed,seed-initial" > >> > >> You will find a description of the various options and their meaning in > >> the > >> README.md file section titled "Data loading tasks". > >> > >> Regards, > >> > >> Jacopo > >> > >> On Wed, Apr 19, 2017 at 2:40 AM, Craig Parker <[email protected]> > >> wrote: > >> > >> ./gradlew cleanAll loadDefault will load some test data. Or is that > wrong? > >>> I'm only thinking so because I saw things in the PRODUCTS table besides > >>> the > >>> item I started creating. > >>> > >>> Dropping the databases, running and firing OFBiz up again seems to have > >>> rebuilt the databases (I thought I'd read somewhere that they'd get > >>> rebuilt > >>> like that), but there's no data. This was the desired effect, but I > can't > >>> launch the software now. I can post the whole error, or just say that I > >>> see > >>> a lot of "Template location is empty" messages. > >>> > >>> Is that the right way to start with a clean slate and I missed a step, > or > >>> is that totally wrong? > >>> > >>> > > >
