You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2014/04/17 18:57:25 UTC

svn commit: r1588311 - /sling/trunk/contrib/crankstart/default.crank.txt

Author: bdelacretaz
Date: Thu Apr 17 16:57:25 2014
New Revision: 1588311

URL: http://svn.apache.org/r1588311
Log:
Tweak example crank file

Modified:
    sling/trunk/contrib/crankstart/default.crank.txt

Modified: sling/trunk/contrib/crankstart/default.crank.txt
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/crankstart/default.crank.txt?rev=1588311&r1=1588310&r2=1588311&view=diff
==============================================================================
--- sling/trunk/contrib/crankstart/default.crank.txt (original)
+++ sling/trunk/contrib/crankstart/default.crank.txt Thu Apr 17 16:57:25 2014
@@ -1,10 +1,15 @@
-# Minimal HTTP server example for Sling crankstart
+# Minimal webconsole example for the Sling crankstart launcher
 
 # OSGi framework properties
-osgi.property org.osgi.service.http.port 1234 
+osgi.property org.osgi.service.http.port 1234
 
-# Start framework and install bundles
+# Once OSGi properties are set, start the framework
 start.framework
+
+# Install a minimal set of bundles for now, just to 
+# demonstrate that we can start the webconsole
+# Crankstart gets bundles from a Maven repository, which
+# is not configurable for now.
 bundle org.apache.felix/org.apache.felix.configadmin/1.2.8
 bundle org.apache.felix/org.apache.felix.http.jetty/2.2.0
 bundle org.apache.felix/org.apache.felix.metatype/1.0.4
@@ -12,7 +17,7 @@ bundle org.apache.felix/org.apache.felix
 bundle org.apache.felix/org.apache.felix.webconsole/3.1.6
 bundle org.apache.sling/org.apache.sling.commons.log/2.1.2
 
-# Start all bundles now
+# Start all bundles and log a friendly message
 start.all.bundles
 log OSGi webconsole should soon be available at http://localhost:1234/system/console
  
\ No newline at end of file