incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r1462279 - /sling/site/trunk/content/old-stuff/run-modes-org-apache-sling-runmode.mdtext
Date Thu, 28 Mar 2013 19:56:14 GMT
Author: fmeschbe
Date: Thu Mar 28 19:56:14 2013
New Revision: 1462279

URL: http://svn.apache.org/r1462279
Log:
Fix

Modified:
    sling/site/trunk/content/old-stuff/run-modes-org-apache-sling-runmode.mdtext

Modified: sling/site/trunk/content/old-stuff/run-modes-org-apache-sling-runmode.mdtext
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/old-stuff/run-modes-org-apache-sling-runmode.mdtext?rev=1462279&r1=1462278&r2=1462279&view=diff
==============================================================================
--- sling/site/trunk/content/old-stuff/run-modes-org-apache-sling-runmode.mdtext (original)
+++ sling/site/trunk/content/old-stuff/run-modes-org-apache-sling-runmode.mdtext Thu Mar 28
19:56:14 2013
@@ -1,8 +1,11 @@
 Title: Run Modes (org.apache.sling.runmode)
 
-{note}
-As of Sling 6 the `org.apache.sling.runmode` bundle is replaced by the new [Sling Settings
(org.apache.sling.settings)]({{ refs.sling-settings-org-apache-sling-settings.path }}) Bundle.
For backwards compatibility this bundle may still exist in your environment. New code should
use the API of the new [Sling Settings (org.apache.sling.settings)] Bundle, though.
-{note}
+<div markdown="1" class="note">
+As of Sling 6 the <code>org.apache.sling.runmode</code> bundle is replaced
+by the new <a href="/documentation/bundles/sling-settings-org-apache-sling-settings.html">Sling
Settings (org.apache.sling.settings)</a>
+Bundle. For backwards compatibility this bundle may still exist in your environment. New
code should use the API of the new
+Sling Settings Bundle, though.
+</div>
 
 # Overview
 
@@ -28,7 +31,7 @@ This command-line parameter takes preced
 
 The [RunMode service]({{ refs.http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/runmode/src/main/java/org/apache/sling/runmode/RunMode.java.path
}}) provides the current list of run modes, examples:
 
-<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader
panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>RunMode
examples</B></DIV><DIV class="codeContent panelContent">
+    :::java
     RunMode r = ...get from BundleContext...
     String [] currentRunModes = r.getCurrentRunModes();
     
@@ -45,4 +48,4 @@ The RunMode service is used by the [jcri
 
 # Automated tests
 
-The [RunModeImplTest class]({{ refs.http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/runmode/src/test/java/org/apache/sling/runmode/impl/RunModeImplTest.java.path
}}) provides more info about run modes parsing and usage.
\ No newline at end of file
+The [RunModeImplTest class](http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/runmode/src/test/java/org/apache/sling/runmode/impl/RunModeImplTest.java)
provides more info about run modes parsing and usage.
\ No newline at end of file



Mime
View raw message