loadDefault translates to loading all data sets (seed,seed-initial, demo,ext, etc ...)
The code for that is big and scattered in many different places because a lot of things happen during data load (SAX parser, DOM modeling, DB translations, and a lot more). So it depends on what you are looking for and perhaps more importantly, why On Jan 16, 2018 4:05 AM, <[email protected]> wrote: > Hi, > > I guess what I should do is rephrase...if I wanted to run this under a > debugger and get a stack frame (which I'm not actually set up to do), where > would I find the source code which specifically understands which XML files > to read and load for loadDefault? The build.gradle is more of a declaration > and not so much the actual source code, and I'm more of a C++ guy (I do ok > with Java, but I don't know the web toolkits and APIs). > > ----- Original Message -----From: gil portenseigne < > [email protected]>To: [email protected]: Mon, 15 Jan > 2018 08:10:30 -0000 (UTC)Subject: Re: loadDefault Source Code > > Hello, > > You will find loadDefault task implementation within the file build.gradle > at OFBiz root directory. (see line 320) > > Regards, > > Gil > > On 14/01/2018 22:18, [email protected] wrote:> This is probably a naive > question, but on 16.11.04 I am searching for the actual code which runs for > the "loadDefault" part of:> ./gradlew loadDefault> > I'm looking for what I > might edit to create my own version of loadDefault after observing what the > existing loadDefault actually executes. I see some shell scripts passing > this on, and suspect this is part of one of the jar files, but was unable > to find the actual code.> > Thanks! > >
