[
https://issues.apache.org/jira/browse/SLING-9707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cris Rockwell updated SLING-9707:
---------------------------------
Description:
When configuring a file datastore, the variable ${sling.home} would be useful
as showed in the following feature.json and in the Starter Pull Request
([https://github.com/apache/sling-org-apache-sling-starter/pull/13])
{
"bundles":[
{
"id":"org.apache.jackrabbit:oak-segment-tar:${oak.version}",
"start-order":"15"
}
],
"configurations":{
"org.apache.jackrabbit.oak.segment.SegmentNodeStoreService":
{ "name":"Default NodeStore", "customBlobStore":true }
,
"org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore": {
"minRecordLength":4096,
"path":"${sling.home}/repository/datastore",
"cacheSizeInMB":128
}
}
}
Running java -jar dependency/org.apache.sling.feature.launcher.jar -f
slingfeature-tmp/feature-oak_tar.json -p sling
Results in a folder called ${sling.home}
{{➜ $ ls target}}
{{${sling.home} maven-archiver
org.apache.sling.starter-12-SNAPSHOT-oak_tar_far.far sling}}
{{classes maven-shared-archive-resources
org.apache.sling.starter-12-SNAPSHOT-sources.jar
sling-slingfeature-maven-plugin-fmtmp}}
{{dependency maven-status org.apache.sling.starter-12-SNAPSHOT.jar
slingfeature-tmp}}
{{generated-test-sources
org.apache.sling.starter-12-SNAPSHOT-oak_mongo_far.far rat.txt test-classes}}
was:
When configuring a file datastore, the variable ${sling.home} would be useful
as showing in the following feature.json and in the Starter Pull Request
([https://github.com/apache/sling-org-apache-sling-starter/pull/13])
{
"bundles":[
{
"id":"org.apache.jackrabbit:oak-segment-tar:${oak.version}",
"start-order":"15"
}
],
"configurations":{
"org.apache.jackrabbit.oak.segment.SegmentNodeStoreService":
{ "name":"Default NodeStore", "customBlobStore":true }
,
"org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore": {
"minRecordLength":4096,
"path":"${sling.home}/repository/datastore",
"cacheSizeInMB":128
}
}
}
Running java -jar dependency/org.apache.sling.feature.launcher.jar -f
slingfeature-tmp/feature-oak_tar.json -p sling
Results in a folder called ${sling.home}
{{➜ $ ls target}}
{{${sling.home} maven-archiver
org.apache.sling.starter-12-SNAPSHOT-oak_tar_far.far sling}}
{{classes maven-shared-archive-resources
org.apache.sling.starter-12-SNAPSHOT-sources.jar
sling-slingfeature-maven-plugin-fmtmp}}
{{dependency maven-status org.apache.sling.starter-12-SNAPSHOT.jar
slingfeature-tmp}}
{{generated-test-sources org.apache.sling.starter-12-SNAPSHOT-oak_mongo_far.far
rat.txt test-classes}}
> Variable ${sling.home}
> ----------------------
>
> Key: SLING-9707
> URL: https://issues.apache.org/jira/browse/SLING-9707
> Project: Sling
> Issue Type: Bug
> Components: Feature Model, Starter
> Affects Versions: Starter 12
> Reporter: Cris Rockwell
> Priority: Major
>
> When configuring a file datastore, the variable ${sling.home} would be useful
> as showed in the following feature.json and in the Starter Pull Request
> ([https://github.com/apache/sling-org-apache-sling-starter/pull/13])
> {
> "bundles":[
> {
> "id":"org.apache.jackrabbit:oak-segment-tar:${oak.version}",
> "start-order":"15"
> }
> ],
> "configurations":{
> "org.apache.jackrabbit.oak.segment.SegmentNodeStoreService":
> { "name":"Default NodeStore", "customBlobStore":true }
> ,
> "org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore": {
> "minRecordLength":4096,
> "path":"${sling.home}/repository/datastore",
> "cacheSizeInMB":128
> }
> }
> }
> Running java -jar dependency/org.apache.sling.feature.launcher.jar -f
> slingfeature-tmp/feature-oak_tar.json -p sling
> Results in a folder called ${sling.home}
> {{➜ $ ls target}}
> {{${sling.home} maven-archiver
> org.apache.sling.starter-12-SNAPSHOT-oak_tar_far.far sling}}
> {{classes maven-shared-archive-resources
> org.apache.sling.starter-12-SNAPSHOT-sources.jar
> sling-slingfeature-maven-plugin-fmtmp}}
> {{dependency maven-status org.apache.sling.starter-12-SNAPSHOT.jar
> slingfeature-tmp}}
> {{generated-test-sources
> org.apache.sling.starter-12-SNAPSHOT-oak_mongo_far.far rat.txt test-classes}}
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)