Looks like that did the trick, it looks like it's working now. And it was a good reason to upgrade my project to sling 9
Thanks! --mike On Thu, Sep 1, 2016 at 2:40 AM, Oliver Lietz <[email protected]> wrote: > On Wednesday 31 August 2016 21:58:53 Mike Nimer wrote: >> I'm trying to define the folder for the Tar/Repository files in Sling. >> However, I can't figure out the right way to set the repository.home >> folder on initial setup. >> >> As I understand it, the Tar SegmentNodeStoreService is supposed to >> default to a folder under the {sling.home} path, set with the -c >> argument. No matter what I try it is always placing the repository >> folder relative to the folder I'm running java from. The rest of the >> Sling files goes in the sling.home folder. >> >> For instance, if I'm in >> >> ~/Development >> >> and I run >> >> java -jar project/target/sling-app.jar -c /temp >> >> The sling bundles, logs, etc will be under /temp, but the >> sling/repository folder will be put under the ~/Development/sling >> folder. (what I want to change) >> >> I've tried adding these extra command line arguments too, but they don't >> help. >> >> -Drepository.home=/temp >> -Dsling.repository.home=/temp > > Hi Mike, > > please see SLING-6022 and report back if it works for you. > Sorry for the inconvenience. > > Regards, > O. > >> Thanks in advance >> --mike >
