Author: buildbot
Date: Sat Mar 7 17:19:07 2015
New Revision: 942772
Log:
Staging update by buildbot for felix
Modified:
websites/staging/felix/trunk/content/ (props changed)
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/tutorials/working-with-annotations.html
Propchange: websites/staging/felix/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Mar 7 17:19:07 2015
@@ -1 +1 @@
-1664893
+1664894
Modified:
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/tutorials/working-with-annotations.html
==============================================================================
---
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/tutorials/working-with-annotations.html
(original)
+++
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/tutorials/working-with-annotations.html
Sat Mar 7 17:19:07 2015
@@ -125,9 +125,9 @@ Create the following class in the greeti
<span class="nd">@Component</span>
<span class="kd">public</span> <span class="kd">class</span> <span
class="nc">HelloWorld</span> <span class="o">{</span>
<span class="nd">@Start</span>
- <span class="kt">void</span> <span class="nf">start</span><span
class="o">()</span> <span class="o">{</span>
- <span class="n">System</span><span class="o">.</span><span
class="na">out</span><span class="o">.</span><span
class="na">println</span><span class="o">(</span><span class="s">"Hello
World"</span><span class="o">);</span>
- <span class="o">}</span>
+ <span class="kt">void</span> <span class="nf">start</span><span
class="o">()</span> <span class="o">{</span>
+ <span class="n">System</span><span class="o">.</span><span
class="na">out</span><span class="o">.</span><span
class="na">println</span><span class="o">(</span><span class="s">"Hello
World"</span><span class="o">);</span>
+ <span class="o">}</span>
<span class="o">}</span>
</pre></div>
@@ -138,8 +138,10 @@ and we also add the -plugin bnd directiv
<ul>
<li>Click on the bnd.bnd file of the greeting project</li>
<li>Click on Contents and add the "greeting" package in the Private
Packages</li>
-<li>Finally, declare the DM annotation plugin by clicking on the "source" tab,
and add the following:</li>
+<li>Finally, declare the DM annotation plugin by clicking on the "source" tab,
and add the following:<ul>
<li>-plugin
org.apache.felix.dm.annotation.plugin.bnd.AnnotationPlugin;log=debug</li>
+</ul>
+</li>
<li>Save configuration (Press Ctrl-s)</li>
<li>Click on "Build" and on "Rebuild"</li>
</ul>
@@ -169,7 +171,7 @@ Private-Package: greeting
<li>Click on the "Run" tab</li>
<li>In the Core Runtime, Select the latest version of Felix currently
available</li>
<li>Select Execution Env=JavaSE-1.7</li>
-<li>In the "Run Bundles" section, add the following list:</li>
+<li>In the "Run Bundles" section, add the following list:<ul>
<li>org.apache.felix.configadmin.jar</li>
<li>org.apache.felix.metatype.jar</li>
<li>org.apache.felix.log.jar</li>
@@ -179,6 +181,8 @@ Private-Package: greeting
<li>org.apache.felix.dependencymanager</li>
<li>org.apache.felix.dependencymanager.runtime</li>
<li>org.apache.felix.dependencymanager.shell</li>
+</ul>
+</li>
<li>Then save the configuration (Press Ctrl-s).</li>
</ul>
<p>Now, Click on "Run OSGi". You should now see in the Console the Gogo Shell
prompt with the
@@ -269,7 +273,7 @@ have to manually install the org.apache.
<span class="nt"></project></span>
</pre></div>
<div class="timestamp" style="margin-top: 30px; font-size: 80%;
text-align: right;">
- Rev. 1664893 by pderop on Sat, 7 Mar 2015 17:15:00 +0000
+ Rev. 1664894 by pderop on Sat, 7 Mar 2015 17:18:52 +0000
</div>
<div class="trademarkFooter">
Apache Felix, Felix, Apache, the Apache feather logo, and the Apache
Felix project