Author: cziegeler
Date: Tue Feb  2 19:47:33 2016
New Revision: 1728194

URL: http://svn.apache.org/viewvc?rev=1728194&view=rev
Log:
Add documentation for uninstall

Modified:
    sling/site/trunk/content/documentation/development/slingstart.mdtext

Modified: sling/site/trunk/content/documentation/development/slingstart.mdtext
URL: 
http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/development/slingstart.mdtext?rev=1728194&r1=1728193&r2=1728194&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/development/slingstart.mdtext 
(original)
+++ sling/site/trunk/content/documentation/development/slingstart.mdtext Tue 
Feb  2 19:47:33 2016
@@ -61,7 +61,23 @@ A configuration has a pid, or a factory
 Special configurations can be marked with a leading ":" of the pid. Special 
configurations are not added to the OSGi config admin. There are some 
predefined special configurations
 
  * :web.xml This configuration must be part of the :webapp runmode and 
contains a complete web.xml for the web application
- * :bootstrap This configuration must be part of either the :boot, :base, 
:standalone, or :webapp run mode and define the contents for bootstrap command 
file executed by Launchpad.
+ * :bootstrap This configuration must be part of either the :boot, :base, 
:standalone, or :webapp run mode and define the contents for the bootstrap 
command file executed by Launchpad. 
+
+#### Bootstrap Command File
+
+The bootstrap configuration is a text block consisting of uninstall 
directives. This block is only executed on the first startup.
+
+    [feature name=:launchpad]
+
+    [configurations]
+       # uninstall obsolete bundles which are neither not required anymore or 
are
+       # replaced with new bundles
+    :bootstrap
+      uninstall org.apache.sling.fragment.activation 1.2
+      uninstall org.apache.sling.installer.api [1.0,2.0)
+      uninstall org.apache.sling.tests
+
+Each uninstall directive starts with the text "uninstall" followed by the 
bundle symbolic name. A version range can be specified as well. If no version 
information is specified, the bundle with that symbolic name is uninstalled on 
startup. If a version is specified, the bundle is only uninstalled if it's 
installed with the exact same version. If a range is specified, the bundle is 
only uninstalled, if the version is within that range.
 
 ### Settings
 


Reply via email to