This is an automated email from the ASF dual-hosted git repository.
olli pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-starter-content.git
The following commit(s) were added to refs/heads/master by this push:
new 6262444 SLING-8721 Split resources into JCR and classpath content
6262444 is described below
commit 62624441fed2fc6f6cce669af859efbe47432a97
Author: Oliver Lietz <[email protected]>
AuthorDate: Mon Sep 23 15:43:32 2019 +0200
SLING-8721 Split resources into JCR and classpath content
Change directory for Sling Initial Content from jcr to initial-content
---
bnd.bnd | 2 +-
src/main/frontend/gulpfile.js | 4 ++--
src/main/resources/{jcr => initial-content}/ROOT.json | 0
.../{jcr => initial-content}/apps/sling/servlet/default/ace.html.esp | 0
.../{jcr => initial-content}/apps/sling/servlet/default/acl.html.esp | 0
.../{jcr => initial-content}/apps/sling/starter/home/home.html.esp | 0
.../apps/sling/starter/sidebar-extensions/sidebar-extensions.html.esp | 0
7 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/bnd.bnd b/bnd.bnd
index 7da78d7..5ee3783 100644
--- a/bnd.bnd
+++ b/bnd.bnd
@@ -1,3 +1,3 @@
-Sling-Initial-Content: jcr
+Sling-Initial-Content: initial-content
-includeresource: target/frontend/dist
diff --git a/src/main/frontend/gulpfile.js b/src/main/frontend/gulpfile.js
index c534fc8..e692df5 100755
--- a/src/main/frontend/gulpfile.js
+++ b/src/main/frontend/gulpfile.js
@@ -46,11 +46,11 @@ gulp.task('styles', function() {
.pipe(cleanCSS())
.pipe(concatCss('bundle.css'))
.pipe(header(apache2License))
- .pipe(gulp.dest('./dist/jcr/content/starter/css'));
+ .pipe(gulp.dest('./dist/initial-content/content/starter/css'));
});
gulp.task('assets', function() {
-
gulp.src(['./src/{fonts,img}/**/*']).pipe(gulp.dest('./dist/jcr/content/starter'));
+
gulp.src(['./src/{fonts,img}/**/*']).pipe(gulp.dest('./dist/initial-content/content/starter'));
});
diff --git a/src/main/resources/jcr/ROOT.json
b/src/main/resources/initial-content/ROOT.json
similarity index 100%
rename from src/main/resources/jcr/ROOT.json
rename to src/main/resources/initial-content/ROOT.json
diff --git a/src/main/resources/jcr/apps/sling/servlet/default/ace.html.esp
b/src/main/resources/initial-content/apps/sling/servlet/default/ace.html.esp
similarity index 100%
rename from src/main/resources/jcr/apps/sling/servlet/default/ace.html.esp
rename to
src/main/resources/initial-content/apps/sling/servlet/default/ace.html.esp
diff --git a/src/main/resources/jcr/apps/sling/servlet/default/acl.html.esp
b/src/main/resources/initial-content/apps/sling/servlet/default/acl.html.esp
similarity index 100%
rename from src/main/resources/jcr/apps/sling/servlet/default/acl.html.esp
rename to
src/main/resources/initial-content/apps/sling/servlet/default/acl.html.esp
diff --git a/src/main/resources/jcr/apps/sling/starter/home/home.html.esp
b/src/main/resources/initial-content/apps/sling/starter/home/home.html.esp
similarity index 100%
rename from src/main/resources/jcr/apps/sling/starter/home/home.html.esp
rename to
src/main/resources/initial-content/apps/sling/starter/home/home.html.esp
diff --git
a/src/main/resources/jcr/apps/sling/starter/sidebar-extensions/sidebar-extensions.html.esp
b/src/main/resources/initial-content/apps/sling/starter/sidebar-extensions/sidebar-extensions.html.esp
similarity index 100%
rename from
src/main/resources/jcr/apps/sling/starter/sidebar-extensions/sidebar-extensions.html.esp
rename to
src/main/resources/initial-content/apps/sling/starter/sidebar-extensions/sidebar-extensions.html.esp