This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag 
org.apache.sling.crankstart.launcher-1.0.0
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-crankstart-launcher.git

commit b85b1817cd966566b96bfefd714a5cb9d5b0fdab
Author: Bertrand Delacretaz <[email protected]>
AuthorDate: Wed May 14 15:51:17 2014 +0000

    SLING-3528 - configure command, based on a contribution by Artyom 
Stetsenko, thanks!
    
    git-svn-id: 
https://svn.apache.org/repos/asf/sling/trunk/contrib/crankstart/launcher@1594621
 13f79535-47bb-0310-9956-ffa450edef68
---
 sling.crank.txt | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/sling.crank.txt b/sling.crank.txt
index c235723..c698b2a 100644
--- a/sling.crank.txt
+++ b/sling.crank.txt
@@ -28,14 +28,26 @@ osgi.property org.osgi.framework.startlevel.beginning 32
 # Once OSGi properties are set, start the framework
 start.framework
 
-# Install bundles
-# mvn: protocol can be used.
-bundle mvn:org.apache.felix/org.apache.felix.http.jetty/2.2.0
+# Start a minimal set of bundles to get the ConfigurationAdmin service
+# mvn: protocol can be used to get bundles
 bundle mvn:org.slf4j/slf4j-api/1.7.6
 bundle mvn:org.apache.sling/org.apache.sling.commons.log/4.0.0
 bundle mvn:org.apache.sling/org.apache.sling.commons.logservice/1.0.2
 bundle mvn:org.slf4j/jcl-over-slf4j/1.7.6
 bundle mvn:org.slf4j/log4j-over-slf4j/1.7.6
+bundle mvn:org.apache.felix/org.apache.felix.configadmin/1.6.0
+start.all.bundles
+
+# Now set example configurations
+config some.example.config
+   some.search.path = /test1:123
+   some.search.path = /test2:456
+   another.property = This is just a test configuration
+config a.second.config
+   foo = bar   
+
+# Install other bundles
+bundle mvn:org.apache.felix/org.apache.felix.http.jetty/2.2.0
 bundle mvn:org.apache.sling/org.apache.sling.settings/1.3.0
 bundle mvn:org.apache.sling/org.apache.sling.fragment.xml/1.0.2
 bundle mvn:org.apache.sling/org.apache.sling.fragment.transaction/1.0.0
@@ -44,7 +56,6 @@ bundle mvn:org.apache.sling/org.apache.sling.fragment.ws/1.0.2
 bundle mvn:org.apache.sling/org.apache.sling.launchpad.installer/1.2.0
 bundle mvn:org.apache.sling/org.apache.sling.installer.core/3.5.0
 bundle mvn:org.apache.sling/org.apache.sling.installer.provider.file/1.0.2
-bundle mvn:org.apache.felix/org.apache.felix.configadmin/1.6.0
 bundle mvn:org.apache.felix/org.apache.felix.eventadmin/1.3.2
 bundle mvn:commons-io/commons-io/1.4
 bundle mvn:commons-fileupload/commons-fileupload/1.3.1
@@ -56,6 +67,7 @@ bundle 
mvn:org.apache.geronimo.bundles/commons-httpclient/3.1_1
 bundle mvn:org.apache.sling/org.apache.sling.commons.osgi/2.2.1-SNAPSHOT
 bundle mvn:org.apache.sling/org.apache.sling.commons.mime/2.1.4
 bundle mvn:org.apache.sling/org.apache.sling.commons.classloader/1.3.0
+bundle mvn:org.apache.sling/org.apache.sling.commons.compiler/2.1.1-SNAPSHOT
 bundle mvn:org.apache.sling/org.apache.sling.commons.scheduler/2.4.2
 bundle mvn:org.apache.sling/org.apache.sling.commons.threads/3.2.0
 bundle mvn:org.apache.sling/org.apache.sling.discovery.api/1.0.0

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to