Added: websites/staging/celix/trunk/content/documentation/releasing-links.html
==============================================================================
--- websites/staging/celix/trunk/content/documentation/releasing-links.html 
(added)
+++ websites/staging/celix/trunk/content/documentation/releasing-links.html Tue 
Jul 29 17:51:21 2014
@@ -0,0 +1,170 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<html>
+<head>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE- 2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+    <link rel="stylesheet" type="text/css" 
+               href="/css/reset-fonts-grids.css">
+    <link rel="stylesheet" type="text/css" href="/css/base-min.css">
+    <link rel="stylesheet" type="text/css" href="/css/superfish.css" 
media="screen">
+    <!--  link rel="stylesheet" type="text/css" href="/css/BreadCrumb.css" 
media="screen"  -->
+    <link rel="stylesheet" type="text/css" href="/css/celix.css">
+    <link rel="stylesheet" type="text/css" href="/css/pygments.css">
+    
+  
+  <title>Apache Celix - </title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  
+  <script type="text/javascript" src="/js/jquery.min.js"></script>
+  <script type="text/javascript" src="/js/jquery.gradient.js"></script>
+  <script type="text/javascript" src="/js/jquery.dimensions.js"></script>
+  <script type="text/javascript" src="/js/jquery.hoverIntent.js"></script>
+  <script type="text/javascript" src="/js/superfish.js"></script>
+  <script type="text/javascript" src="/js/supersubs.js"></script>
+  <!-- script type="text/javascript" src="/js/jquery.easing.1.3.js"></script>
+  <script type="text/javascript" 
src="/js/jquery.jBreadCrumb.1.1.js"></script-->
+  <script type="text/javascript"><!--
+        // initialize plugins
+        jQuery(function() {
+               jQuery('#navbar ul:first').addClass('sf-menu');
+            //Nav bar: Supersubs dropdown menus
+            jQuery('#navbar ul:first').supersubs({extraWidth: 
1}).superfish({animation:{opacity:0.97,height:'show'}});
+        });
+  
+        //jQuery(document).ready(function() {
+               //      jQuery("#breadCrumb").jBreadCrumb();
+               //  })
+    --></script>
+</head>
+
+<body>
+    <div id="page">
+        <div id="header">
+            <a href="/index.html"><img id="headerimage" 
src="/images/celix.png" alt="Apache Celix" 
+                    height="130px"></a>
+            <a href="http://incubator.apache.org/";>
+               <img id="incubatorimage" 
src="/celix/images/apache-incubator-logo.png" alt="Apache Incubator">
+               </a>
+            <div id="navbar"> 
+                <ul>
+<li><a href="/index.html">Home</a></li>
+<li><a href="/celix.html">About</a><ul>
+<li><a href="/celix.html">Celix</a></li>
+<li><a href="/background.html">Background</a></li>
+</ul>
+</li>
+<li><a href="/subprojects.html">Subprojects</a><ul>
+<li><a href="/subprojects/dependencymanager.html">Dependency Manager</a></li>
+<li><a href="/subprojects/deviceaccess.html">Device Access</a></li>
+<li><a href="/subprojects/examples.html">Examples</a></li>
+<li><a href="/subprojects/framework.html">Framework</a></li>
+<li><a href="/subprojects/hessian.html">Hessian</a></li>
+<li><a href="/subprojects/launcher.html">Launcher</a></li>
+<li><a href="/subprojects/logservice.html">Log Service</a></li>
+<li><a href="/subprojects/logwriter.html">Log Writer</a></li>
+<li><a href="/subprojects/remoteserviceadmin.html">Remote Service 
Admin</a></li>
+<li><a href="/subprojects/shell.html">Shell</a></li>
+<li><a href="/subprojects/shelltui.html">Shell TUI</a></li>
+<li><a href="/subprojects/utils.html">Utils</a></li>
+</ul>
+</li>
+<li><a href="/documentation.html">Documentation</a><ul>
+<li><a href="/documentation/buildingandrunning.html">Building and 
Running</a></li>
+<li><a href="/documentation/releasing.html">How To Release</a></li>
+<li><a href="/documentation/design.html">Design</a></li>
+<li><a href="/documentation/mapping.html">Mapping</a></li>
+<li><a href="/documentation/memorypools.html">Memory Pools</a></li>
+<li><a href="/documentation/examples.html">Examples</a><ul>
+<li><a href="/examples/helloworld.html">Hello World Example</a></li>
+</ul>
+</li>
+</ul>
+</li>
+<li><a href="/download.cgi">Download</a></li>
+<li><a href="/community/community.html">Community</a><ul>
+<li><a href="/community/contributing/contributing.html">Contributing</a></li>
+<li><a href="/community/boardreports/boardreports.html">Board Reports</a></li>
+</ul>
+</li>
+<li><a href="/support/support.html">Support</a><ul>
+<li><a href="/support/mailinglist.html">Mailing List</a></li>
+<li><a href="/support/issuetracking.html">Issue Tracking</a></li>
+</ul>
+</li>
+<li><a href="/asf/asf.html">ASF</a><ul>
+<li><a href="http://www.apache.org/";>ASF Home</a></li>
+<li><a href="http://www.apache.org/foundation/how-it-works.html";>How it 
Works</a></li>
+<li><a href="http://www.apache.org/licenses/";>License</a></li>
+<li><a 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li>
+<li><a href="http://www.apache.org/security/";>Security</a></li>
+</ul>
+</li>
+</ul>
+            </div>
+                   <!-- div id="breadCrumbHolder" class="module">
+                       <div id="breadCrumb" class="breadCrumb module">
+                           <ul>
+                               
+                           </ul>
+                       </div>
+                   </div-->
+        </div>
+  
+        <div id="center">
+            <div id="main">
+                <div id="homecenter">
+                    <div id="homeleft">
+                        <h1 class="title"></h1>
+                        <h2 id="requirements">Requirements</h2>
+<ul>
+<li>CMake (2.8.4)</li>
+<li>GCC (4.2.1)</li>
+<li>GNU Make (3.81)</li>
+<li>ZLib</li>
+<li>CUnit</li>
+<li>Celix Source</li>
+</ul>
+<h2 id="useful-links">Useful Links</h2>
+<ul>
+<li><a href="http://www.cmake.org/cmake/help/documentation.html";>CMake 
Documentation</a></li>
+</ul>
+                    </div>
+                    <div id="homeright">
+                        
+                        
+                        
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+  
+    <div id="footer">
+        <div class="copyright">
+            <p>
+                Copyright &copy; 2011 The Apache Software Foundation, Licensed 
under 
+                the <a 
href="http://www.apache.org/licenses/LICENSE-2.0";>Apache License, Version 
2.0</a>.
+                <br>
+                Apache Celix, Celix, Apache, the Apache feather logo and the 
Apache Celix logo are trademarks of The Apache Software Foundation.
+            </p>
+        </div>
+    </div>
+</body>
+</html>

Added: websites/staging/celix/trunk/content/documentation/releasing.html
==============================================================================
--- websites/staging/celix/trunk/content/documentation/releasing.html (added)
+++ websites/staging/celix/trunk/content/documentation/releasing.html Tue Jul 
29 17:51:21 2014
@@ -0,0 +1,417 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<html>
+<head>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE- 2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+    <link rel="stylesheet" type="text/css" 
+               href="/css/reset-fonts-grids.css">
+    <link rel="stylesheet" type="text/css" href="/css/base-min.css">
+    <link rel="stylesheet" type="text/css" href="/css/superfish.css" 
media="screen">
+    <!--  link rel="stylesheet" type="text/css" href="/css/BreadCrumb.css" 
media="screen"  -->
+    <link rel="stylesheet" type="text/css" href="/css/celix.css">
+    <link rel="stylesheet" type="text/css" href="/css/pygments.css">
+    
+  
+  <title>Apache Celix - Releasing Apache Celix</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  
+  <script type="text/javascript" src="/js/jquery.min.js"></script>
+  <script type="text/javascript" src="/js/jquery.gradient.js"></script>
+  <script type="text/javascript" src="/js/jquery.dimensions.js"></script>
+  <script type="text/javascript" src="/js/jquery.hoverIntent.js"></script>
+  <script type="text/javascript" src="/js/superfish.js"></script>
+  <script type="text/javascript" src="/js/supersubs.js"></script>
+  <!-- script type="text/javascript" src="/js/jquery.easing.1.3.js"></script>
+  <script type="text/javascript" 
src="/js/jquery.jBreadCrumb.1.1.js"></script-->
+  <script type="text/javascript"><!--
+        // initialize plugins
+        jQuery(function() {
+               jQuery('#navbar ul:first').addClass('sf-menu');
+            //Nav bar: Supersubs dropdown menus
+            jQuery('#navbar ul:first').supersubs({extraWidth: 
1}).superfish({animation:{opacity:0.97,height:'show'}});
+        });
+  
+        //jQuery(document).ready(function() {
+               //      jQuery("#breadCrumb").jBreadCrumb();
+               //  })
+    --></script>
+</head>
+
+<body>
+    <div id="page">
+        <div id="header">
+            <a href="/index.html"><img id="headerimage" 
src="/images/celix.png" alt="Apache Celix" 
+                    height="130px"></a>
+            <a href="http://incubator.apache.org/";>
+               <img id="incubatorimage" 
src="/celix/images/apache-incubator-logo.png" alt="Apache Incubator">
+               </a>
+            <div id="navbar"> 
+                <ul>
+<li><a href="/index.html">Home</a></li>
+<li><a href="/celix.html">About</a><ul>
+<li><a href="/celix.html">Celix</a></li>
+<li><a href="/background.html">Background</a></li>
+</ul>
+</li>
+<li><a href="/subprojects.html">Subprojects</a><ul>
+<li><a href="/subprojects/dependencymanager.html">Dependency Manager</a></li>
+<li><a href="/subprojects/deviceaccess.html">Device Access</a></li>
+<li><a href="/subprojects/examples.html">Examples</a></li>
+<li><a href="/subprojects/framework.html">Framework</a></li>
+<li><a href="/subprojects/hessian.html">Hessian</a></li>
+<li><a href="/subprojects/launcher.html">Launcher</a></li>
+<li><a href="/subprojects/logservice.html">Log Service</a></li>
+<li><a href="/subprojects/logwriter.html">Log Writer</a></li>
+<li><a href="/subprojects/remoteserviceadmin.html">Remote Service 
Admin</a></li>
+<li><a href="/subprojects/shell.html">Shell</a></li>
+<li><a href="/subprojects/shelltui.html">Shell TUI</a></li>
+<li><a href="/subprojects/utils.html">Utils</a></li>
+</ul>
+</li>
+<li><a href="/documentation.html">Documentation</a><ul>
+<li><a href="/documentation/buildingandrunning.html">Building and 
Running</a></li>
+<li><a href="/documentation/releasing.html">How To Release</a></li>
+<li><a href="/documentation/design.html">Design</a></li>
+<li><a href="/documentation/mapping.html">Mapping</a></li>
+<li><a href="/documentation/memorypools.html">Memory Pools</a></li>
+<li><a href="/documentation/examples.html">Examples</a><ul>
+<li><a href="/examples/helloworld.html">Hello World Example</a></li>
+</ul>
+</li>
+</ul>
+</li>
+<li><a href="/download.cgi">Download</a></li>
+<li><a href="/community/community.html">Community</a><ul>
+<li><a href="/community/contributing/contributing.html">Contributing</a></li>
+<li><a href="/community/boardreports/boardreports.html">Board Reports</a></li>
+</ul>
+</li>
+<li><a href="/support/support.html">Support</a><ul>
+<li><a href="/support/mailinglist.html">Mailing List</a></li>
+<li><a href="/support/issuetracking.html">Issue Tracking</a></li>
+</ul>
+</li>
+<li><a href="/asf/asf.html">ASF</a><ul>
+<li><a href="http://www.apache.org/";>ASF Home</a></li>
+<li><a href="http://www.apache.org/foundation/how-it-works.html";>How it 
Works</a></li>
+<li><a href="http://www.apache.org/licenses/";>License</a></li>
+<li><a 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li>
+<li><a href="http://www.apache.org/security/";>Security</a></li>
+</ul>
+</li>
+</ul>
+            </div>
+                   <!-- div id="breadCrumbHolder" class="module">
+                       <div id="breadCrumb" class="breadCrumb module">
+                           <ul>
+                               
+                           </ul>
+                       </div>
+                   </div-->
+        </div>
+  
+        <div id="center">
+            <div id="main">
+                <div id="homecenter">
+                    <div id="homeleft">
+                        <h1 class="title">Releasing Apache Celix</h1>
+                        <p>Note: This information is only of use to Apache 
Celix Release Managers!</p>
+<p>Steps to follow:</p>
+<ul>
+<li>Create signing KEYs</li>
+<li>Update release related files</li>
+<li>Compile and test</li>
+<li>Create SVN tag</li>
+<li>Create, sign and publish artefacts</li>
+<li>Run the vote</li>
+<li>Post the vote results</li>
+<li>Roll out the release artefacts</li>
+<li>Announce the release</li>
+</ul>
+<p>Interesting links:</p>
+<ul>
+<li><a href="http://www.apache.org/dev/release.html";>Apache Release 
Guide</a></li>
+<li><a 
href="http://incubator.apache.org/guides/releasemanagement.html";>Incubator 
Release Management Guide</a></li>
+<li><a href="http://www.apache.org/dev/release-signing.html";>Apache Release 
Signing</a></li>
+<li><a href="http://creadur.apache.org/rat/apache-rat/index.html";>Apache 
RAT</a></li>
+<li><a href="http://www.apache.org/dev/openpgp.html";>Apache OpenPGP 
Howto</a></li>
+<li><a href="http://people.apache.org/~brane/incubator/votes.html";>Voting 
Status</a></li>
+<li><a href="http://wiki.apache.org/incubator/ReleaseChecklist";>Incubator 
Release Checklist</a> (In Progress, do we need it?)</li>
+</ul>
+<h2 id="create-signing-keys">Create signing KEYs</h2>
+<p>Each Release Manager must have his own signing keys. Information about and 
instruction for the generation of these keys can be found on the
+<a href="http://www.apache.org/dev/release-signing.html#generate";>Signing 
Releases page</a> and <a 
href="http://www.apache.org/dev/openpgp.html#generate-key";>How To OpenPGP</a>. 
Be sure to follow the information provided on that site and its references.</p>
+<p>The generated key can be uploaded to the <a href="http://pgp.mit.edu";>MIT 
PGP Public Key Server</a>.</p>
+<p>Next, the public key signature must be added to the KEYS file. Again, read 
the <a 
href="http://www.apache.org/dev/release-signing.html#keys-policy";>Signing 
Releases page</a>
+for more information. This updated file needs to be uploaded to SVN, be sure 
to upload it to:</p>
+<ul>
+<li><a 
href="https://dist.apache.org/repos/dist/dev/incubator/celix/KEYS";>Apache Celix 
release development area KEYS</a></li>
+<li><a 
href="https://dist.apache.org/repos/dist/release/incubator/celix/KEYS";>Apache 
Celix release distribution area KEYS</a></li>
+</ul>
+<h2 id="update-release-related-files">Update release related files</h2>
+<p>For every release the related files must be updated. The following files 
are relevant:</p>
+<ul>
+<li>
+<p>CHANGES</p>
+<p>Add a list of fixed issues which can be created using Jira.</p>
+</li>
+<li>
+<p>RELEASE_NOTES</p>
+<p>Add additional notes regarding this release, eg known short comings.</p>
+</li>
+<li>
+<p>BUILDING</p>
+<p>Even though the BUILDING file doesn't have any specific release 
information, it should be verified before making a release.  </p>
+</li>
+<li>
+<p>NOTICE</p>
+<p>If needed, add any new license related information to this file.</p>
+</li>
+</ul>
+<p>Besides this information, the version needs to be bumped. Even though every 
bundle has its own version, a release is made with one overall version. This 
version
+is defined in the top-level CMakeLists.txt file.
+Update the following pieces:</p>
+<div class="codehilite"><pre><span class="n">SET</span><span 
class="p">(</span><span class="n">CELIX_MAJOR</span> &quot;<span 
class="n">X</span>&quot;<span class="p">)</span>
+<span class="n">SET</span><span class="p">(</span><span 
class="n">CELIX_MINOR</span> &quot;<span class="n">Y</span>&quot;<span 
class="p">)</span>
+<span class="n">SET</span><span class="p">(</span><span 
class="n">CELIX_MICRO</span> &quot;<span class="n">Z</span>&quot;<span 
class="p">)</span>
+<span class="n">SET</span><span class="p">(</span><span 
class="n">CELIX_QUALIFIER</span> &quot;<span 
class="n">incubating</span>&quot;<span class="p">)</span>
+</pre></div>
+
+
+<p>While Celix is in incubation, the qualifier should (at least) always 
contain "incubating" as text.</p>
+<p>Note: The DEFAULT_VERSION property is used as default version for new 
bundles and as such does not need to be updated when making a release.</p>
+<h2 id="compile-and-test">Compile and test</h2>
+<p>Before creating a branch, be sure that the source compiles and tests run 
successfully. If there are any known shortcomings, make sure they are listed in 
the 
+RELEASE_NOTES. Details for compiling and testing are available in the BUILDING 
file.</p>
+<div class="codehilite"><pre><span class="c1">// Create a directory as sibling 
of the celix release directory</span>
+<span class="o">&gt;</span> <span class="n">mkdir</span> <span 
class="n">celix</span><span class="o">-</span><span class="n">build</span>
+<span class="o">&gt;</span> <span class="n">cd</span> <span 
class="n">celix</span><span class="o">-</span><span class="n">build</span>
+<span class="c1">// Run CMake to generate the makefiles. Enable all BUILD 
options.</span>
+<span class="o">&gt;</span> <span class="n">ccmake</span> <span 
class="p">..</span><span class="o">/</span><span class="n">celix</span>
+<span class="o">&gt;</span> <span class="n">make</span>
+<span class="o">&gt;</span> <span class="n">make</span> <span 
class="n">deploy</span>
+<span class="o">&gt;</span> <span class="n">make</span> <span 
class="n">test</span>
+</pre></div>
+
+
+<p>Also verify that the provides examples work as expected. If needed ask 
other committers to test parts, eg the GTK examples.</p>
+<div class="codehilite"><pre><span class="c1">// Go to the deploy directory to 
see all examples</span>
+<span class="o">&gt;</span> <span class="n">cd</span> <span 
class="n">deploy</span>
+<span class="c1">// Test the different examples, eg</span>
+<span class="o">&gt;</span> <span class="n">cd</span> <span 
class="n">hello_world</span>
+<span class="o">&gt;</span> <span class="n">sh</span> <span 
class="n">run</span><span class="p">.</span><span class="n">sh</span>
+<span class="c1">// Depending on the example the output might be different. 
Most examples provide a shell to inspect the framework.</span>
+<span class="c1">// To list the commands use the &quot;help&quot; 
command.</span>
+<span class="o">-&gt;</span> <span class="n">help</span>
+<span class="p">....</span>
+</pre></div>
+
+
+<p>After verifying the build, run Apache RAT to check for any licensing 
problems. If Apache RAT is configured in the CMake build the "rat" target can 
be used to run
+the check.</p>
+<div class="codehilite"><pre><span class="c1">// From the celix-build 
directory</span>
+<span class="c1">// Run CMake to set the APACHE_RAT library (path to the JAR 
file).</span>
+<span class="o">&gt;</span> <span class="n">ccmake</span> <span 
class="p">..</span><span class="o">/</span><span class="n">celix</span>
+<span class="c1">// Run RAT</span>
+<span class="o">&gt;</span> <span class="n">make</span> <span 
class="n">rat</span>
+</pre></div>
+
+
+<p>Apache RAT should not raise any concers, if there are, check the source 
files for 
+a license header. If it is a false positive update the rat-excludes.txt file 
in the root of the project. Be sure it is a false positive! If in doubt, ask 
the 
+mailing list! Third party licenses may need to be mentioned in the NOTICE 
file.</p>
+<h2 id="create-svn-tag">Create SVN tag</h2>
+<p>After changing all files a tag for the new release must be made. Before 
doing so, make sure all changed files are committed.</p>
+<p>The tag should be named like this: celix-X.Y.Z.incubating</p>
+<p>To make a tag use the following command:</p>
+<div class="codehilite"><pre><span class="n">svn</span> <span 
class="n">copy</span> <span class="n">http</span><span class="p">:</span><span 
class="o">//</span><span class="n">svn</span><span class="p">.</span><span 
class="n">apache</span><span class="p">.</span><span class="n">org</span><span 
class="o">/</span><span class="n">repos</span><span class="o">/</span><span 
class="n">asf</span><span class="o">/</span><span 
class="n">incubator</span><span class="o">/</span><span 
class="n">celix</span><span class="o">/</span><span class="n">trunk</span><span 
class="o">/</span> <span class="o">\</span>
+    <span class="n">http</span><span class="p">:</span><span 
class="o">//</span><span class="n">svn</span><span class="p">.</span><span 
class="n">apache</span><span class="p">.</span><span class="n">org</span><span 
class="o">/</span><span class="n">repos</span><span class="o">/</span><span 
class="n">asf</span><span class="o">/</span><span 
class="n">incubator</span><span class="o">/</span><span 
class="n">celix</span><span class="o">/</span><span class="n">tags</span><span 
class="o">/</span><span class="n">celix</span><span class="o">-</span><span 
class="n">X</span><span class="p">.</span><span class="n">Y</span><span 
class="p">.</span><span class="n">Z</span><span class="p">.</span><span 
class="n">incubating</span> <span class="o">\</span>
+    <span class="o">-</span><span class="n">m</span> &quot;<span 
class="n">X</span><span class="p">.</span><span class="n">Y</span><span 
class="p">.</span><span class="n">Z</span> <span class="n">release</span> <span 
class="n">of</span> <span class="n">the</span> <span class="n">Apache</span> 
<span class="n">Celix</span> <span class="n">project</span><span 
class="p">.</span>&quot;
+</pre></div>
+
+
+<p>Note: Make sure there are no new changes made on trunk while working on the 
release. Discuss: Use a branch for staging the release and the files? Or 
possibly use a revision nr?</p>
+<h2 id="create-sign-and-publish-artefacts">Create, sign and publish 
artefacts</h2>
+<p>Since Celix only releases source artefacts, creating the artefact is simple 
and straightforward</p>
+<div class="codehilite"><pre><span class="c1">// Create symbolic link so the 
archive has a directory with version information</span>
+<span class="o">&gt;</span> <span class="n">ln</span> <span 
class="o">-</span><span class="n">s</span> <span class="n">celix</span> <span 
class="n">celix</span><span class="o">-</span><span class="no">X</span><span 
class="p">.</span><span class="no">Y</span><span class="p">.</span><span 
class="no">Z</span><span class="p">.</span><span class="n">incubating</span>
+<span class="c1">// Create GZip archive</span>
+<span class="o">&gt;</span> <span class="n">tar</span> <span 
class="o">-</span><span class="n">hczf</span> <span class="n">celix</span><span 
class="o">-</span><span class="no">X</span><span class="p">.</span><span 
class="no">Y</span><span class="p">.</span><span class="no">Z</span><span 
class="p">.</span><span class="n">incubating</span><span 
class="p">.</span><span class="n">tar</span><span class="p">.</span><span 
class="n">gz</span> <span class="n">celix</span><span class="o">-</span><span 
class="no">X</span><span class="p">.</span><span class="no">Y</span><span 
class="p">.</span><span class="no">Z</span><span class="p">.</span><span 
class="n">incubating</span>
+<span class="c1">// The create symbolic link can be removed</span>
+<span class="o">&gt;</span> <span class="n">celix</span> <span 
class="n">celix</span><span class="o">-</span><span class="no">X</span><span 
class="p">.</span><span class="no">Y</span><span class="p">.</span><span 
class="no">Z</span><span class="p">.</span><span class="n">incubating</span>
+</pre></div>
+
+
+<p>After creating the artefact, the file has to be signed. More information 
about signing can be found at 
(http://www.apache.org/dev/release-signing.html).</p>
+<div class="codehilite"><pre><span class="c1">// Generate MD5 checksum</span>
+<span class="o">&gt;</span> <span class="n">md5</span> <span 
class="n">celix</span><span class="o">-</span><span class="no">X</span><span 
class="p">.</span><span class="no">Y</span><span class="p">.</span><span 
class="no">Z</span><span class="p">.</span><span 
class="n">incubating</span><span class="p">.</span><span 
class="n">tar</span><span class="p">.</span><span class="n">gz</span> <span 
class="o">&gt;</span> <span class="n">celix</span><span class="o">-</span><span 
class="no">X</span><span class="p">.</span><span class="no">Y</span><span 
class="p">.</span><span class="no">Z</span><span class="p">.</span><span 
class="n">incubating</span><span class="p">.</span><span 
class="n">tar</span><span class="p">.</span><span class="n">gz</span><span 
class="p">.</span><span class="n">md5</span>
+<span class="c1">// Generate SHA512 checksum</span>
+<span class="o">&gt;</span> <span class="n">gpg</span> <span 
class="o">--</span><span class="n">print</span><span class="o">-</span><span 
class="n">md</span> <span class="no">SHA512</span> <span 
class="n">celix</span><span class="o">-</span><span class="no">X</span><span 
class="p">.</span><span class="no">Y</span><span class="p">.</span><span 
class="no">Z</span><span class="p">.</span><span 
class="n">incubating</span><span class="p">.</span><span 
class="n">tar</span><span class="p">.</span><span class="n">gz</span> <span 
class="o">&gt;</span> <span class="n">celix</span><span class="o">-</span><span 
class="no">X</span><span class="p">.</span><span class="no">Y</span><span 
class="p">.</span><span class="no">Z</span><span class="p">.</span><span 
class="n">incubating</span><span class="p">.</span><span 
class="n">tar</span><span class="p">.</span><span class="n">gz</span><span 
class="p">.</span><span class="n">sha</span>
+<span class="c1">// Generate ASCII signature</span>
+<span class="o">&gt;</span> <span class="n">gpg</span> <span 
class="o">--</span><span class="n">armor</span> <span class="o">--</span><span 
class="k">output</span> <span class="n">celix</span><span 
class="o">-</span><span class="no">X</span><span class="p">.</span><span 
class="no">Y</span><span class="p">.</span><span class="no">Z</span><span 
class="p">.</span><span class="n">incubating</span><span 
class="p">.</span><span class="n">tar</span><span class="p">.</span><span 
class="n">gz</span><span class="p">.</span><span class="n">asc</span> <span 
class="o">--</span><span class="n">detach</span><span class="o">-</span><span 
class="n">sig</span> <span class="n">celix</span><span class="o">-</span><span 
class="no">X</span><span class="p">.</span><span class="no">Y</span><span 
class="p">.</span><span class="no">Z</span><span class="p">.</span><span 
class="n">incubating</span><span class="p">.</span><span 
class="n">tar</span><span class="p">.</span><span class="n">gz</span>
+</pre></div>
+
+
+<p>Copy the archive of the source to the <a 
href="https://dist.apache.org/repos/dist/dev/incubator/celix/KEYS";>Apache Celix 
release development area</a> (using SVN).</p>
+<p>See the <a href="http://www.apache.org/dev/release.html#host-rc";>Apache 
Release Guide</a> for more information.</p>
+<h2 id="run-the-vote">Run the vote</h2>
+<p>Before a release is official a vote has to be held. More information on 
voting can be found on <a 
href="http://www.apache.org/foundation/voting.html";>Apache Voting Process</a>.
+Since Apache Celix is still in incubation, both the PPMC and the IPMC have to 
vote for it.</p>
+<p>The first vote has to be done on the public mailinglist of the project 
itself ([email protected]). The following template must be used 
for this vote:</p>
+<p>================================================================================================================</p>
+<blockquote>
+<p>To: [email protected]<br />
+Subject: [VOTE] Release Celix version X.Y.Z</p>
+<p>This is the release vote for Apache Celix, version X.Y.Z.</p>
+<p>It fixes the following issues: <br />
+{Create Release Note link using 
https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12323511}</p>
+<p>Source files:<br />
+https://dist.apache.org/repos/dist/dev/incubator/celix/celix-X.Y.Z-incubating/</p>
+<p>The tag to be voted upon:<br />
+http://svn.apache.org/repos/asf/incubator/celix/tags/celix-X.Y.Z-incubating/</p>
+<p>Celix's keys can be found at:<br />
+https://dist.apache.org/repos/dist/dev/incubator/celix/KEYS</p>
+<p>Information for voting on a release can be found at 
http://www.apache.org/dev/release.html#approving-a-release</p>
+<p>Please vote to approve this release:</p>
+<p>[ ] +1 Approve the release<br />
+[ ] -1 Disapprove the release (please provide specific comments)</p>
+<p>This vote will be open for at least 72 hours.</p>
+</blockquote>
+<p>================================================================================================================</p>
+<p>After this first vote the results must be posted to the "dev" list, see 
below for more information.</p>
+<p>The second vote has to go to the general incubator list, this is to give 
the IPMC a chance to verify the release. This vote can only be published if the 
PPMC 
+has had enough time to review the release, following the defacto standard, 
this is at least 72 hours.</p>
+<p>The template provided above can be reused for this, but needs to be 
extended, the following template contains all information.</p>
+<p>================================================================================================================</p>
+<blockquote>
+<p>To: [email protected]<br />
+Subject: [VOTE] Release Celix version X.Y.Z</p>
+<p>This is the release vote for Apache Celix, version X.Y.Z.</p>
+<p>This release has already been approved by:</p>
+<p>+1 Name of Approver (apache ID) (binding|not binding)<br />
++1 Name of Approver (apache ID) (binding|not binding)<br />
+...</p>
+<p>See {Create link to the archive of Celix release thread using 
http://incubator.markmail.org/search/?q=list%3Aorg.apache.incubator.celix-dev} 
for their votes.</p>
+<p>It fixes the following issues: <br />
+{Create Release Note link using 
https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12323511}</p>
+<p>Source files:<br />
+https://dist.apache.org/repos/dist/dev/incubator/celix/celix-X.Y.Z-incubating/</p>
+<p>The tag to be voted upon:<br />
+http://svn.apache.org/repos/asf/incubator/celix/tags/celix-X.Y.Z-incubating/</p>
+<p>Celix's keys can be found at:<br />
+https://dist.apache.org/repos/dist/dev/incubator/celix/KEYS</p>
+<p>Information for voting on a release can be found at 
http://www.apache.org/dev/release.html#approving-a-release</p>
+<p>Please vote to approve this release:</p>
+<p>[ ] +1 Approve the release<br />
+[ ] -1 Disapprove the release (please provide specific comments)</p>
+<p>This vote will be open for at least 72 hours.</p>
+</blockquote>
+<p>================================================================================================================</p>
+<p>Note: Be sure to use the [VOTE] tag, this is used by the automated vote 
tracking system to keep track of outstanding vote threads.</p>
+<h2 id="post-the-vote-results">Post the vote results</h2>
+<p>As mentioned before, after each vote the results must be posted to the 
corresponding list. This "Result" vote contains the number of votes made, 
including 
+wether a vote is binding or not. For a successful vote the following template 
can be used.</p>
+<p>================================================================================================================</p>
+<blockquote>
+<p>To: [email protected], [email protected]<br />
+Subject: [RESULT][VOTE] Release Celix version X.Y.Z</p>
+<p>The vote has passed with the following result:</p>
+<p>+1 Name of Approver (apache ID) (binding|not binding)<br />
++1 Name of Approver (apache ID) (binding|not binding)<br />
+...</p>
+<p>{include additional details if needed}</p>
+<p>The released artifact will be moved to the release area for mirroring. 
After the mirroring period the release will be announced.</p>
+<p>Thanks for voting.</p>
+</blockquote>
+<p>================================================================================================================</p>
+<p>Note: Be sure to post the vote result with the same topic as the original 
message. Also prepend the subject with [RESULT]. This is, again, needed to be 
able to keep track
+of vote threads. See <a 
href="http://people.apache.org/~brane/incubator/votes.html";>Voting Status</a> 
and <a href="http://incubator.apache.org/facilities.html#voting-status";>Voting 
Status Howto</a></p>
+<h2 id="roll-out-release-artefacts">Roll out release artefacts</h2>
+<p>If the vote is passed successfully the release can be moved from the "dev" 
area to "release". The automated svnpubsub will move the artifact to the 
correct 
+server for mirroring. Mirroring typically can take up to 24 hours.</p>
+<p>Besides uploading the new release, the old release should be archived. 
Since archiving is already automated, it is only needed to delete the previous 
version from the release
+area. See the <a 
href="http://www.apache.org/dev/release.html#when-to-archive";>Apache Release 
Guide</a> for more information.</p>
+<p>See the <a href="http://www.apache.org/dev/release.html#upload-ci";>Apache 
Release Guide</a> for more information.</p>
+<p>After these 24 hours the release can be announced.</p>
+<h2 id="announce-the-release">Announce the release</h2>
+<p>Update website's <a 
href="http://incubator.apache.org/celix/index.html";>News</a> and <a 
href="http://incubator.apache.org/celix/download.html";>Download</a> sections to 
include the new release.</p>
+<p>On the "Download" page, the old release can be replaced with the new one, 
there is no need to keep a link to archived versions. The "News" section can 
simply be extended
+with an additional entry.</p>
+<p>Additionally it is a good idea to post a message to "[email protected]" 
and "[email protected]". (note: the from address must be a 
[email protected] address).</p>
+<p>The following template must be used:</p>
+<p>================================================================================================================</p>
+<blockquote>
+<p>To: [email protected], [email protected]<br />
+Subject: [ANNOUNCE] Apache Celix X.Y.Z.incubating released</p>
+<p>The Apache Celix team is pleased to announce the release of Celix 
X.Y.Z.incubating.</p>
+<p>Celix is an implementation of the OSGi specification adapted to C. It will 
follow the API 
+as close as possible, but since the OSGi specification is written primarily 
for Java, there 
+will be differences. An important aspect of the implementation is 
interoperability between 
+Java and C. This interoperability is achieved by porting and implementing the 
Remote 
+Services specification in Celix.</p>
+<p>This new release focusses on .... {add additional information for this 
release}</p>
+<p>The release is available here:<br />
+http://incubator.apache.org/celix/download.cgi</p>
+<p>The full change log is available here:<br />
+{Create Release Note link using 
https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12323511}</p>
+<p>We welcome your help and feedback. For more information on how to report 
problems, 
+and to get involved, visit the project website at 
http://incubator.apache.org/celix/</p>
+<p>The Apache Celix Team</p>
+</blockquote>
+<p>================================================================================================================</p>
+                    </div>
+                    <div id="homeright">
+                        
+                        
+                        <div id="download" class="rc">
+                            <h2 id="requirements">Requirements</h2>
+<ul>
+<li>CMake (2.8.4)</li>
+<li>GCC (4.2.1)</li>
+<li>GNU Make (3.81)</li>
+<li>ZLib</li>
+<li>CUnit</li>
+<li>Celix Source</li>
+</ul>
+<h2 id="useful-links">Useful Links</h2>
+<ul>
+<li><a href="http://www.cmake.org/cmake/help/documentation.html";>CMake 
Documentation</a></li>
+</ul>
+                        </div>
+                        
+                        
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+  
+    <div id="footer">
+        <div class="copyright">
+            <p>
+                Copyright &copy; 2011 The Apache Software Foundation, Licensed 
under 
+                the <a 
href="http://www.apache.org/licenses/LICENSE-2.0";>Apache License, Version 
2.0</a>.
+                <br>
+                Apache Celix, Celix, Apache, the Apache feather logo and the 
Apache Celix logo are trademarks of The Apache Software Foundation.
+            </p>
+        </div>
+    </div>
+</body>
+</html>

Added: websites/staging/celix/trunk/content/download-links.html
==============================================================================
--- websites/staging/celix/trunk/content/download-links.html (added)
+++ websites/staging/celix/trunk/content/download-links.html Tue Jul 29 
17:51:21 2014
@@ -0,0 +1,158 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<html>
+<head>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE- 2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+    <link rel="stylesheet" type="text/css" 
+               href="/css/reset-fonts-grids.css">
+    <link rel="stylesheet" type="text/css" href="/css/base-min.css">
+    <link rel="stylesheet" type="text/css" href="/css/superfish.css" 
media="screen">
+    <!--  link rel="stylesheet" type="text/css" href="/css/BreadCrumb.css" 
media="screen"  -->
+    <link rel="stylesheet" type="text/css" href="/css/celix.css">
+    <link rel="stylesheet" type="text/css" href="/css/pygments.css">
+    
+  
+  <title>Apache Celix - </title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  
+  <script type="text/javascript" src="/js/jquery.min.js"></script>
+  <script type="text/javascript" src="/js/jquery.gradient.js"></script>
+  <script type="text/javascript" src="/js/jquery.dimensions.js"></script>
+  <script type="text/javascript" src="/js/jquery.hoverIntent.js"></script>
+  <script type="text/javascript" src="/js/superfish.js"></script>
+  <script type="text/javascript" src="/js/supersubs.js"></script>
+  <!-- script type="text/javascript" src="/js/jquery.easing.1.3.js"></script>
+  <script type="text/javascript" 
src="/js/jquery.jBreadCrumb.1.1.js"></script-->
+  <script type="text/javascript"><!--
+        // initialize plugins
+        jQuery(function() {
+               jQuery('#navbar ul:first').addClass('sf-menu');
+            //Nav bar: Supersubs dropdown menus
+            jQuery('#navbar ul:first').supersubs({extraWidth: 
1}).superfish({animation:{opacity:0.97,height:'show'}});
+        });
+  
+        //jQuery(document).ready(function() {
+               //      jQuery("#breadCrumb").jBreadCrumb();
+               //  })
+    --></script>
+</head>
+
+<body>
+    <div id="page">
+        <div id="header">
+            <a href="/index.html"><img id="headerimage" 
src="/images/celix.png" alt="Apache Celix" 
+                    height="130px"></a>
+            <a href="http://incubator.apache.org/";>
+               <img id="incubatorimage" 
src="/celix/images/apache-incubator-logo.png" alt="Apache Incubator">
+               </a>
+            <div id="navbar"> 
+                <ul>
+<li><a href="/index.html">Home</a></li>
+<li><a href="/celix.html">About</a><ul>
+<li><a href="/celix.html">Celix</a></li>
+<li><a href="/background.html">Background</a></li>
+</ul>
+</li>
+<li><a href="/subprojects.html">Subprojects</a><ul>
+<li><a href="/subprojects/dependencymanager.html">Dependency Manager</a></li>
+<li><a href="/subprojects/deviceaccess.html">Device Access</a></li>
+<li><a href="/subprojects/examples.html">Examples</a></li>
+<li><a href="/subprojects/framework.html">Framework</a></li>
+<li><a href="/subprojects/hessian.html">Hessian</a></li>
+<li><a href="/subprojects/launcher.html">Launcher</a></li>
+<li><a href="/subprojects/logservice.html">Log Service</a></li>
+<li><a href="/subprojects/logwriter.html">Log Writer</a></li>
+<li><a href="/subprojects/remoteserviceadmin.html">Remote Service 
Admin</a></li>
+<li><a href="/subprojects/shell.html">Shell</a></li>
+<li><a href="/subprojects/shelltui.html">Shell TUI</a></li>
+<li><a href="/subprojects/utils.html">Utils</a></li>
+</ul>
+</li>
+<li><a href="/documentation.html">Documentation</a><ul>
+<li><a href="/documentation/buildingandrunning.html">Building and 
Running</a></li>
+<li><a href="/documentation/releasing.html">How To Release</a></li>
+<li><a href="/documentation/design.html">Design</a></li>
+<li><a href="/documentation/mapping.html">Mapping</a></li>
+<li><a href="/documentation/memorypools.html">Memory Pools</a></li>
+<li><a href="/documentation/examples.html">Examples</a><ul>
+<li><a href="/examples/helloworld.html">Hello World Example</a></li>
+</ul>
+</li>
+</ul>
+</li>
+<li><a href="/download.cgi">Download</a></li>
+<li><a href="/community/community.html">Community</a><ul>
+<li><a href="/community/contributing/contributing.html">Contributing</a></li>
+<li><a href="/community/boardreports/boardreports.html">Board Reports</a></li>
+</ul>
+</li>
+<li><a href="/support/support.html">Support</a><ul>
+<li><a href="/support/mailinglist.html">Mailing List</a></li>
+<li><a href="/support/issuetracking.html">Issue Tracking</a></li>
+</ul>
+</li>
+<li><a href="/asf/asf.html">ASF</a><ul>
+<li><a href="http://www.apache.org/";>ASF Home</a></li>
+<li><a href="http://www.apache.org/foundation/how-it-works.html";>How it 
Works</a></li>
+<li><a href="http://www.apache.org/licenses/";>License</a></li>
+<li><a 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li>
+<li><a href="http://www.apache.org/security/";>Security</a></li>
+</ul>
+</li>
+</ul>
+            </div>
+                   <!-- div id="breadCrumbHolder" class="module">
+                       <div id="breadCrumb" class="breadCrumb module">
+                           <ul>
+                               
+                           </ul>
+                       </div>
+                   </div-->
+        </div>
+  
+        <div id="center">
+            <div id="main">
+                <div id="homecenter">
+                    <div id="homeleft">
+                        <h1 class="title"></h1>
+                        
+                    </div>
+                    <div id="homeright">
+                        
+                        
+                        
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+  
+    <div id="footer">
+        <div class="copyright">
+            <p>
+                Copyright &copy; 2011 The Apache Software Foundation, Licensed 
under 
+                the <a 
href="http://www.apache.org/licenses/LICENSE-2.0";>Apache License, Version 
2.0</a>.
+                <br>
+                Apache Celix, Celix, Apache, the Apache feather logo and the 
Apache Celix logo are trademarks of The Apache Software Foundation.
+            </p>
+        </div>
+    </div>
+</body>
+</html>

Added: websites/staging/celix/trunk/content/download.cgi
==============================================================================
--- websites/staging/celix/trunk/content/download.cgi (added)
+++ websites/staging/celix/trunk/content/download.cgi Tue Jul 29 17:51:21 2014
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Wrapper script around mirrors.cgi script
+# (we must change to that directory in order for python to pick up the
+#  python includes correctly)
+cd /www/www.apache.org/dyn/mirrors
+/www/www.apache.org/dyn/mirrors/mirrors.cgi $*

Propchange: websites/staging/celix/trunk/content/download.cgi
------------------------------------------------------------------------------
    svn:executable = *

Added: websites/staging/celix/trunk/content/download.html
==============================================================================
--- websites/staging/celix/trunk/content/download.html (added)
+++ websites/staging/celix/trunk/content/download.html Tue Jul 29 17:51:21 2014
@@ -0,0 +1,179 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<html>
+<head>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE- 2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+    <link rel="stylesheet" type="text/css" 
+               href="/css/reset-fonts-grids.css">
+    <link rel="stylesheet" type="text/css" href="/css/base-min.css">
+    <link rel="stylesheet" type="text/css" href="/css/superfish.css" 
media="screen">
+    <!--  link rel="stylesheet" type="text/css" href="/css/BreadCrumb.css" 
media="screen"  -->
+    <link rel="stylesheet" type="text/css" href="/css/celix.css">
+    <link rel="stylesheet" type="text/css" href="/css/pygments.css">
+    
+  
+  <title>Apache Celix - Download Celix</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  
+  <script type="text/javascript" src="/js/jquery.min.js"></script>
+  <script type="text/javascript" src="/js/jquery.gradient.js"></script>
+  <script type="text/javascript" src="/js/jquery.dimensions.js"></script>
+  <script type="text/javascript" src="/js/jquery.hoverIntent.js"></script>
+  <script type="text/javascript" src="/js/superfish.js"></script>
+  <script type="text/javascript" src="/js/supersubs.js"></script>
+  <!-- script type="text/javascript" src="/js/jquery.easing.1.3.js"></script>
+  <script type="text/javascript" 
src="/js/jquery.jBreadCrumb.1.1.js"></script-->
+  <script type="text/javascript"><!--
+        // initialize plugins
+        jQuery(function() {
+               jQuery('#navbar ul:first').addClass('sf-menu');
+            //Nav bar: Supersubs dropdown menus
+            jQuery('#navbar ul:first').supersubs({extraWidth: 
1}).superfish({animation:{opacity:0.97,height:'show'}});
+        });
+  
+        //jQuery(document).ready(function() {
+               //      jQuery("#breadCrumb").jBreadCrumb();
+               //  })
+    --></script>
+</head>
+
+<body>
+    <div id="page">
+        <div id="header">
+            <a href="/index.html"><img id="headerimage" 
src="/images/celix.png" alt="Apache Celix" 
+                    height="130px"></a>
+            <a href="http://incubator.apache.org/";>
+               <img id="incubatorimage" 
src="/celix/images/apache-incubator-logo.png" alt="Apache Incubator">
+               </a>
+            <div id="navbar"> 
+                <ul>
+<li><a href="/index.html">Home</a></li>
+<li><a href="/celix.html">About</a><ul>
+<li><a href="/celix.html">Celix</a></li>
+<li><a href="/background.html">Background</a></li>
+</ul>
+</li>
+<li><a href="/subprojects.html">Subprojects</a><ul>
+<li><a href="/subprojects/dependencymanager.html">Dependency Manager</a></li>
+<li><a href="/subprojects/deviceaccess.html">Device Access</a></li>
+<li><a href="/subprojects/examples.html">Examples</a></li>
+<li><a href="/subprojects/framework.html">Framework</a></li>
+<li><a href="/subprojects/hessian.html">Hessian</a></li>
+<li><a href="/subprojects/launcher.html">Launcher</a></li>
+<li><a href="/subprojects/logservice.html">Log Service</a></li>
+<li><a href="/subprojects/logwriter.html">Log Writer</a></li>
+<li><a href="/subprojects/remoteserviceadmin.html">Remote Service 
Admin</a></li>
+<li><a href="/subprojects/shell.html">Shell</a></li>
+<li><a href="/subprojects/shelltui.html">Shell TUI</a></li>
+<li><a href="/subprojects/utils.html">Utils</a></li>
+</ul>
+</li>
+<li><a href="/documentation.html">Documentation</a><ul>
+<li><a href="/documentation/buildingandrunning.html">Building and 
Running</a></li>
+<li><a href="/documentation/releasing.html">How To Release</a></li>
+<li><a href="/documentation/design.html">Design</a></li>
+<li><a href="/documentation/mapping.html">Mapping</a></li>
+<li><a href="/documentation/memorypools.html">Memory Pools</a></li>
+<li><a href="/documentation/examples.html">Examples</a><ul>
+<li><a href="/examples/helloworld.html">Hello World Example</a></li>
+</ul>
+</li>
+</ul>
+</li>
+<li><a href="/download.cgi">Download</a></li>
+<li><a href="/community/community.html">Community</a><ul>
+<li><a href="/community/contributing/contributing.html">Contributing</a></li>
+<li><a href="/community/boardreports/boardreports.html">Board Reports</a></li>
+</ul>
+</li>
+<li><a href="/support/support.html">Support</a><ul>
+<li><a href="/support/mailinglist.html">Mailing List</a></li>
+<li><a href="/support/issuetracking.html">Issue Tracking</a></li>
+</ul>
+</li>
+<li><a href="/asf/asf.html">ASF</a><ul>
+<li><a href="http://www.apache.org/";>ASF Home</a></li>
+<li><a href="http://www.apache.org/foundation/how-it-works.html";>How it 
Works</a></li>
+<li><a href="http://www.apache.org/licenses/";>License</a></li>
+<li><a 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li>
+<li><a href="http://www.apache.org/security/";>Security</a></li>
+</ul>
+</li>
+</ul>
+            </div>
+                   <!-- div id="breadCrumbHolder" class="module">
+                       <div id="breadCrumb" class="breadCrumb module">
+                           <ul>
+                               
+                           </ul>
+                       </div>
+                   </div-->
+        </div>
+  
+        <div id="center">
+            <div id="main">
+                <div id="homecenter">
+                    <div id="homeleft">
+                        <h1 class="title">Download Celix</h1>
+                        <p>Celix is an implementation of the OSGi 
specification adapted to C.</p>
+<h2 id="releases">Releases</h2>
+<p>Apache Celix only releases source distributions, information about building 
and running van be found inside the release tarball.</p>
+<h3 id="mirrors">Mirrors</h3>
+<p>The currently selected mirror is <strong>[preferred]</strong>. If you 
encounter a problem with this mirror, please select another mirror. If all 
mirrors are failing, there are <em>backup</em> 
+mirrors (at the end of the mirrors list) that should be available. 
+<form action="[location]" method="get" id="SelectMirror">Other mirrors:
+    <select name="Preferred">
+        [if-any http] [for http]<option value="[http]">[http]</option>[end] 
[end] 
+        [if-any ftp] [for ftp]<option value="[ftp]">[ftp]</option>[end] [end] 
+        [if-any backup] [for backup]<option value="[backup]">[backup] 
(backup)</option>[end] [end]
+    </select>
+    <input type="submit" value="Change"></input>
+</form></p>
+<p>You may also consult the <a href="http://www.apache.org/mirrors/";>complete 
list of mirrors</a>.</p>
+<h3 id="downloads">Downloads</h3>
+<ul>
+<li>Source: <a 
href="[preferred]/incubator/celix/celix-1.0.0.incubating/celix-1.0.0.incubating.tar.gz">celix-1.0.0.incubating.tar.gz</a>
+[ <a 
href="http://www.apache.org/dist/incubator/celix/celix-1.0.0.incubating/celix-1.0.0.incubating.tar.gz.asc";>PGP</a>
 ] [
+<a 
href="http://www.apache.org/dist/incubator/celix/celix-1.0.0.incubating/celix-1.0.0.incubating.tar.gz.md5";>MD5</a>
 ] [
+<a 
href="http://www.apache.org/dist/incubator/celix/celix-1.0.0.incubating/celix-1.0.0.incubating.tar.gz.sha";>SHA1</a>
 ]</li>
+</ul>
+                    </div>
+                    <div id="homeright">
+                        
+                        
+                        
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+  
+    <div id="footer">
+        <div class="copyright">
+            <p>
+                Copyright &copy; 2011 The Apache Software Foundation, Licensed 
under 
+                the <a 
href="http://www.apache.org/licenses/LICENSE-2.0";>Apache License, Version 
2.0</a>.
+                <br>
+                Apache Celix, Celix, Apache, the Apache feather logo and the 
Apache Celix logo are trademarks of The Apache Software Foundation.
+            </p>
+        </div>
+    </div>
+</body>
+</html>

Added: websites/staging/celix/trunk/content/examples/helloworld-links.html
==============================================================================
--- websites/staging/celix/trunk/content/examples/helloworld-links.html (added)
+++ websites/staging/celix/trunk/content/examples/helloworld-links.html Tue Jul 
29 17:51:21 2014
@@ -0,0 +1,167 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<html>
+<head>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE- 2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+    <link rel="stylesheet" type="text/css" 
+               href="/css/reset-fonts-grids.css">
+    <link rel="stylesheet" type="text/css" href="/css/base-min.css">
+    <link rel="stylesheet" type="text/css" href="/css/superfish.css" 
media="screen">
+    <!--  link rel="stylesheet" type="text/css" href="/css/BreadCrumb.css" 
media="screen"  -->
+    <link rel="stylesheet" type="text/css" href="/css/celix.css">
+    <link rel="stylesheet" type="text/css" href="/css/pygments.css">
+    
+  
+  <title>Apache Celix - </title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  
+  <script type="text/javascript" src="/js/jquery.min.js"></script>
+  <script type="text/javascript" src="/js/jquery.gradient.js"></script>
+  <script type="text/javascript" src="/js/jquery.dimensions.js"></script>
+  <script type="text/javascript" src="/js/jquery.hoverIntent.js"></script>
+  <script type="text/javascript" src="/js/superfish.js"></script>
+  <script type="text/javascript" src="/js/supersubs.js"></script>
+  <!-- script type="text/javascript" src="/js/jquery.easing.1.3.js"></script>
+  <script type="text/javascript" 
src="/js/jquery.jBreadCrumb.1.1.js"></script-->
+  <script type="text/javascript"><!--
+        // initialize plugins
+        jQuery(function() {
+               jQuery('#navbar ul:first').addClass('sf-menu');
+            //Nav bar: Supersubs dropdown menus
+            jQuery('#navbar ul:first').supersubs({extraWidth: 
1}).superfish({animation:{opacity:0.97,height:'show'}});
+        });
+  
+        //jQuery(document).ready(function() {
+               //      jQuery("#breadCrumb").jBreadCrumb();
+               //  })
+    --></script>
+</head>
+
+<body>
+    <div id="page">
+        <div id="header">
+            <a href="/index.html"><img id="headerimage" 
src="/images/celix.png" alt="Apache Celix" 
+                    height="130px"></a>
+            <a href="http://incubator.apache.org/";>
+               <img id="incubatorimage" 
src="/celix/images/apache-incubator-logo.png" alt="Apache Incubator">
+               </a>
+            <div id="navbar"> 
+                <ul>
+<li><a href="/index.html">Home</a></li>
+<li><a href="/celix.html">About</a><ul>
+<li><a href="/celix.html">Celix</a></li>
+<li><a href="/background.html">Background</a></li>
+</ul>
+</li>
+<li><a href="/subprojects.html">Subprojects</a><ul>
+<li><a href="/subprojects/dependencymanager.html">Dependency Manager</a></li>
+<li><a href="/subprojects/deviceaccess.html">Device Access</a></li>
+<li><a href="/subprojects/examples.html">Examples</a></li>
+<li><a href="/subprojects/framework.html">Framework</a></li>
+<li><a href="/subprojects/hessian.html">Hessian</a></li>
+<li><a href="/subprojects/launcher.html">Launcher</a></li>
+<li><a href="/subprojects/logservice.html">Log Service</a></li>
+<li><a href="/subprojects/logwriter.html">Log Writer</a></li>
+<li><a href="/subprojects/remoteserviceadmin.html">Remote Service 
Admin</a></li>
+<li><a href="/subprojects/shell.html">Shell</a></li>
+<li><a href="/subprojects/shelltui.html">Shell TUI</a></li>
+<li><a href="/subprojects/utils.html">Utils</a></li>
+</ul>
+</li>
+<li><a href="/documentation.html">Documentation</a><ul>
+<li><a href="/documentation/buildingandrunning.html">Building and 
Running</a></li>
+<li><a href="/documentation/releasing.html">How To Release</a></li>
+<li><a href="/documentation/design.html">Design</a></li>
+<li><a href="/documentation/mapping.html">Mapping</a></li>
+<li><a href="/documentation/memorypools.html">Memory Pools</a></li>
+<li><a href="/documentation/examples.html">Examples</a><ul>
+<li><a href="/examples/helloworld.html">Hello World Example</a></li>
+</ul>
+</li>
+</ul>
+</li>
+<li><a href="/download.cgi">Download</a></li>
+<li><a href="/community/community.html">Community</a><ul>
+<li><a href="/community/contributing/contributing.html">Contributing</a></li>
+<li><a href="/community/boardreports/boardreports.html">Board Reports</a></li>
+</ul>
+</li>
+<li><a href="/support/support.html">Support</a><ul>
+<li><a href="/support/mailinglist.html">Mailing List</a></li>
+<li><a href="/support/issuetracking.html">Issue Tracking</a></li>
+</ul>
+</li>
+<li><a href="/asf/asf.html">ASF</a><ul>
+<li><a href="http://www.apache.org/";>ASF Home</a></li>
+<li><a href="http://www.apache.org/foundation/how-it-works.html";>How it 
Works</a></li>
+<li><a href="http://www.apache.org/licenses/";>License</a></li>
+<li><a 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li>
+<li><a href="http://www.apache.org/security/";>Security</a></li>
+</ul>
+</li>
+</ul>
+            </div>
+                   <!-- div id="breadCrumbHolder" class="module">
+                       <div id="breadCrumb" class="breadCrumb module">
+                           <ul>
+                               
+                           </ul>
+                       </div>
+                   </div-->
+        </div>
+  
+        <div id="center">
+            <div id="main">
+                <div id="homecenter">
+                    <div id="homeleft">
+                        <h1 class="title"></h1>
+                        <h2 id="useful-links">Useful Links</h2>
+<ul>
+<li><a 
href="https://svn.apache.org/repos/asf/incubator/celix/trunk/hello_world";>Example
 Source</a></li>
+<li>
+<p><a href="/celix/buildingandrunning.html">Building and Running Celix</a></p>
+</li>
+<li>
+<p><a href="http://www.cmake.org/cmake/help/documentation.html";>CMake 
Documentation</a></p>
+</li>
+</ul>
+                    </div>
+                    <div id="homeright">
+                        
+                        
+                        
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+  
+    <div id="footer">
+        <div class="copyright">
+            <p>
+                Copyright &copy; 2011 The Apache Software Foundation, Licensed 
under 
+                the <a 
href="http://www.apache.org/licenses/LICENSE-2.0";>Apache License, Version 
2.0</a>.
+                <br>
+                Apache Celix, Celix, Apache, the Apache feather logo and the 
Apache Celix logo are trademarks of The Apache Software Foundation.
+            </p>
+        </div>
+    </div>
+</body>
+</html>

Added: websites/staging/celix/trunk/content/examples/helloworld.html
==============================================================================
--- websites/staging/celix/trunk/content/examples/helloworld.html (added)
+++ websites/staging/celix/trunk/content/examples/helloworld.html Tue Jul 29 
17:51:21 2014
@@ -0,0 +1,317 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<html>
+<head>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE- 2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+    <link rel="stylesheet" type="text/css" 
+               href="/css/reset-fonts-grids.css">
+    <link rel="stylesheet" type="text/css" href="/css/base-min.css">
+    <link rel="stylesheet" type="text/css" href="/css/superfish.css" 
media="screen">
+    <!--  link rel="stylesheet" type="text/css" href="/css/BreadCrumb.css" 
media="screen"  -->
+    <link rel="stylesheet" type="text/css" href="/css/celix.css">
+    <link rel="stylesheet" type="text/css" href="/css/pygments.css">
+    
+  
+  <title>Apache Celix - Hello World Example</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  
+  <script type="text/javascript" src="/js/jquery.min.js"></script>
+  <script type="text/javascript" src="/js/jquery.gradient.js"></script>
+  <script type="text/javascript" src="/js/jquery.dimensions.js"></script>
+  <script type="text/javascript" src="/js/jquery.hoverIntent.js"></script>
+  <script type="text/javascript" src="/js/superfish.js"></script>
+  <script type="text/javascript" src="/js/supersubs.js"></script>
+  <!-- script type="text/javascript" src="/js/jquery.easing.1.3.js"></script>
+  <script type="text/javascript" 
src="/js/jquery.jBreadCrumb.1.1.js"></script-->
+  <script type="text/javascript"><!--
+        // initialize plugins
+        jQuery(function() {
+               jQuery('#navbar ul:first').addClass('sf-menu');
+            //Nav bar: Supersubs dropdown menus
+            jQuery('#navbar ul:first').supersubs({extraWidth: 
1}).superfish({animation:{opacity:0.97,height:'show'}});
+        });
+  
+        //jQuery(document).ready(function() {
+               //      jQuery("#breadCrumb").jBreadCrumb();
+               //  })
+    --></script>
+</head>
+
+<body>
+    <div id="page">
+        <div id="header">
+            <a href="/index.html"><img id="headerimage" 
src="/images/celix.png" alt="Apache Celix" 
+                    height="130px"></a>
+            <a href="http://incubator.apache.org/";>
+               <img id="incubatorimage" 
src="/celix/images/apache-incubator-logo.png" alt="Apache Incubator">
+               </a>
+            <div id="navbar"> 
+                <ul>
+<li><a href="/index.html">Home</a></li>
+<li><a href="/celix.html">About</a><ul>
+<li><a href="/celix.html">Celix</a></li>
+<li><a href="/background.html">Background</a></li>
+</ul>
+</li>
+<li><a href="/subprojects.html">Subprojects</a><ul>
+<li><a href="/subprojects/dependencymanager.html">Dependency Manager</a></li>
+<li><a href="/subprojects/deviceaccess.html">Device Access</a></li>
+<li><a href="/subprojects/examples.html">Examples</a></li>
+<li><a href="/subprojects/framework.html">Framework</a></li>
+<li><a href="/subprojects/hessian.html">Hessian</a></li>
+<li><a href="/subprojects/launcher.html">Launcher</a></li>
+<li><a href="/subprojects/logservice.html">Log Service</a></li>
+<li><a href="/subprojects/logwriter.html">Log Writer</a></li>
+<li><a href="/subprojects/remoteserviceadmin.html">Remote Service 
Admin</a></li>
+<li><a href="/subprojects/shell.html">Shell</a></li>
+<li><a href="/subprojects/shelltui.html">Shell TUI</a></li>
+<li><a href="/subprojects/utils.html">Utils</a></li>
+</ul>
+</li>
+<li><a href="/documentation.html">Documentation</a><ul>
+<li><a href="/documentation/buildingandrunning.html">Building and 
Running</a></li>
+<li><a href="/documentation/releasing.html">How To Release</a></li>
+<li><a href="/documentation/design.html">Design</a></li>
+<li><a href="/documentation/mapping.html">Mapping</a></li>
+<li><a href="/documentation/memorypools.html">Memory Pools</a></li>
+<li><a href="/documentation/examples.html">Examples</a><ul>
+<li><a href="/examples/helloworld.html">Hello World Example</a></li>
+</ul>
+</li>
+</ul>
+</li>
+<li><a href="/download.cgi">Download</a></li>
+<li><a href="/community/community.html">Community</a><ul>
+<li><a href="/community/contributing/contributing.html">Contributing</a></li>
+<li><a href="/community/boardreports/boardreports.html">Board Reports</a></li>
+</ul>
+</li>
+<li><a href="/support/support.html">Support</a><ul>
+<li><a href="/support/mailinglist.html">Mailing List</a></li>
+<li><a href="/support/issuetracking.html">Issue Tracking</a></li>
+</ul>
+</li>
+<li><a href="/asf/asf.html">ASF</a><ul>
+<li><a href="http://www.apache.org/";>ASF Home</a></li>
+<li><a href="http://www.apache.org/foundation/how-it-works.html";>How it 
Works</a></li>
+<li><a href="http://www.apache.org/licenses/";>License</a></li>
+<li><a 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li>
+<li><a href="http://www.apache.org/security/";>Security</a></li>
+</ul>
+</li>
+</ul>
+            </div>
+                   <!-- div id="breadCrumbHolder" class="module">
+                       <div id="breadCrumb" class="breadCrumb module">
+                           <ul>
+                               
+                           </ul>
+                       </div>
+                   </div-->
+        </div>
+  
+        <div id="center">
+            <div id="main">
+                <div id="homecenter">
+                    <div id="homeleft">
+                        <h1 class="title">Hello World Example</h1>
+                        <p>The HelloWorld example shows how to create a simple 
activator that prints a message when starting/stopping the bundle. 
+To show how data can be stored by the activator a data struct is created which 
is passed to all calls made from the 
+framework to the activator.</p>
+<h2 id="activator">Activator</h2>
+<p>To be able to start or stop a bundle an activator is needed. In Celix an 
activator has to implement the 
+"bundle_activator.h" header. This header contains the following templates:</p>
+<ul>
+<li>bundleActivator_create()</li>
+<li>bundleActivator_start(void * data, BUNDLE_CONTEXT ctx)</li>
+<li>bundleActivator_stop(void * data, BUNDLE_CONTEXT ctx)</li>
+</ul>
+<p>These functions will be implemented in a file called activator.c:</p>
+<table class="codehilitetable"><tr><td class="linenos"><div 
class="linenodiv"><pre>1
+2
+3
+4</pre></div></td><td class="code"><div class="codehilite"><pre><span 
class="cp">#include &lt;stdlib.h&gt;</span>
+<span class="cp">#include &lt;stdio.h&gt;</span>
+
+<span class="cp">#include &quot;bundle_activator.h&quot;</span>
+</pre></div>
+</td></tr></table>
+
+<h2 id="create">Create</h2>
+<p>The create function is used to create the data object for the activator. In 
this data object the service registration 
+etc can be stored. It is possible to return NULL.
+The HelloWorld example uses a data struct to store a string which is printed 
during the start and stop function.</p>
+<table class="codehilitetable"><tr><td class="linenos"><div 
class="linenodiv"><pre>1
+2
+3
+4
+5
+6
+7
+8
+9</pre></div></td><td class="code"><div class="codehilite"><pre><span 
class="k">struct</span> <span class="n">userData</span> <span class="p">{</span>
+    <span class="kt">char</span> <span class="o">*</span> <span 
class="n">word</span><span class="p">;</span>
+<span class="p">};</span>
+
+<span class="kt">void</span> <span class="o">*</span> <span 
class="nf">bundleActivator_create</span><span class="p">()</span> <span 
class="p">{</span>
+    <span class="k">struct</span> <span class="n">userData</span> <span 
class="o">*</span> <span class="n">data</span> <span class="o">=</span> <span 
class="n">malloc</span><span class="p">(</span><span 
class="k">sizeof</span><span class="p">(</span><span class="o">*</span><span 
class="n">data</span><span class="p">));</span>
+    <span class="n">data</span><span class="o">-&gt;</span><span 
class="n">word</span> <span class="o">=</span> <span 
class="s">&quot;World&quot;</span><span class="p">;</span>
+    <span class="k">return</span> <span class="n">data</span><span 
class="p">;</span>
+<span class="p">}</span>
+</pre></div>
+</td></tr></table>
+
+<h2 id="start">Start</h2>
+<p>The start function is the entry point of the bundle. After installing the 
bundle, the framework calls the start 
+function to actually start the bundle. In the HelloWorld example it only 
prints a message using the data from the 
+userData struct.</p>
+<table class="codehilitetable"><tr><td class="linenos"><div 
class="linenodiv"><pre>1
+2
+3
+4
+5</pre></div></td><td class="code"><div class="codehilite"><pre><span 
class="kt">void</span> <span class="nf">bundleActivator_start</span><span 
class="p">(</span><span class="kt">void</span> <span class="o">*</span> <span 
class="n">userData</span><span class="p">,</span> <span 
class="n">BUNDLE_CONTEXT</span> <span class="n">context</span><span 
class="p">)</span> <span class="p">{</span>
+    <span class="k">struct</span> <span class="n">userData</span> <span 
class="o">*</span> <span class="n">data</span> <span class="o">=</span> <span 
class="p">(</span><span class="k">struct</span> <span class="n">userData</span> 
<span class="o">*</span><span class="p">)</span> <span 
class="n">userData</span><span class="p">;</span>
+    <span class="n">printf</span><span class="p">(</span><span 
class="s">&quot;Hello %s</span><span class="se">\n</span><span 
class="s">&quot;</span><span class="p">,</span> <span 
class="n">data</span><span class="o">-&gt;</span><span 
class="n">word</span><span class="p">);</span>
+
+<span class="p">}</span>
+</pre></div>
+</td></tr></table>
+
+<h2 id="stop">Stop</h2>
+<p>The stop function is called when the bundle is stopped.</p>
+<table class="codehilitetable"><tr><td class="linenos"><div 
class="linenodiv"><pre>1
+2
+3
+4</pre></div></td><td class="code"><div class="codehilite"><pre><span 
class="kt">void</span> <span class="nf">bundleActivator_stop</span><span 
class="p">(</span><span class="kt">void</span> <span class="o">*</span> <span 
class="n">userData</span><span class="p">,</span> <span 
class="n">BUNDLE_CONTEXT</span> <span class="n">context</span><span 
class="p">)</span> <span class="p">{</span>
+    <span class="k">struct</span> <span class="n">userData</span> <span 
class="o">*</span> <span class="n">data</span> <span class="o">=</span> <span 
class="p">(</span><span class="k">struct</span> <span class="n">userData</span> 
<span class="o">*</span><span class="p">)</span> <span 
class="n">userData</span><span class="p">;</span>
+    <span class="n">printf</span><span class="p">(</span><span 
class="s">&quot;Goodbye %s</span><span class="se">\n</span><span 
class="s">&quot;</span><span class="p">,</span> <span 
class="n">data</span><span class="o">-&gt;</span><span 
class="n">word</span><span class="p">);</span>
+<span class="p">}</span>
+</pre></div>
+</td></tr></table>
+
+<h2 id="manifest">Manifest</h2>
+<p>In Celix manifest files are used to describe a service. For example a 
symbolic name, the version but also exported (provided) or imported (required) 
services and the name of the library contained in a bundle. Every bundle 
requires a manifest file, and this file must be located in the MANIFEST 
directory and called MANIFEST.MF.
+For the HelloWorld example a simple Manifest file is needed with a symbolic 
name, version and library name.</p>
+<table class="codehilitetable"><tr><td class="linenos"><div 
class="linenodiv"><pre>1
+2
+3</pre></div></td><td class="code"><div class="codehilite"><pre><span 
class="n">Bundle</span><span class="o">-</span><span 
class="n">SymbolicName</span><span class="o">:</span> <span 
class="n">hello_world</span>
+<span class="n">Bundle</span><span class="o">-</span><span 
class="n">Version</span><span class="o">:</span> <span class="mf">1.0.0</span>
+<span class="nl">library:</span> <span class="n">hello_world</span>
+</pre></div>
+</td></tr></table>
+
+<h2 id="bundle">Bundle</h2>
+<p>Finally, to build the library and create the bundle, a CMake build file is 
needed. In this build file the library is created from the source code, 
includes can be given, link libraries can be defined and the bundle is 
created.</p>
+<table class="codehilitetable"><tr><td class="linenos"><div 
class="linenodiv"><pre>1
+2
+3
+4
+5</pre></div></td><td class="code"><div class="codehilite"><pre><span 
class="n">add_library</span><span class="p">(</span><span 
class="n">hello_world</span> <span class="n">SHARED</span> <span 
class="n">activator</span><span class="p">)</span>
+<span class="n">include_directories</span><span class="p">(</span><span 
class="s">&quot;${PROJECT_SOURCE_DIR}/celix&quot;</span><span class="p">)</span>
+<span class="n">target_link_libraries</span><span class="p">(</span><span 
class="n">hello_world</span> <span class="n">framework</span><span 
class="p">)</span>
+
+<span class="n">bundle</span><span class="p">(</span><span 
class="n">hello_world</span><span class="p">)</span>
+</pre></div>
+</td></tr></table>
+
+<p>In the top level CMake file the HelloWorld make file has to be included. 
This depends on the location of the HelloWorld example.
+Top Level CMakeList.txt</p>
+<div class="codehilite"><pre><span class="n">add_subdirectory</span><span 
class="p">(</span><span class="n">hello_world</span><span class="p">)</span>
+</pre></div>
+
+
+<h2 id="target">Target</h2>
+<p>To be able to use bundles a configuration is needed. This configuration 
contains a list of bundles to start. Celix contains a CMake macro to simply the 
process of create such configuration.
+The target macro can be called with a name and a list of bundles. The build 
creates the configuration file and copies the bundles to a directory with the 
same name as the target.
+The HelloWorld bundle is included, as well as a shell. The shell is used to be 
able to list and stop/start installed bundles.
+Targets are defined in the target.cmake file in the root of the project.
+target.cmake</p>
+<div class="codehilite"><pre><span class="n">deploy</span><span 
class="p">(</span>&quot;<span class="n">hello_world</span>&quot; <span 
class="n">BUNDLES</span> <span class="n">hello_world</span> <span 
class="n">shell</span> <span class="n">shell_tui</span><span class="p">)</span>
+</pre></div>
+
+
+<h2 id="building">Building</h2>
+<p>After creating the build files, the bundle and target must be 
build/created. Building and running is explained in detail on Building and 
Running Celix.
+For the HelloWorld example the following steps need to be executed from the 
root of the project. It is assumed that the environment is setup properly.</p>
+<div class="codehilite"><pre><span class="n">mkdir</span> <span 
class="n">build</span>
+<span class="n">cd</span> <span class="n">build</span>
+<span class="n">cmake</span> <span class="p">..</span>
+<span class="n">make</span> <span class="n">deploy</span>
+<span class="n">cd</span> <span class="n">deploy</span><span 
class="o">/</span><span class="n">hello_world</span>
+<span class="p">.</span><span class="o">./</span><span class="p">.</span><span 
class="o">./</span><span class="n">launcher</span><span class="o">/</span><span 
class="n">launcher</span>
+</pre></div>
+
+
+<p>After starting the launcher, "Hello World" is printed and the Celix shell 
is visible.
+In the shell the "ps" command can be used to print a list of running 
bundles.</p>
+<div class="codehilite"><pre><span class="o">-&gt;</span> <span 
class="n">ps</span>
+  <span class="n">ID</span>    <span class="n">State</span>        <span 
class="n">Name</span>
+  1     <span class="n">Active</span>       <span class="n">hello_world</span>
+  3     <span class="n">Active</span>       <span class="n">shell_tui</span>
+  2     <span class="n">Active</span>       <span class="n">shell</span>
+  0     <span class="n">Active</span>       <span class="n">framework</span>
+</pre></div>
+
+
+<p>There is also a stop and start command. Stopping the hello_world bundle 
will print "Goodbye World", and starting it again "Hello World".</p>
+<div class="codehilite"><pre><span class="o">-&gt;</span> <span 
class="n">stop</span> 1
+<span class="n">Goodbye</span> <span class="n">World</span>
+<span class="o">-&gt;</span> <span class="n">start</span> 1
+<span class="n">Hello</span> <span class="n">World</span>
+</pre></div>
+
+
+<p>The executable can be stopped using "ctrl-c". This will interrupt the 
process, stop and uninstall all bundles and exit the process.</p>
+                    </div>
+                    <div id="homeright">
+                        
+                        
+                        <div id="download" class="rc">
+                            <h2 id="useful-links">Useful Links</h2>
+<ul>
+<li><a 
href="https://svn.apache.org/repos/asf/incubator/celix/trunk/hello_world";>Example
 Source</a></li>
+<li>
+<p><a href="/celix/buildingandrunning.html">Building and Running Celix</a></p>
+</li>
+<li>
+<p><a href="http://www.cmake.org/cmake/help/documentation.html";>CMake 
Documentation</a></p>
+</li>
+</ul>
+                        </div>
+                        
+                        
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+  
+    <div id="footer">
+        <div class="copyright">
+            <p>
+                Copyright &copy; 2011 The Apache Software Foundation, Licensed 
under 
+                the <a 
href="http://www.apache.org/licenses/LICENSE-2.0";>Apache License, Version 
2.0</a>.
+                <br>
+                Apache Celix, Celix, Apache, the Apache feather logo and the 
Apache Celix logo are trademarks of The Apache Software Foundation.
+            </p>
+        </div>
+    </div>
+</body>
+</html>

Added: websites/staging/celix/trunk/content/images/Chevron.gif
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/celix/trunk/content/images/Chevron.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: websites/staging/celix/trunk/content/images/ChevronOverlay.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/celix/trunk/content/images/ChevronOverlay.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/staging/celix/trunk/content/images/IconHome.gif
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/celix/trunk/content/images/IconHome.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: websites/staging/celix/trunk/content/images/apache-incubator-logo.png
==============================================================================
Binary file - no diff available.

Propchange: 
websites/staging/celix/trunk/content/images/apache-incubator-logo.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/staging/celix/trunk/content/images/arrows-ffffff.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/celix/trunk/content/images/arrows-ffffff.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/staging/celix/trunk/content/images/celix.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/celix/trunk/content/images/celix.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/staging/celix/trunk/content/images/celix_notext.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/celix/trunk/content/images/celix_notext.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/staging/celix/trunk/content/images/celix_notext_20px.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/celix/trunk/content/images/celix_notext_20px.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/staging/celix/trunk/content/images/memory_pools.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/celix/trunk/content/images/memory_pools.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/staging/celix/trunk/content/images/shadow.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/celix/trunk/content/images/shadow.png
------------------------------------------------------------------------------
    svn:mime-type = image/png


Reply via email to