Re: setting repository.home

2016-09-01 Thread Oliver Lietz
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



setting repository.home

2016-08-31 Thread Mike Nimer
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

Thanks in advance
--mike