Re: Clean Slate

2017-12-13 Thread Jacques Le Roux
I already documented an issue with Word at https://cwiki.apache.org/confluence/display/OFBENDUSER/How+to+Install+OFBiz+without+the+Demo+Data I have now completed with other possible cases. I have also documented this possible issue at https://cwiki.apache.org/confluence/display/OFBIZ/From+Ant+

Re: Clean Slate

2017-12-13 Thread Craig Parker
./gradlew "ofbiz ‐‐load-data readers=seed,seed-initial" loadAdminUserLogin -PuserLoginId=admin\ That's pasted from Geany. I'm throwing another clean OFBiz on my laptop -- I'll try again there. This other one appears to be running fine now. On 12/13/2017 06:04 PM, Jacques Le Roux wrote: gradl

Re: Clean Slate

2017-12-13 Thread Jacques Le Roux
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" loadAdminUser

Re: Clean Slate

2017-12-13 Thread Craig Parker
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 failed miserably t

Re: Clean Slate

2017-11-22 Thread Jacques Le Roux
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.1

Re: Clean Slate

2017-11-22 Thread Craig Parker
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

Re: Clean Slate

2017-05-12 Thread Jacques Le Roux
Le 08/05/2017 à 12:16, Taher Alkhateeb a écrit : inline On Mon, May 8, 2017 at 12:42 PM, Jacques Le Roux < jacques.le.r...@les7arts.com> wrote: Le 08/05/2017 à 10:20, Taher Alkhateeb a écrit : I don't think we need to repeat ourselves. The discussion in this thread already mentioned names to

Re: Clean Slate

2017-05-08 Thread Taher Alkhateeb
inline On Mon, May 8, 2017 at 12:42 PM, Jacques Le Roux < jacques.le.r...@les7arts.com> wrote: > Le 08/05/2017 à 10:20, Taher Alkhateeb a écrit : > >> I don't think we need to repeat ourselves. The discussion in this thread >> already mentioned names to replace loadDefault >> > > So I understand

Re: Clean Slate

2017-05-08 Thread Jacques Le Roux
Le 08/05/2017 à 10:20, Taher Alkhateeb a écrit : I don't think we need to repeat ourselves. The discussion in this thread already mentioned names to replace loadDefault So I understand that loadAllData, which is quite clear, is OK to replace loadDefault As for shutdown, this is again repeati

Re: Clean Slate

2017-05-08 Thread Taher Alkhateeb
I don't think we need to repeat ourselves. The discussion in this thread already mentioned names to replace loadDefault As for shutdown, this is again repeating a discussion that was had a while ago and shows in detail why it was not _replaced_ On Mon, May 8, 2017 at 10:37 AM, Jacques Le Roux < j

Re: Clean Slate

2017-05-08 Thread Jacques Le Roux
Hi All, Would we agree on loadAllData? I also would like to replace shutdown by stop (we have start, so stop), agreed? Jacques Le 19/04/2017 à 20:49, Jacques Le Roux a écrit : Maybe loadAllData ? And what about stop instead of shutdown. Why shutdown replaced stop? Jacques Le 19/04/2017 à

Re: Clean Slate

2017-04-20 Thread Jacopo Cappellato
On Thu, Apr 20, 2017 at 4:03 AM, Craig Parker 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 lo

Re: Clean Slate

2017-04-19 Thread Taher Alkhateeb
Yup you got the command right On Apr 20, 2017 5:03 AM, "Craig Parker" 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=see

Re: Clean Slate

2017-04-19 Thread Craig Parker
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 inst

Re: Clean Slate

2017-04-19 Thread Jacques Le Roux
Maybe loadAllData ? And what about stop instead of shutdown. Why shutdown replaced stop? Jacques Le 19/04/2017 à 10:12, Taher Alkhateeb a écrit : 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 m

Re: Clean Slate

2017-04-19 Thread Jacopo Cappellato
On Wed, Apr 19, 2017 at 9:35 AM, Jacopo Cappellato < jacopo.cappell...@hotwaxsystems.com> wrote: > 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 f

Re: Clean Slate

2017-04-19 Thread Craig Parker
I ran ./gradlew cleanAll and dropped the three mysql databases, then recreated blank dbs and launched with the init.d script I grabbed. Looks like that is essentially running: /ofbiz/gradlew ofbiz So it looks like I missed the "enough data to run but not the sample data" boat. I do see it in

Re: Clean Slate

2017-04-19 Thread Deepak Dixit
I think loadAll is also not clear In case of cleanAll it cleans miscellaneous thing that are not co-related so it make sense. Thanks & Regards -- Deepak Dixit www.hotwaxsystems.com On Wed, Apr 19, 2017 at 12:01 PM, Pierre Smits wrote: > Hi Craig, > > You're not complete correct. The ./gradlew

Re: Clean Slate

2017-04-19 Thread Pierre Smits
+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: th

Re: Clean Slate

2017-04-19 Thread Devanshu Vyas
+1 for 'loadData', more clear. And I agree with Taher, it is consistent with 'load-data'. Thanks & Regards, Devanshu Vyas. On Wed, Apr 19, 2017 at 1:42 PM, Taher Alkhateeb wrote: > I would suggest "loadData" to keep it consistent with the actual alias > "--load-data" and in the README.md and ta

Re: Clean Slate

2017-04-19 Thread Taher Alkhateeb
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 < jacques.le.r...@les7arts.com> wrote: > +1 for loadAll, clearer indeed > > I also got trapped

Re: Clean Slate

2017-04-19 Thread Jacques Le Roux
+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 mislead

Re: Clean Slate

2017-04-19 Thread Jacopo Cappellato
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 op

Re: Clean Slate

2017-04-18 Thread Pierre Smits
Hi Craig, You're not complete correct. The ./gradlew cleanAll loadDefault will - through the 'cleanAll' command: - delete jars, logs, the derby rdbms, Lucene indexes, etc - through the 'loadDefault' command: - load *all* datasets (seed, seed-extension and all demo data, from

Re: Clean Slate

2017-04-18 Thread Taher Alkhateeb
Hi Craig, loadDefault is an alias for "ofbiz --load-data" which by default loads all data sets. cleanAll deletes everything including the database but only if the database is derby (embedded). If your database is MySQL or Postgres, then you have to clean it up manually. I'm not sure what command