SLING-3528 - configure command, based on a contribution by Artyom Stetsenko, thanks!

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1594621 13f79535-47bb-0310-9956-ffa450edef68
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 @@
 # 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.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.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