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
- <dependency>
+<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><dependency>
<groupId>org.apache.stanbol</groupId>
<artifactId>org.apache.stanbol.entityhub.bundlelist</artifactId>
<version>0.11.0-SNAPSHOT</version>
<type>partialbundlelist</type>
<scope>provided</scope>
- </dependency></code>
-<code></li>
-<li>Please note the <code>xml<type>partialbundlelist</type></code> property of the dependency.</li>
+ </dependency></code></p>
+<ul>
+<li>Please note the <code><type>partialbundlelist</type></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 <artifactId>org.apache.stanbol.launchers.full</artifactId></code> node to <code>xml<artifactId>my.launcher</artifactId></code></li>
+<li>open the my-launcher/pom.xml and change the <code><artifactId>org.apache.stanbol.launchers.full</artifactId></code> node to <code><artifactId>my.launcher</artifactId></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><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></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><groupId>com.example</groupId>
+ <artifactId>my.bundlelist</artifactId>
+ <version>0.10.0-SNAPSHOT</version>
+ <packaging>partialbundlelist</packaging></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><dependency>
+ <groupId>com.example</groupId>
+ <artifactId>my.bundlelist</artifactId>
+ <version>0.10.0-SNAPSHOT</version>
+ <packaging>partialbundlelist</packaging>
+ </dependency></code></p>
+<ul>
<li>Stanbol is now all yours !</li>
</ul>
</div>