You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by bu...@apache.org on 2012/10/27 14:29:03 UTC

svn commit: r836337 - in /websites/staging/stanbol/trunk/content: ./ production/your-launcher.html

Author: buildbot
Date: Sat Oct 27 12:29:03 2012
New Revision: 836337

Log:
Staging update by buildbot for stanbol

Modified:
    websites/staging/stanbol/trunk/content/   (props changed)
    websites/staging/stanbol/trunk/content/production/your-launcher.html

Propchange: websites/staging/stanbol/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Oct 27 12:29:03 2012
@@ -1 +1 @@
-1402127
+1402788

Modified: websites/staging/stanbol/trunk/content/production/your-launcher.html
==============================================================================
--- websites/staging/stanbol/trunk/content/production/your-launcher.html (original)
+++ websites/staging/stanbol/trunk/content/production/your-launcher.html Sat Oct 27 12:29:03 2012
@@ -97,18 +97,18 @@ But identify and manually add all featur
 <h2 id="dependencies-to-bundlelist">Dependencies to bundlelist</h2>
 <ul>
 <li>Bundlelist are in fact just jar. So you just need to declare them as dependencies in you launcher pom.xml to get the feature package and all required bundle for it.</li>
-<li>For example, if you want the entityHub feature in you server, you only need to add this dependency to your launcher pom.xml :
-<code>
-<code>xml
-    &lt;dependency&gt;
+<li>For example, if you want the entityHub feature in you server, you only need to add this dependency to your launcher pom.xml :<br />
+</li>
+</ul>
+<p><code>&lt;dependency&gt;
       &lt;groupId&gt;org.apache.stanbol&lt;/groupId&gt;
       &lt;artifactId&gt;org.apache.stanbol.entityhub.bundlelist&lt;/artifactId&gt;
       &lt;version&gt;0.11.0-SNAPSHOT&lt;/version&gt;
       &lt;type&gt;partialbundlelist&lt;/type&gt;
       &lt;scope&gt;provided&lt;/scope&gt;
-    &lt;/dependency&gt;</code>
-<code></li>
-<li>Please note the <code>xml&lt;type&gt;partialbundlelist&lt;/type&gt;</code> property of the dependency.</li>
+    &lt;/dependency&gt;</code></p>
+<ul>
+<li>Please note the <code>&lt;type&gt;partialbundlelist&lt;/type&gt;</code> property of the dependency.</li>
 <li>Also in actual Stanbol code base you can easily detect feature package bundlelist as their artifactId has the structure org.apache.stanbol.{feature-name}.bundlelist</li>
 </ul>
 <h2 id="build-your-launcher">Build <em>your</em> launcher</h2>
@@ -118,7 +118,7 @@ But identify and manually add all featur
 <p>The more simple way to get you custom launcher is to :</p>
 <ul>
 <li>copy the <a href="http://svn.apache.org/repos/asf/stanbol/trunk/launchers/full/">full launcher folder</a> to "my-launcher" folder</li>
-<li>open the my-launcher/pom.xml and change the <code>xml &lt;artifactId&gt;org.apache.stanbol.launchers.full&lt;/artifactId&gt;</code> node to <code>xml&lt;artifactId&gt;my.launcher&lt;/artifactId&gt;</code></li>
+<li>open the my-launcher/pom.xml and change the <code>&lt;artifactId&gt;org.apache.stanbol.launchers.full&lt;/artifactId&gt;</code> node to <code>&lt;artifactId&gt;my.launcher&lt;/artifactId&gt;</code></li>
 </ul>
 </li>
 <li>
@@ -153,40 +153,36 @@ But identify and manually add all featur
 </ul>
 <h2 id="build-your-bundlelist-dependency">Build <em>your</em> bundlelist dependency</h2>
 <ul>
-<li>
-<p>Bundlelist (or partialbundlelist) artifact is a really simple Maven project that rely on this structure :
-<pre>
-    mybundlelistFolder
+<li>Bundlelist (or partialbundlelist) artifact is a really simple Maven project that rely on this structure :</li>
+</ul>
+<p><code>mybundlelistFolder
       |
       |- pom.xml
       |- src
           |- main
               |- bundles
-                   |- list.xml
-</pre></p>
-</li>
-<li>
-<p>You only need to define 2 files : </p>
+                   |- list.xml</code></p>
 <ul>
+<li>You only need to define 2 files : <ul>
 <li>pom.xml : really simple you can copy-paste the <a href="http://svn.apache.org/repos/asf/stanbol/trunk/enhancer/bundlelist/pom.xml">Enhancer bundlelist</a> one and only change the groupId and artifactId properties to suit you need. All the magic here is contained in <packaging> property.</li>
-<li>list.xml : this file will contains information about the bundles you want to include. This file has a simple structure :
-<pre><code>
-<bundles>
-    <startlevel level="L0">
-        <bundle>
-            ...Maven groupId,artifactID and version properties...
-        </bundle>
-        <bundle>
-            ...another Maven's dependency information...
-        </bundle>
-    </startlevel>
-    <startlevel level="L1">
-        ... anothers bundles nodes...
-    </startlevel>
-</bundles>
-<code></pre></li>
+<li>list.xml : this file will contains information about the bundles you want to include. This file has a simple structure :</li>
 </ul>
 </li>
+</ul>
+<p><code>&lt;bundles&gt;
+        &lt;startlevel level="L0"&gt;
+            &lt;bundle&gt;
+                ...Maven groupId,artifactID and version properties...
+            &lt;/bundle&gt;
+            &lt;bundle&gt;
+                ...another Maven's dependency information...
+            &lt;/bundle&gt;
+        &lt;/startlevel&gt;
+        &lt;startlevel level="L1"&gt;
+            ... anothers bundles nodes...
+        &lt;/startlevel&gt;
+    &lt;/bundles&gt;</code></p>
+<ul>
 <li>
 <p>Start level is an important things to keep in mind as the value of the "level" property will determine when your bundle is started during the server launch.</p>
 <ul>
@@ -199,22 +195,24 @@ But identify and manually add all featur
 </ul>
 <h2 id="add-your-bundlelist-to-your-launcher">Add <em>your</em> bundlelist to <em>your</em> launcher</h2>
 <ul>
-<li>Let's says that your bundlelist pom.xml contains :
-<pre>
-    <groupId>com.example</groupId>
-    <artifactId>my.bundlelist</artifactId>
-    <version>0.10.0-SNAPSHOT</version>
-    <packaging>partialbundlelist</packaging>
-</pre></li>
-<li>Bring your bundles into your launcher only require you to edit my-launcher/pom.xml and add in <dependencies> section, this one : 
-<pre>
-    <dependency>
-      <groupId>com.example</groupId>
-      <artifactId>my.bundlelist</artifactId>
-      <version>0.10.0-SNAPSHOT</version>
-      <packaging>partialbundlelist</packaging>
-    </dependency>
-</pre></li>
+<li>Let's says that your bundlelist pom.xml contains :<br />
+</li>
+</ul>
+<p><code>&lt;groupId&gt;com.example&lt;/groupId&gt;
+    &lt;artifactId&gt;my.bundlelist&lt;/artifactId&gt;
+    &lt;version&gt;0.10.0-SNAPSHOT&lt;/version&gt;
+    &lt;packaging&gt;partialbundlelist&lt;/packaging&gt;</code></p>
+<ul>
+<li>Bring your bundles into your launcher only require you to edit my-launcher/pom.xml and add in <dependencies> section, this one :<br />
+</li>
+</ul>
+<p><code>&lt;dependency&gt;
+      &lt;groupId&gt;com.example&lt;/groupId&gt;
+      &lt;artifactId&gt;my.bundlelist&lt;/artifactId&gt;
+      &lt;version&gt;0.10.0-SNAPSHOT&lt;/version&gt;
+      &lt;packaging&gt;partialbundlelist&lt;/packaging&gt;
+    &lt;/dependency&gt;</code></p>
+<ul>
 <li>Stanbol is now all yours !</li>
 </ul>
   </div>