You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by pd...@apache.org on 2015/03/07 18:18:53 UTC

svn commit: r1664894 - /felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/tutorials/working-with-annotations.mdtext

Author: pderop
Date: Sat Mar  7 17:18:52 2015
New Revision: 1664894

URL: http://svn.apache.org/r1664894
Log:
fixed formatting (attempt 4).

Modified:
    felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/tutorials/working-with-annotations.mdtext

Modified: felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/tutorials/working-with-annotations.mdtext
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/tutorials/working-with-annotations.mdtext?rev=1664894&r1=1664893&r2=1664894&view=diff
==============================================================================
--- felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/tutorials/working-with-annotations.mdtext (original)
+++ felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/tutorials/working-with-annotations.mdtext Sat Mar  7 17:18:52 2015
@@ -66,9 +66,9 @@ Create the following class in the greeti
     @Component
     public class HelloWorld {
         @Start
-	 void start() {
-		 System.out.println("Hello World");
-	 }
+        void start() {
+            System.out.println("Hello World");
+        }
     }
 
 ### Finalize the bnd configuration
@@ -79,7 +79,7 @@ and we also add the -plugin bnd directiv
 * Click on the bnd.bnd file of the greeting project
 * Click on Contents and add the "greeting" package in the Private Packages
 * Finally, declare the DM annotation plugin by clicking on the "source" tab, and add the following:
- * -plugin org.apache.felix.dm.annotation.plugin.bnd.AnnotationPlugin;log=debug
+    * -plugin org.apache.felix.dm.annotation.plugin.bnd.AnnotationPlugin;log=debug
 * Save configuration (Press Ctrl-s)
 * Click on "Build" and on "Rebuild"
 
@@ -112,15 +112,15 @@ Now, configure the Felix framework, as w
 * In the Core Runtime, Select the latest version of Felix currently available
 * Select Execution Env=JavaSE-1.7
 * In the "Run Bundles" section, add the following list:
-   * org.apache.felix.configadmin.jar
-   * org.apache.felix.metatype.jar
-   * org.apache.felix.log.jar
-   * org.apache.felix.gogo.command
-   * org.apache.felix.gogo.runtime
-   * org.apache.felix.gogo.shell
-   * org.apache.felix.dependencymanager
-   * org.apache.felix.dependencymanager.runtime
-   * org.apache.felix.dependencymanager.shell
+    * org.apache.felix.configadmin.jar
+    * org.apache.felix.metatype.jar
+    * org.apache.felix.log.jar
+    * org.apache.felix.gogo.command
+    * org.apache.felix.gogo.runtime
+    * org.apache.felix.gogo.shell
+    * org.apache.felix.dependencymanager
+    * org.apache.felix.dependencymanager.runtime
+    * org.apache.felix.dependencymanager.shell
 * Then save the configuration (Press Ctrl-s).
 
 Now, Click on "Run OSGi". You should now see in the Console the Gogo Shell prompt with the