clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r1464148 [33/34] - in /clerezza/site/production: ./ architecture/ architecture/images/ bundle-doc/ bundle-doc/org.apache.clerezza.bundledevtool/ bundle-doc/org.apache.clerezza.bundledevtool/intro-content-el/ bundle-doc/org.apache.clerezza.p...
Date Wed, 03 Apr 2013 18:37:57 GMT
Added: clerezza/site/production/getting-started/shell/content-el/4.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/getting-started/shell/content-el/4.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/getting-started/shell/content-el/4.html (added)
+++ clerezza/site/production/getting-started/shell/content-el/4.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,124 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
+					<head>
+						<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet"/>
+						<title>Creating and Registering Services
+</title>
+					</head>
+					<body>
+						<div class="zz-header">
+
+							<div class="bar"></div>
+							<div class="logo">
+								<a href="http://incubator.apache.org/clerezza/" style=""><img src="/clerezza/images/logo.png" alt="logo"/></a>
+							</div>
+						</div>
+						<div class="column nav">
+							<ul>
+								<li class="top-nav-entry"><div class="title">Documentation</div>
+
+									<ul class="nav-entries">
+										<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+										<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+										<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+										<li><a href="/clerezza/faq/">FAQ</a></li>
+									</ul>
+								</li>
+
+								<li class="top-nav-entry"><div class="title">Project Infos</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/downloads/">Downloads</a></li>
+										<li><a href="/clerezza/contributing/">Contributing</a></li>
+										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+										<li><a href="/clerezza/mailinglists/">Mailing lists</a></li>
+										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+										<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+									</ul>
+								</li>
+								<li class="top-nav-entry"><div class="title">Sponsorship</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/thanks/">Thanks</a></li>
+										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+									</ul>
+								</li>
+							</ul>
+						</div>
+
+						<div class="zz-content">
+							<h1>Creating and Registering Services
+</h1>
+<div class="tx-content">
+
+	<div>All variables and objects created on the Shell are lost after a restart this is true also for objects registered as service. Nevertheless being able t o quickly create and register a service might often come in handy.
+</div>
+
+	<div>The following registers a &quot;hello world&quot; root resource at the uri-path /foo/bar
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+zz&gt;import javax.ws.rs._
+import javax.ws.rs._
+zz&gt;@Path(&quot;foo/bar&quot;) class Foo { @GET def get() = { &quot;hello world&quot; } }
+defined class Foo
+zz&gt;import scala.collection.JavaConversions.asDictionary
+import scala.collection.JavaConversions.asDictionary
+zz&gt;val args = scala.collection.mutable.Map(&quot;javax.ws.rs&quot; -&gt; true)
+args: scala.collection.mutable.Map[java.lang.String,Boolean] = Map((javax.ws.rs,true))
+zz&gt;bundleContext.registerService(classOf[Object].getName, new Foo(), args)
+res38: org.osgi.framework.ServiceRegistration = org.apache.felix.framework.ServiceRegistrationImpl@5bf89f46
+zz&gt;
+</div>
+</div>
+
+</div>
+
+						</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="sitemap">
+									<div class="sitemap-title">Sitemap</div>
+									<div class="sitemap-content">
+										<div class="sitemap-column">
+											<div class="title">Documentation</div>
+											<ul>
+
+												<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+												<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+												<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+												<li><a href="/clerezza/faq/">FAQ</a></li>
+											</ul>
+
+										</div>
+										<div class="sitemap-column">
+
+											<div class="title">Project Infos</div>
+											<ul>
+												<li><a href="/clerezza/downloads/">Downloads</a></li>
+												<li><a href="/clerezza/contributing/">Contributing</a></li>
+												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+												<li><a href="mailinglists/">Mailing lists</a></li>
+												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+												<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+											</ul>
+										</div>
+										<div class="sitemap-column">
+											<div class="title">Sponsorship</div>
+											<ul>
+												<li><a href="/clerezza/thanks/">Thanks</a></li>
+												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+											</ul>
+										</div>
+									</div>
+
+								</div>
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br></br>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+
+
+					</body>
+				</html>
\ No newline at end of file

Added: clerezza/site/production/getting-started/shell/content-el/4.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/getting-started/shell/content-el/4.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/getting-started/shell/content-el/4.rdf (added)
+++ clerezza/site/production/getting-started/shell/content-el/4.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,27 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:nodeID="A0">
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/getting-started/shell/content-el/4-title"/>
+    <j.0:pos>0</j.0:pos>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A1">
+    <j.0:pos>4</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/getting-started/shell/content-el/4"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/getting-started/shell/content">
+    <j.0:contains rdf:nodeID="A1"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/getting-started/shell/content-el/4">
+    <j.0:contains rdf:nodeID="A2"/>
+    <rdf:type rdf:resource="http://discobits.org/ontology#TitledContent"/>
+    <j.0:contains rdf:nodeID="A0"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A2">
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/getting-started/shell/content-el/4-content"/>
+    <j.0:pos>1</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/getting-started/shell/content-el/4.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/getting-started/shell/content-el/4.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/getting-started/shell/content-el/4.xhtml (added)
+++ clerezza/site/production/getting-started/shell/content-el/4.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,124 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+					<head>
+						<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet"/>
+						<title>Creating and Registering Services
+</title>
+					</head>
+					<body>
+						<div class="zz-header">
+
+							<div class="bar"></div>
+							<div class="logo">
+								<a href="http://incubator.apache.org/clerezza/" style=""><img src="/clerezza/images/logo.png" alt="logo"/></a>
+							</div>
+						</div>
+						<div class="column nav">
+							<ul>
+								<li class="top-nav-entry"><div class="title">Documentation</div>
+
+									<ul class="nav-entries">
+										<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+										<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+										<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+										<li><a href="/clerezza/faq/">FAQ</a></li>
+									</ul>
+								</li>
+
+								<li class="top-nav-entry"><div class="title">Project Infos</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/downloads/">Downloads</a></li>
+										<li><a href="/clerezza/contributing/">Contributing</a></li>
+										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+										<li><a href="/clerezza/mailinglists/">Mailing lists</a></li>
+										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+										<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+									</ul>
+								</li>
+								<li class="top-nav-entry"><div class="title">Sponsorship</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/thanks/">Thanks</a></li>
+										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+									</ul>
+								</li>
+							</ul>
+						</div>
+
+						<div class="zz-content">
+							<h1>Creating and Registering Services
+</h1>
+<div class="tx-content">
+
+	<div>All variables and objects created on the Shell are lost after a restart this is true also for objects registered as service. Nevertheless being able t o quickly create and register a service might often come in handy.
+</div>
+
+	<div>The following registers a &quot;hello world&quot; root resource at the uri-path /foo/bar
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+zz&gt;import javax.ws.rs._
+import javax.ws.rs._
+zz&gt;@Path(&quot;foo/bar&quot;) class Foo { @GET def get() = { &quot;hello world&quot; } }
+defined class Foo
+zz&gt;import scala.collection.JavaConversions.asDictionary
+import scala.collection.JavaConversions.asDictionary
+zz&gt;val args = scala.collection.mutable.Map(&quot;javax.ws.rs&quot; -&gt; true)
+args: scala.collection.mutable.Map[java.lang.String,Boolean] = Map((javax.ws.rs,true))
+zz&gt;bundleContext.registerService(classOf[Object].getName, new Foo(), args)
+res38: org.osgi.framework.ServiceRegistration = org.apache.felix.framework.ServiceRegistrationImpl@5bf89f46
+zz&gt;
+</div>
+</div>
+
+</div>
+
+						</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="sitemap">
+									<div class="sitemap-title">Sitemap</div>
+									<div class="sitemap-content">
+										<div class="sitemap-column">
+											<div class="title">Documentation</div>
+											<ul>
+
+												<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+												<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+												<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+												<li><a href="/clerezza/faq/">FAQ</a></li>
+											</ul>
+
+										</div>
+										<div class="sitemap-column">
+
+											<div class="title">Project Infos</div>
+											<ul>
+												<li><a href="/clerezza/downloads/">Downloads</a></li>
+												<li><a href="/clerezza/contributing/">Contributing</a></li>
+												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+												<li><a href="mailinglists/">Mailing lists</a></li>
+												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+												<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+											</ul>
+										</div>
+										<div class="sitemap-column">
+											<div class="title">Sponsorship</div>
+											<ul>
+												<li><a href="/clerezza/thanks/">Thanks</a></li>
+												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+											</ul>
+										</div>
+									</div>
+
+								</div>
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br></br>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+
+
+					</body>
+				</html>
\ No newline at end of file

Added: clerezza/site/production/getting-started/shell/content.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/getting-started/shell/content.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/getting-started/shell/content.html (added)
+++ clerezza/site/production/getting-started/shell/content.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,139 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			
+
+	<div>One way to interact with Clerezza is via the shell. The shell allows administrative tasks like installing bundles but it is also  support the Scala langauge providing a way to interactively invoke services as well as to run scripts.
+</div>
+
+	<div><h1>Commands and Expressions
+</h1>
+<div class='tx-content'>
+
+	<div>The Clerezza Shell is based on the interactive Scala Shell and as such any line that does not start with a colon is evaluated as Scala:
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+zz&gt;def greet {
+     | out println "hello world"
+     | }
+greet: Unit
+zz&gt;greet
+hello world
+zz&gt;
+</div>
+</div>
+
+	<div>Commands by contrast are not interpreted as scala. Build in commands as well as commands provided by services are available. 
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+zz&gt;:help
+This is a scala based console, it supports any Scala expression, as well as the command described below.
+...
+</div>
+Services exposing the org.apache.clerezza.shell.ShellCommand interface provide additional commands, for example org.apache.felix.shell.ShellService allows to have lines evaluated by the felix shell. Like all commands the command :felix can be abbreviated as long as there's no ambuigity:
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+zz&gt;:f scr list    
+   Id   State          Name
+[   0] [active       ] org.apache.clerezza.platform.security.BundlePermissionManager
+[   1] [active       ] org.apache.clerezza.platform.security.SecurityActivator
+...
+</div>
+</div>
+
+</div>
+</div>
+
+	<div><h1>Interacting with the OSGi environment
+</h1>
+<div class='tx-content'>
+
+	<div>An instance of org.apache.clerezza.shell.OsgiDsl is initialized and part of the default imports. This object allows access to the bundleContext. The following assigns the bundle 0 to a variable and prints its symbolic name to the shell output
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+zz&gt;val systemBundle = bundleContext.getBundle(0)
+systemBundle: org.osgi.framework.Bundle = org.apache.felix.framework [0]
+zz&gt;out println systemBundle.getSymbolicName
+org.apache.felix.framework
+</div>
+</div>
+
+	<div>The OsgiDsl will be enhanced to support shortcuts for many frequent tasks, currently only a few are available.<br xmlns="http://www.w3.org/1999/xhtml"></br>
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+zz&gt;ps
+0 - org.apache.felix.framework System Bundle
+1 - org.apache.clerezza.platform.security.conditions mvn:org.apache.clerezza/org.apache.clerezza.platform.security.conditions/0.5-incubating-SNAPSHOT
+2 - org.apache.clerezza.platform.security mvn:org.apache.clerezza/org.apache.clerezza.platform.security/0.8-incubating-SNAPSHOT
+3 - org.apache.felix.bundlerepository mvn:org.apache.felix/org.apache.felix.bundlerepository/1.6.4
+4 - org.apache.felix.configadmin mvn:org.apache.felix/org.apache.felix.configadmin/1.2.8
+zz&gt;start("mvn:org.apache.clerezza/org.apache.clerezza.rdf.stable.serializer")
+res13: org.osgi.framework.Bundle = org.apache.clerezza.rdf.stable.serializer [128]
+zz&gt;res13.uninstall
+zz&gt;
+</div>
+
+</div>
+
+</div>
+</div>
+
+	<div><h1>Accessing Services
+</h1>
+<div class='tx-content'>The shell provides a shortcut to access available services, the method $ with the service type as argument.
+The following ste the inital bundle startlevel to 10:
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+zz&gt;import org.osgi.service.startlevel.StartLevel
+import org.osgi.service.startlevel.StartLevel
+zz&gt;$[StartLevel] setInitialBundleStartLevel 10
+zz&gt;
+</div>
+The following adds a triple to the content graph retrieved via ContentGraphProvider:
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+zz&gt;import rdf.core._
+import rdf.core._
+zz&gt;import rdf.core.impl._
+import rdf.core.impl._
+zz&gt;import rdf.ontologies._
+import rdf.ontologies._
+zz&gt;import platform.graphprovider.content.ContentGraphProvider
+import platform.graphprovider.content.ContentGraphProvider
+zz&gt;val cg = $[ContentGraphProvider] getContentGraph
+cg: org.apache.clerezza.rdf.core.access.LockableMGraph = 
+[org.apache.clerezza.rdf.core.BNode@49ec9b79 &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&gt; &lt;http://discobits.org/ontology#Entry&gt;., org.apache.clerezza.rdf.core.BNode@49ec9b79 &lt;http://discobits.org/ontology#holds&gt; &lt;http://incubator.apache.org/clerezza/getting-started/index-title&gt;., org.apache.clerezza.rdf.core.BNode@49ec9b79 &lt;http://discobits.org/ontology#pos&gt; "0"., &lt;http://incubator.apache.org/clerezza/getting-started/index-title&gt; &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&gt; &lt;http://discobits.org/ontology#XHTMLInfoDiscoBit&gt;., &lt;http://incubator.apache.org/clerezza/getting-started/index-title&gt; &lt;http://discobits.org/ontology#infoBit&gt; "Getting Started"^^&lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral&gt;., org.apache.clerezza.rdf.core.BNode@297c074e &lt;http://www.w3....
+zz&gt;cg.add(new TripleImpl(new UriRef("http://incubator.apache.org/clerezza/getting-started/shell/"), RDF.`type`, HIERARCHY.Collection))
+res20: Boolean = true
+zz&gt;
+</div>
+</div>
+</div>
+
+	<div><h1>Creating and Registering Services
+</h1>
+<div class='tx-content'>
+
+	<div>All variables and objects created on the Shell are lost after a restart this is true also for objects registered as service. Nevertheless being able t o quickly create and register a service might often come in handy.
+</div>
+
+	<div>The following registers a "hello world" root resource at the uri-path /foo/bar
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+zz&gt;import javax.ws.rs._
+import javax.ws.rs._
+zz&gt;@Path("foo/bar") class Foo { @GET def get() = { "hello world" } }
+defined class Foo
+zz&gt;import scala.collection.JavaConversions.asDictionary
+import scala.collection.JavaConversions.asDictionary
+zz&gt;val args = scala.collection.mutable.Map("javax.ws.rs" -&gt; true)
+args: scala.collection.mutable.Map[java.lang.String,Boolean] = Map((javax.ws.rs,true))
+zz&gt;bundleContext.registerService(classOf[Object].getName, new Foo(), args)
+res38: org.osgi.framework.ServiceRegistration = org.apache.felix.framework.ServiceRegistrationImpl@5bf89f46
+zz&gt;
+</div>
+</div>
+
+</div>
+</div>
+
+
+	</body>
+</html>

Added: clerezza/site/production/getting-started/shell/content.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/getting-started/shell/content.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/getting-started/shell/content.rdf (added)
+++ clerezza/site/production/getting-started/shell/content.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,45 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/getting-started/shell/index">
+    <j.0:contains rdf:nodeID="A0"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A1">
+    <j.0:pos>1</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/getting-started/shell/content-el/3"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/getting-started/shell/content"/>
+    <j.0:pos>1</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A2">
+    <j.0:pos>4</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/getting-started/shell/content-el/4"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/getting-started/shell/content">
+    <j.0:contains rdf:nodeID="A2"/>
+    <j.0:contains rdf:nodeID="A3"/>
+    <j.0:contains rdf:nodeID="A1"/>
+    <j.0:contains rdf:nodeID="A4"/>
+    <rdf:type rdf:resource="http://discobits.org/ontology#OrderedContent"/>
+    <j.0:contains rdf:nodeID="A5"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A3">
+    <j.0:pos>0</j.0:pos>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/getting-started/shell/content-el/0"/>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A5">
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:pos>2</j.0:pos>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/getting-started/shell/content-el/1"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A4">
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:pos>3</j.0:pos>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/getting-started/shell/content-el/2"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/getting-started/shell/content.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/getting-started/shell/content.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/getting-started/shell/content.xhtml (added)
+++ clerezza/site/production/getting-started/shell/content.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,139 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			
+
+	<div>One way to interact with Clerezza is via the shell. The shell allows administrative tasks like installing bundles but it is also  support the Scala langauge providing a way to interactively invoke services as well as to run scripts.
+</div>
+
+	<div><h1>Commands and Expressions
+</h1>
+<div class='tx-content'>
+
+	<div>The Clerezza Shell is based on the interactive Scala Shell and as such any line that does not start with a colon is evaluated as Scala:
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+zz&gt;def greet {
+     | out println "hello world"
+     | }
+greet: Unit
+zz&gt;greet
+hello world
+zz&gt;
+</div>
+</div>
+
+	<div>Commands by contrast are not interpreted as scala. Build in commands as well as commands provided by services are available. 
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+zz&gt;:help
+This is a scala based console, it supports any Scala expression, as well as the command described below.
+...
+</div>
+Services exposing the org.apache.clerezza.shell.ShellCommand interface provide additional commands, for example org.apache.felix.shell.ShellService allows to have lines evaluated by the felix shell. Like all commands the command :felix can be abbreviated as long as there's no ambuigity:
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+zz&gt;:f scr list    
+   Id   State          Name
+[   0] [active       ] org.apache.clerezza.platform.security.BundlePermissionManager
+[   1] [active       ] org.apache.clerezza.platform.security.SecurityActivator
+...
+</div>
+</div>
+
+</div>
+</div>
+
+	<div><h1>Interacting with the OSGi environment
+</h1>
+<div class='tx-content'>
+
+	<div>An instance of org.apache.clerezza.shell.OsgiDsl is initialized and part of the default imports. This object allows access to the bundleContext. The following assigns the bundle 0 to a variable and prints its symbolic name to the shell output
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+zz&gt;val systemBundle = bundleContext.getBundle(0)
+systemBundle: org.osgi.framework.Bundle = org.apache.felix.framework [0]
+zz&gt;out println systemBundle.getSymbolicName
+org.apache.felix.framework
+</div>
+</div>
+
+	<div>The OsgiDsl will be enhanced to support shortcuts for many frequent tasks, currently only a few are available.<br xmlns="http://www.w3.org/1999/xhtml"></br>
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+zz&gt;ps
+0 - org.apache.felix.framework System Bundle
+1 - org.apache.clerezza.platform.security.conditions mvn:org.apache.clerezza/org.apache.clerezza.platform.security.conditions/0.5-incubating-SNAPSHOT
+2 - org.apache.clerezza.platform.security mvn:org.apache.clerezza/org.apache.clerezza.platform.security/0.8-incubating-SNAPSHOT
+3 - org.apache.felix.bundlerepository mvn:org.apache.felix/org.apache.felix.bundlerepository/1.6.4
+4 - org.apache.felix.configadmin mvn:org.apache.felix/org.apache.felix.configadmin/1.2.8
+zz&gt;start("mvn:org.apache.clerezza/org.apache.clerezza.rdf.stable.serializer")
+res13: org.osgi.framework.Bundle = org.apache.clerezza.rdf.stable.serializer [128]
+zz&gt;res13.uninstall
+zz&gt;
+</div>
+
+</div>
+
+</div>
+</div>
+
+	<div><h1>Accessing Services
+</h1>
+<div class='tx-content'>The shell provides a shortcut to access available services, the method $ with the service type as argument.
+The following ste the inital bundle startlevel to 10:
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+zz&gt;import org.osgi.service.startlevel.StartLevel
+import org.osgi.service.startlevel.StartLevel
+zz&gt;$[StartLevel] setInitialBundleStartLevel 10
+zz&gt;
+</div>
+The following adds a triple to the content graph retrieved via ContentGraphProvider:
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+zz&gt;import rdf.core._
+import rdf.core._
+zz&gt;import rdf.core.impl._
+import rdf.core.impl._
+zz&gt;import rdf.ontologies._
+import rdf.ontologies._
+zz&gt;import platform.graphprovider.content.ContentGraphProvider
+import platform.graphprovider.content.ContentGraphProvider
+zz&gt;val cg = $[ContentGraphProvider] getContentGraph
+cg: org.apache.clerezza.rdf.core.access.LockableMGraph = 
+[org.apache.clerezza.rdf.core.BNode@49ec9b79 &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&gt; &lt;http://discobits.org/ontology#Entry&gt;., org.apache.clerezza.rdf.core.BNode@49ec9b79 &lt;http://discobits.org/ontology#holds&gt; &lt;http://incubator.apache.org/clerezza/getting-started/index-title&gt;., org.apache.clerezza.rdf.core.BNode@49ec9b79 &lt;http://discobits.org/ontology#pos&gt; "0"., &lt;http://incubator.apache.org/clerezza/getting-started/index-title&gt; &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&gt; &lt;http://discobits.org/ontology#XHTMLInfoDiscoBit&gt;., &lt;http://incubator.apache.org/clerezza/getting-started/index-title&gt; &lt;http://discobits.org/ontology#infoBit&gt; "Getting Started"^^&lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral&gt;., org.apache.clerezza.rdf.core.BNode@297c074e &lt;http://www.w3....
+zz&gt;cg.add(new TripleImpl(new UriRef("http://incubator.apache.org/clerezza/getting-started/shell/"), RDF.`type`, HIERARCHY.Collection))
+res20: Boolean = true
+zz&gt;
+</div>
+</div>
+</div>
+
+	<div><h1>Creating and Registering Services
+</h1>
+<div class='tx-content'>
+
+	<div>All variables and objects created on the Shell are lost after a restart this is true also for objects registered as service. Nevertheless being able t o quickly create and register a service might often come in handy.
+</div>
+
+	<div>The following registers a "hello world" root resource at the uri-path /foo/bar
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+zz&gt;import javax.ws.rs._
+import javax.ws.rs._
+zz&gt;@Path("foo/bar") class Foo { @GET def get() = { "hello world" } }
+defined class Foo
+zz&gt;import scala.collection.JavaConversions.asDictionary
+import scala.collection.JavaConversions.asDictionary
+zz&gt;val args = scala.collection.mutable.Map("javax.ws.rs" -&gt; true)
+args: scala.collection.mutable.Map[java.lang.String,Boolean] = Map((javax.ws.rs,true))
+zz&gt;bundleContext.registerService(classOf[Object].getName, new Foo(), args)
+res38: org.osgi.framework.ServiceRegistration = org.apache.felix.framework.ServiceRegistrationImpl@5bf89f46
+zz&gt;
+</div>
+</div>
+
+</div>
+</div>
+
+
+	</body>
+</html>

Added: clerezza/site/production/getting-started/shell/index.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/getting-started/shell/index.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/getting-started/shell/index.html (added)
+++ clerezza/site/production/getting-started/shell/index.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,231 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
+					<head>
+						<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet"/>
+						<title>Getting started with the Clerezza Shell
+</title>
+					</head>
+					<body>
+						<div class="zz-header">
+
+							<div class="bar"></div>
+							<div class="logo">
+								<a href="http://incubator.apache.org/clerezza/" style=""><img src="/clerezza/images/logo.png" alt="logo"/></a>
+							</div>
+						</div>
+						<div class="column nav">
+							<ul>
+								<li class="top-nav-entry"><div class="title">Documentation</div>
+
+									<ul class="nav-entries">
+										<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+										<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+										<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+										<li><a href="/clerezza/faq/">FAQ</a></li>
+									</ul>
+								</li>
+
+								<li class="top-nav-entry"><div class="title">Project Infos</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/downloads/">Downloads</a></li>
+										<li><a href="/clerezza/contributing/">Contributing</a></li>
+										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+										<li><a href="/clerezza/mailinglists/">Mailing lists</a></li>
+										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+										<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+									</ul>
+								</li>
+								<li class="top-nav-entry"><div class="title">Sponsorship</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/thanks/">Thanks</a></li>
+										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+									</ul>
+								</li>
+							</ul>
+						</div>
+
+						<div class="zz-content">
+							<h1>Getting started with the Clerezza Shell
+</h1>
+<div class="tx-content">
+
+	<div>One way to interact with Clerezza is via the shell. The shell allows administrative tasks like installing bundles but it is also  support the Scala langauge providing a way to interactively invoke services as well as to run scripts.
+</div>
+
+	<div><h2>Commands and Expressions
+</h2>
+<div class="tx-content">
+
+	<div>The Clerezza Shell is based on the interactive Scala Shell and as such any line that does not start with a colon is evaluated as Scala:
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+zz&gt;def greet {
+     | out println &quot;hello world&quot;
+     | }
+greet: Unit
+zz&gt;greet
+hello world
+zz&gt;
+</div>
+</div>
+
+	<div>Commands by contrast are not interpreted as scala. Build in commands as well as commands provided by services are available. 
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+zz&gt;:help
+This is a scala based console, it supports any Scala expression, as well as the command described below.
+...
+</div>
+Services exposing the org.apache.clerezza.shell.ShellCommand interface provide additional commands, for example org.apache.felix.shell.ShellService allows to have lines evaluated by the felix shell. Like all commands the command :felix can be abbreviated as long as there's no ambuigity:
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+zz&gt;:f scr list    
+   Id   State          Name
+[   0] [active       ] org.apache.clerezza.platform.security.BundlePermissionManager
+[   1] [active       ] org.apache.clerezza.platform.security.SecurityActivator
+...
+</div>
+</div>
+
+</div>
+</div>
+
+	<div><h2>Interacting with the OSGi environment
+</h2>
+<div class="tx-content">
+
+	<div>An instance of org.apache.clerezza.shell.OsgiDsl is initialized and part of the default imports. This object allows access to the bundleContext. The following assigns the bundle 0 to a variable and prints its symbolic name to the shell output
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+zz&gt;val systemBundle = bundleContext.getBundle(0)
+systemBundle: org.osgi.framework.Bundle = org.apache.felix.framework [0]
+zz&gt;out println systemBundle.getSymbolicName
+org.apache.felix.framework
+</div>
+</div>
+
+	<div>The OsgiDsl will be enhanced to support shortcuts for many frequent tasks, currently only a few are available.<br xmlns="http://www.w3.org/1999/xhtml"/>
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+zz&gt;ps
+0 - org.apache.felix.framework System Bundle
+1 - org.apache.clerezza.platform.security.conditions mvn:org.apache.clerezza/org.apache.clerezza.platform.security.conditions/0.5-incubating-SNAPSHOT
+2 - org.apache.clerezza.platform.security mvn:org.apache.clerezza/org.apache.clerezza.platform.security/0.8-incubating-SNAPSHOT
+3 - org.apache.felix.bundlerepository mvn:org.apache.felix/org.apache.felix.bundlerepository/1.6.4
+4 - org.apache.felix.configadmin mvn:org.apache.felix/org.apache.felix.configadmin/1.2.8
+zz&gt;start(&quot;mvn:org.apache.clerezza/org.apache.clerezza.rdf.stable.serializer&quot;)
+res13: org.osgi.framework.Bundle = org.apache.clerezza.rdf.stable.serializer [128]
+zz&gt;res13.uninstall
+zz&gt;
+</div>
+
+</div>
+
+</div>
+</div>
+
+	<div><h2>Accessing Services
+</h2>
+<div class="tx-content">The shell provides a shortcut to access available services, the method $ with the service type as argument.
+The following ste the inital bundle startlevel to 10:
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+zz&gt;import org.osgi.service.startlevel.StartLevel
+import org.osgi.service.startlevel.StartLevel
+zz&gt;$[StartLevel] setInitialBundleStartLevel 10
+zz&gt;
+</div>
+The following adds a triple to the content graph retrieved via ContentGraphProvider:
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+zz&gt;import rdf.core._
+import rdf.core._
+zz&gt;import rdf.core.impl._
+import rdf.core.impl._
+zz&gt;import rdf.ontologies._
+import rdf.ontologies._
+zz&gt;import platform.graphprovider.content.ContentGraphProvider
+import platform.graphprovider.content.ContentGraphProvider
+zz&gt;val cg = $[ContentGraphProvider] getContentGraph
+cg: org.apache.clerezza.rdf.core.access.LockableMGraph = 
+[org.apache.clerezza.rdf.core.BNode@49ec9b79 &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&gt; &lt;http://discobits.org/ontology#Entry&gt;., org.apache.clerezza.rdf.core.BNode@49ec9b79 &lt;http://discobits.org/ontology#holds&gt; &lt;http://incubator.apache.org/clerezza/getting-started/index-title&gt;., org.apache.clerezza.rdf.core.BNode@49ec9b79 &lt;http://discobits.org/ontology#pos&gt; &quot;0&quot;., &lt;http://incubator.apache.org/clerezza/getting-started/index-title&gt; &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&gt; &lt;http://discobits.org/ontology#XHTMLInfoDiscoBit&gt;., &lt;http://incubator.apache.org/clerezza/getting-started/index-title&gt; &lt;http://discobits.org/ontology#infoBit&gt; &quot;Getting Started&quot;^^&lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral&gt;., org.apache.clerezza.rdf.core.BNode@297c074e &lt;http://www.w3....
+zz&gt;cg.add(new TripleImpl(new UriRef(&quot;http://incubator.apache.org/clerezza/getting-started/shell/&quot;), RDF.`type`, HIERARCHY.Collection))
+res20: Boolean = true
+zz&gt;
+</div>
+</div>
+</div>
+
+	<div><h2>Creating and Registering Services
+</h2>
+<div class="tx-content">
+
+	<div>All variables and objects created on the Shell are lost after a restart this is true also for objects registered as service. Nevertheless being able t o quickly create and register a service might often come in handy.
+</div>
+
+	<div>The following registers a &quot;hello world&quot; root resource at the uri-path /foo/bar
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+zz&gt;import javax.ws.rs._
+import javax.ws.rs._
+zz&gt;@Path(&quot;foo/bar&quot;) class Foo { @GET def get() = { &quot;hello world&quot; } }
+defined class Foo
+zz&gt;import scala.collection.JavaConversions.asDictionary
+import scala.collection.JavaConversions.asDictionary
+zz&gt;val args = scala.collection.mutable.Map(&quot;javax.ws.rs&quot; -&gt; true)
+args: scala.collection.mutable.Map[java.lang.String,Boolean] = Map((javax.ws.rs,true))
+zz&gt;bundleContext.registerService(classOf[Object].getName, new Foo(), args)
+res38: org.osgi.framework.ServiceRegistration = org.apache.felix.framework.ServiceRegistrationImpl@5bf89f46
+zz&gt;
+</div>
+</div>
+
+</div>
+</div>
+
+</div>
+
+						</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="sitemap">
+									<div class="sitemap-title">Sitemap</div>
+									<div class="sitemap-content">
+										<div class="sitemap-column">
+											<div class="title">Documentation</div>
+											<ul>
+
+												<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+												<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+												<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+												<li><a href="/clerezza/faq/">FAQ</a></li>
+											</ul>
+
+										</div>
+										<div class="sitemap-column">
+
+											<div class="title">Project Infos</div>
+											<ul>
+												<li><a href="/clerezza/downloads/">Downloads</a></li>
+												<li><a href="/clerezza/contributing/">Contributing</a></li>
+												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+												<li><a href="mailinglists/">Mailing lists</a></li>
+												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+												<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+											</ul>
+										</div>
+										<div class="sitemap-column">
+											<div class="title">Sponsorship</div>
+											<ul>
+												<li><a href="/clerezza/thanks/">Thanks</a></li>
+												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+											</ul>
+										</div>
+									</div>
+
+								</div>
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br></br>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+
+
+					</body>
+				</html>
\ No newline at end of file

Added: clerezza/site/production/getting-started/shell/index.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/getting-started/shell/index.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/getting-started/shell/index.rdf (added)
+++ clerezza/site/production/getting-started/shell/index.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,19 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/getting-started/shell/index">
+    <rdf:type rdf:resource="http://discobits.org/ontology#TitledContent"/>
+    <j.0:contains rdf:nodeID="A0"/>
+    <j.0:contains rdf:nodeID="A1"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A1">
+    <j.0:pos>1</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/getting-started/shell/content"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:pos>0</j.0:pos>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/getting-started/shell/title"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/getting-started/shell/index.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/getting-started/shell/index.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/getting-started/shell/index.xhtml (added)
+++ clerezza/site/production/getting-started/shell/index.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,231 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+					<head>
+						<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet"/>
+						<title>Getting started with the Clerezza Shell
+</title>
+					</head>
+					<body>
+						<div class="zz-header">
+
+							<div class="bar"></div>
+							<div class="logo">
+								<a href="http://incubator.apache.org/clerezza/" style=""><img src="/clerezza/images/logo.png" alt="logo"/></a>
+							</div>
+						</div>
+						<div class="column nav">
+							<ul>
+								<li class="top-nav-entry"><div class="title">Documentation</div>
+
+									<ul class="nav-entries">
+										<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+										<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+										<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+										<li><a href="/clerezza/faq/">FAQ</a></li>
+									</ul>
+								</li>
+
+								<li class="top-nav-entry"><div class="title">Project Infos</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/downloads/">Downloads</a></li>
+										<li><a href="/clerezza/contributing/">Contributing</a></li>
+										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+										<li><a href="/clerezza/mailinglists/">Mailing lists</a></li>
+										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+										<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+									</ul>
+								</li>
+								<li class="top-nav-entry"><div class="title">Sponsorship</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/thanks/">Thanks</a></li>
+										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+									</ul>
+								</li>
+							</ul>
+						</div>
+
+						<div class="zz-content">
+							<h1>Getting started with the Clerezza Shell
+</h1>
+<div class="tx-content">
+
+	<div>One way to interact with Clerezza is via the shell. The shell allows administrative tasks like installing bundles but it is also  support the Scala langauge providing a way to interactively invoke services as well as to run scripts.
+</div>
+
+	<div><h2>Commands and Expressions
+</h2>
+<div class="tx-content">
+
+	<div>The Clerezza Shell is based on the interactive Scala Shell and as such any line that does not start with a colon is evaluated as Scala:
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+zz&gt;def greet {
+     | out println &quot;hello world&quot;
+     | }
+greet: Unit
+zz&gt;greet
+hello world
+zz&gt;
+</div>
+</div>
+
+	<div>Commands by contrast are not interpreted as scala. Build in commands as well as commands provided by services are available. 
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+zz&gt;:help
+This is a scala based console, it supports any Scala expression, as well as the command described below.
+...
+</div>
+Services exposing the org.apache.clerezza.shell.ShellCommand interface provide additional commands, for example org.apache.felix.shell.ShellService allows to have lines evaluated by the felix shell. Like all commands the command :felix can be abbreviated as long as there's no ambuigity:
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+zz&gt;:f scr list    
+   Id   State          Name
+[   0] [active       ] org.apache.clerezza.platform.security.BundlePermissionManager
+[   1] [active       ] org.apache.clerezza.platform.security.SecurityActivator
+...
+</div>
+</div>
+
+</div>
+</div>
+
+	<div><h2>Interacting with the OSGi environment
+</h2>
+<div class="tx-content">
+
+	<div>An instance of org.apache.clerezza.shell.OsgiDsl is initialized and part of the default imports. This object allows access to the bundleContext. The following assigns the bundle 0 to a variable and prints its symbolic name to the shell output
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+zz&gt;val systemBundle = bundleContext.getBundle(0)
+systemBundle: org.osgi.framework.Bundle = org.apache.felix.framework [0]
+zz&gt;out println systemBundle.getSymbolicName
+org.apache.felix.framework
+</div>
+</div>
+
+	<div>The OsgiDsl will be enhanced to support shortcuts for many frequent tasks, currently only a few are available.<br xmlns="http://www.w3.org/1999/xhtml"/>
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+zz&gt;ps
+0 - org.apache.felix.framework System Bundle
+1 - org.apache.clerezza.platform.security.conditions mvn:org.apache.clerezza/org.apache.clerezza.platform.security.conditions/0.5-incubating-SNAPSHOT
+2 - org.apache.clerezza.platform.security mvn:org.apache.clerezza/org.apache.clerezza.platform.security/0.8-incubating-SNAPSHOT
+3 - org.apache.felix.bundlerepository mvn:org.apache.felix/org.apache.felix.bundlerepository/1.6.4
+4 - org.apache.felix.configadmin mvn:org.apache.felix/org.apache.felix.configadmin/1.2.8
+zz&gt;start(&quot;mvn:org.apache.clerezza/org.apache.clerezza.rdf.stable.serializer&quot;)
+res13: org.osgi.framework.Bundle = org.apache.clerezza.rdf.stable.serializer [128]
+zz&gt;res13.uninstall
+zz&gt;
+</div>
+
+</div>
+
+</div>
+</div>
+
+	<div><h2>Accessing Services
+</h2>
+<div class="tx-content">The shell provides a shortcut to access available services, the method $ with the service type as argument.
+The following ste the inital bundle startlevel to 10:
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+zz&gt;import org.osgi.service.startlevel.StartLevel
+import org.osgi.service.startlevel.StartLevel
+zz&gt;$[StartLevel] setInitialBundleStartLevel 10
+zz&gt;
+</div>
+The following adds a triple to the content graph retrieved via ContentGraphProvider:
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+zz&gt;import rdf.core._
+import rdf.core._
+zz&gt;import rdf.core.impl._
+import rdf.core.impl._
+zz&gt;import rdf.ontologies._
+import rdf.ontologies._
+zz&gt;import platform.graphprovider.content.ContentGraphProvider
+import platform.graphprovider.content.ContentGraphProvider
+zz&gt;val cg = $[ContentGraphProvider] getContentGraph
+cg: org.apache.clerezza.rdf.core.access.LockableMGraph = 
+[org.apache.clerezza.rdf.core.BNode@49ec9b79 &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&gt; &lt;http://discobits.org/ontology#Entry&gt;., org.apache.clerezza.rdf.core.BNode@49ec9b79 &lt;http://discobits.org/ontology#holds&gt; &lt;http://incubator.apache.org/clerezza/getting-started/index-title&gt;., org.apache.clerezza.rdf.core.BNode@49ec9b79 &lt;http://discobits.org/ontology#pos&gt; &quot;0&quot;., &lt;http://incubator.apache.org/clerezza/getting-started/index-title&gt; &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&gt; &lt;http://discobits.org/ontology#XHTMLInfoDiscoBit&gt;., &lt;http://incubator.apache.org/clerezza/getting-started/index-title&gt; &lt;http://discobits.org/ontology#infoBit&gt; &quot;Getting Started&quot;^^&lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral&gt;., org.apache.clerezza.rdf.core.BNode@297c074e &lt;http://www.w3....
+zz&gt;cg.add(new TripleImpl(new UriRef(&quot;http://incubator.apache.org/clerezza/getting-started/shell/&quot;), RDF.`type`, HIERARCHY.Collection))
+res20: Boolean = true
+zz&gt;
+</div>
+</div>
+</div>
+
+	<div><h2>Creating and Registering Services
+</h2>
+<div class="tx-content">
+
+	<div>All variables and objects created on the Shell are lost after a restart this is true also for objects registered as service. Nevertheless being able t o quickly create and register a service might often come in handy.
+</div>
+
+	<div>The following registers a &quot;hello world&quot; root resource at the uri-path /foo/bar
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+zz&gt;import javax.ws.rs._
+import javax.ws.rs._
+zz&gt;@Path(&quot;foo/bar&quot;) class Foo { @GET def get() = { &quot;hello world&quot; } }
+defined class Foo
+zz&gt;import scala.collection.JavaConversions.asDictionary
+import scala.collection.JavaConversions.asDictionary
+zz&gt;val args = scala.collection.mutable.Map(&quot;javax.ws.rs&quot; -&gt; true)
+args: scala.collection.mutable.Map[java.lang.String,Boolean] = Map((javax.ws.rs,true))
+zz&gt;bundleContext.registerService(classOf[Object].getName, new Foo(), args)
+res38: org.osgi.framework.ServiceRegistration = org.apache.felix.framework.ServiceRegistrationImpl@5bf89f46
+zz&gt;
+</div>
+</div>
+
+</div>
+</div>
+
+</div>
+
+						</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="sitemap">
+									<div class="sitemap-title">Sitemap</div>
+									<div class="sitemap-content">
+										<div class="sitemap-column">
+											<div class="title">Documentation</div>
+											<ul>
+
+												<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+												<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+												<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+												<li><a href="/clerezza/faq/">FAQ</a></li>
+											</ul>
+
+										</div>
+										<div class="sitemap-column">
+
+											<div class="title">Project Infos</div>
+											<ul>
+												<li><a href="/clerezza/downloads/">Downloads</a></li>
+												<li><a href="/clerezza/contributing/">Contributing</a></li>
+												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+												<li><a href="mailinglists/">Mailing lists</a></li>
+												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+												<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+											</ul>
+										</div>
+										<div class="sitemap-column">
+											<div class="title">Sponsorship</div>
+											<ul>
+												<li><a href="/clerezza/thanks/">Thanks</a></li>
+												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+											</ul>
+										</div>
+									</div>
+
+								</div>
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br></br>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+
+
+					</body>
+				</html>
\ No newline at end of file

Added: clerezza/site/production/getting-started/shell/title.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/getting-started/shell/title.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/getting-started/shell/title.html (added)
+++ clerezza/site/production/getting-started/shell/title.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			Getting started with the Clerezza Shell
+
+	</body>
+</html>

Added: clerezza/site/production/getting-started/shell/title.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/getting-started/shell/title.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/getting-started/shell/title.rdf (added)
+++ clerezza/site/production/getting-started/shell/title.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,16 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/getting-started/shell/index">
+    <j.0:contains rdf:nodeID="A0"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:pos>0</j.0:pos>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/getting-started/shell/title"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/getting-started/shell/title">
+    <rdf:type rdf:resource="http://discobits.org/ontology#XHTMLInfoDiscoBit"/>
+    <j.0:infoBit rdf:parseType="Literal">Getting started with the Clerezza Shell</j.0:infoBit>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/getting-started/shell/title.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/getting-started/shell/title.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/getting-started/shell/title.xhtml (added)
+++ clerezza/site/production/getting-started/shell/title.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			Getting started with the Clerezza Shell
+
+	</body>
+</html>

Added: clerezza/site/production/images/feather.png
URL: http://svn.apache.org/viewvc/clerezza/site/production/images/feather.png?rev=1464148&view=auto
==============================================================================
Binary file - no diff available.

Propchange: clerezza/site/production/images/feather.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: clerezza/site/production/images/footer-logo.png
URL: http://svn.apache.org/viewvc/clerezza/site/production/images/footer-logo.png?rev=1464148&view=auto
==============================================================================
Binary file - no diff available.

Propchange: clerezza/site/production/images/footer-logo.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: clerezza/site/production/images/index.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/images/index.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/images/index.html (added)
+++ clerezza/site/production/images/index.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,86 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
+	<head>
+		<title>http://localhost:8080/images/ (Collection)</title>
+		<link href="/clerezza/style/style.css" rel="stylesheet" type="text/css"/>
+	<script src="/clerezza/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
+	<script src="/clerezza/scripts/modification-status.js" type="text/javascript"></script>
+	<script src="/clerezza/scripts/status-message.js" type="text/javascript"></script>
+	<script src="/clerezza/style/scripts/login.js" type="text/javascript"></script>
+</head>
+	<body>
+		<div class="zz-header">
+			<div class="bar"></div>
+			<div class="logo">
+				<a href="http://incubator.apache.org/clerezza/" style=""><img alt="logo" src="/clerezza/images/logo.png"/></a>
+			</div>
+			<div class="module-info">
+				<span id="tx-module">
+					<div id="tx-page-actions">
+						<ol id="tx-page-actions-ol">
+						</ol>
+					</div>
+				</span>
+				<div id="tx-module-tabs">
+					<ol id="tx-module-tabs-ol">
+					</ol>
+					
+				</div>
+			</div>
+			
+			<div class="zz-control">
+				<div class="login">
+						<span>
+									<a href="/clerezza/login?referer=http%3A%2F%2Flocalhost%3A8080%2Fimages%2F" id="tx-login-button">login</a>
+								</span>
+				</div>
+				<div class="actions" id="tx-contextual-buttons">
+						<ol id="tx-contextual-buttons-ol">
+						</ol>
+					</div>
+				<div id="tx-module-options">
+					<ol id="tx-module-options-ol">
+					</ol>
+				</div>
+				
+				
+				<div class="tx-panel" id="tx-panel">
+					<div id="tx-panel-title"><h3></h3></div>
+					<div class="tx-panel-window">
+						<div class="tx-panel-tab-buttons" id="tx-panel-tab-buttons">
+							<ol id="tx-panel-tab-buttons-ol">
+							</ol>
+						</div>
+						<div class="tx-panel-tabs" id="tx-panel-tabs"></div>
+					</div>
+				</div>
+				
+			</div>
+		</div>
+		<div class="column nav">
+							<ul>
+								
+
+	<li class="top-nav-entry"><div class="title">
+			<a href="/clerezza/dashboard">Dashboard</a>
+		 </div>
+			
+		</li>
+	</ul>
+</div>
+		<div class="zz-content">
+		<div id="tx-content">
+	<h3>http://localhost:8080/images/</h3>
+	
+	
+</div>
+		</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br/>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+	</body>
+</html>
\ No newline at end of file

Added: clerezza/site/production/images/index.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/images/index.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/images/index.rdf (added)
+++ clerezza/site/production/images/index.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,52 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://clerezza.org/2009/09/hierarchy#"
+    xmlns:j.1="http://xmlns.com/foaf/0.1/"
+    xmlns:j.2="http://purl.org/dc/terms/"
+    xmlns:j.3="http://clerezza.org/2009/08/platform#" > 
+  <rdf:Description rdf:about="http://localhost:8080/images/">
+    <j.2:created rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2010-04-07T11:44:06.992+02:00</j.2:created>
+    <rdf:type rdf:resource="http://clerezza.org/2009/08/platform#HeadedPage"/>
+    <rdf:type rdf:resource="http://clerezza.org/2009/09/hierarchy#Collection"/>
+    <j.0:members rdf:nodeID="A0"/>
+    <j.1:maker rdf:nodeID="A1"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A2">
+    <rdf:rest rdf:nodeID="A3"/>
+    <rdf:first rdf:resource="http://localhost:8080/images/sw-horz-w3c-100x19.png"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://localhost:8080/images/sw-horz-w3c-100x19.png">
+    <j.1:maker rdf:nodeID="A1"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A4">
+    <rdf:first rdf:resource="http://localhost:8080/images/"/>
+    <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A5">
+    <rdf:first rdf:resource="http://localhost:8080/images/logo-big-100x18.png"/>
+    <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://localhost:8080/images/logo-big-100x18.png">
+    <j.1:maker rdf:nodeID="A1"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A1">
+    <j.3:userName>admin</j.3:userName>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://localhost:8080/images/logo-big.png">
+    <j.1:maker rdf:nodeID="A1"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://localhost:8080/">
+    <j.0:members rdf:nodeID="A4"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A3">
+    <rdf:rest rdf:nodeID="A5"/>
+    <rdf:first rdf:resource="http://localhost:8080/images/logo-big.png"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <rdf:first rdf:resource="http://localhost:8080/images/sw-horz-w3c.png"/>
+    <rdf:rest rdf:nodeID="A2"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://localhost:8080/images/sw-horz-w3c.png">
+    <j.1:maker rdf:nodeID="A1"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/images/index.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/images/index.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/images/index.xhtml (added)
+++ clerezza/site/production/images/index.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,86 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+	<head>
+		<title>http://localhost:8080/images/ (Collection)</title>
+		<link href="/clerezza/style/style.css" rel="stylesheet" type="text/css"/>
+	<script src="/clerezza/jquery/jquery-1.3.2.min.js" type="text/javascript"/>
+	<script src="/clerezza/scripts/modification-status.js" type="text/javascript"/>
+	<script src="/clerezza/scripts/status-message.js" type="text/javascript"/>
+	<script src="/clerezza/style/scripts/login.js" type="text/javascript"/>
+</head>
+	<body>
+		<div class="zz-header">
+			<div class="bar"/>
+			<div class="logo">
+				<a href="http://incubator.apache.org/clerezza/" style=""><img alt="logo" src="/clerezza/images/logo.png"/></a>
+			</div>
+			<div class="module-info">
+				<span id="tx-module">
+					<div id="tx-page-actions">
+						<ol id="tx-page-actions-ol">
+						</ol>
+					</div>
+				</span>
+				<div id="tx-module-tabs">
+					<ol id="tx-module-tabs-ol">
+					</ol>
+					
+				</div>
+			</div>
+			
+			<div class="zz-control">
+				<div class="login">
+						<span>
+									<a href="/clerezza/login?referer=http%3A%2F%2Flocalhost%3A8080%2Fimages%2F" id="tx-login-button">login</a>
+								</span>
+				</div>
+				<div class="actions" id="tx-contextual-buttons">
+						<ol id="tx-contextual-buttons-ol">
+						</ol>
+					</div>
+				<div id="tx-module-options">
+					<ol id="tx-module-options-ol">
+					</ol>
+				</div>
+				
+				
+				<div class="tx-panel" id="tx-panel">
+					<div id="tx-panel-title"><h3/></div>
+					<div class="tx-panel-window">
+						<div class="tx-panel-tab-buttons" id="tx-panel-tab-buttons">
+							<ol id="tx-panel-tab-buttons-ol">
+							</ol>
+						</div>
+						<div class="tx-panel-tabs" id="tx-panel-tabs"/>
+					</div>
+				</div>
+				
+			</div>
+		</div>
+		<div class="column nav">
+							<ul>
+								
+
+	<li class="top-nav-entry"><div class="title">
+			<a href="/clerezza/dashboard">Dashboard</a>
+		 </div>
+			
+		</li>
+	</ul>
+</div>
+		<div class="zz-content">
+		<div id="tx-content">
+	<h3>http://localhost:8080/images/</h3>
+	
+	
+</div>
+		</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"/>
+							<div class="dark">
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br/>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+	</body>
+</html>
\ No newline at end of file

Added: clerezza/site/production/images/logo-big-100x18.png
URL: http://svn.apache.org/viewvc/clerezza/site/production/images/logo-big-100x18.png?rev=1464148&view=auto
==============================================================================
Binary file - no diff available.

Propchange: clerezza/site/production/images/logo-big-100x18.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: clerezza/site/production/images/logo-big.png
URL: http://svn.apache.org/viewvc/clerezza/site/production/images/logo-big.png?rev=1464148&view=auto
==============================================================================
Binary file - no diff available.

Propchange: clerezza/site/production/images/logo-big.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: clerezza/site/production/images/logo.png
URL: http://svn.apache.org/viewvc/clerezza/site/production/images/logo.png?rev=1464148&view=auto
==============================================================================
Binary file - no diff available.

Propchange: clerezza/site/production/images/logo.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: clerezza/site/production/images/sw-horz-w3c-100x19.png
URL: http://svn.apache.org/viewvc/clerezza/site/production/images/sw-horz-w3c-100x19.png?rev=1464148&view=auto
==============================================================================
Binary file - no diff available.

Propchange: clerezza/site/production/images/sw-horz-w3c-100x19.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: clerezza/site/production/images/sw-horz-w3c.png
URL: http://svn.apache.org/viewvc/clerezza/site/production/images/sw-horz-w3c.png?rev=1464148&view=auto
==============================================================================
Binary file - no diff available.

Propchange: clerezza/site/production/images/sw-horz-w3c.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: clerezza/site/production/images/sw-vert-w3c.png
URL: http://svn.apache.org/viewvc/clerezza/site/production/images/sw-vert-w3c.png?rev=1464148&view=auto
==============================================================================
Binary file - no diff available.

Propchange: clerezza/site/production/images/sw-vert-w3c.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: clerezza/site/production/index.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/index.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/index.html (added)
+++ clerezza/site/production/index.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,142 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
+					<head>
+						<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet"/>
+						<title>Welcome to Apache Clerezza
+</title>
+					</head>
+					<body>
+						<div class="zz-header">
+
+							<div class="bar"></div>
+							<div class="logo">
+								<a href="http://incubator.apache.org/clerezza/" style=""><img src="/clerezza/images/logo.png" alt="logo"/></a>
+							</div>
+						</div>
+						<div class="column nav">
+							<ul>
+								<li class="top-nav-entry"><div class="title">Documentation</div>
+
+									<ul class="nav-entries">
+										<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+										<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+										<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+										<li><a href="/clerezza/faq/">FAQ</a></li>
+									</ul>
+								</li>
+
+								<li class="top-nav-entry"><div class="title">Project Infos</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/downloads/">Downloads</a></li>
+										<li><a href="/clerezza/contributing/">Contributing</a></li>
+										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+										<li><a href="/clerezza/mailinglists/">Mailing lists</a></li>
+										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+										<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+									</ul>
+								</li>
+								<li class="top-nav-entry"><div class="title">Sponsorship</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/thanks/">Thanks</a></li>
+										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+									</ul>
+								</li>
+							</ul>
+						</div>
+
+						<div class="zz-content">
+							<h1>Welcome to Apache Clerezza
+</h1>
+<div class="tx-content">
+
+	<div><div class="column one-column" xmlns="http://www.w3.org/1999/xhtml">
+				Clerezza is a service platform based on OSGi (Open Services Gateway initiative) which provides a set of functionality for management of semantically linked data accessible through RESTful Web Services and in a secured way.
+				Furthermore, Clerezza allows to easily develop semantic web applications by providing tools to manipulate RDF data, create RESTful Web Services and Renderlets using ScalaServerPages.
+				<br/>
+				<br/>Contents are stored as triples based on <a target="_blank" href="http://www.w3.org/TR/2004/REC-rdf-primer-20040210/">W3C RDF specification</a>. These triples are stored via Clerezza’s Smart Content Binding (SCB). SCB defines a technology-agnostic layer to access and modify triple stores. It provides a java implementation of the graph data model specified by W3C RDF and functionalities to operate on that data model. SCB offers a service interface to access multiple named graphs and it can use various providers to manage RDF graphs in a technology specific manner, e.g., using Jena  or Sesame. It also provides for adaptors that allow an application to use various APIs (including the Jena api) to process RDF graphs. Furthermore, SCB offers a serialization and a parsing service to convert a graph into a certain representation (format) and vice versa.
+			</div>
+</div>
+
+	<div><div class="column first-column" xmlns="http://www.w3.org/1999/xhtml">
+				<h2>Apache Clerezza in <strong>5 Bullet Points</strong></h2>
+
+				<ul>
+					<li><div>OSGi-based Platform</div></li>
+					<li><div>RESTful Web Service Framework</div> </li>
+					<li><div>Based on W3C Standard</div></li>
+					<li><div>Database/Triple Store independent</div></li>
+					<li><div>Scripting Support (JSR 223 compatible)</div></li>
+
+				</ul>
+			</div>
+			<div class="column second-column" xmlns="http://www.w3.org/1999/xhtml">
+				<h2>Apache Clerezza for <strong>Developers</strong></h2>
+				Apache Clerezza allows to easily develop semantic web application by providing the following:
+				<ul>
+					<li><div>An API to access RDF Graphs</div></li>
+					<li><div>SPARQL Support</div> </li>
+
+					<li><div>A JAX-RS implementation</div> </li>
+					<li><div>TypeHandlers: JAX-RS resources bound to an RDF type</div></li>
+					<li><div>Renderlets to create various representations from RDF resources, ScalaServerPages allows to easily write renderlets in Scala</div></li>
+					<li><div>Scripting in Scala on the <a target="_blank" href="http://incubator.apache.org/clerezza/getting-started/shell/">Clerezza Console</a></div></li>
+                                        <li><div><a href="http://incubator.apache.org/clerezza/clerezza-uima/">Integration</a> with <a target="_blank" href="http://uima.apache.org">Apache UIMA</a></div></li>
+				</ul>
+
+			</div>
+</div>
+
+</div>
+
+						</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="sitemap">
+									<div class="sitemap-title">Sitemap</div>
+									<div class="sitemap-content">
+										<div class="sitemap-column">
+											<div class="title">Documentation</div>
+											<ul>
+
+												<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+												<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+												<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+												<li><a href="/clerezza/faq/">FAQ</a></li>
+											</ul>
+
+										</div>
+										<div class="sitemap-column">
+
+											<div class="title">Project Infos</div>
+											<ul>
+												<li><a href="/clerezza/downloads/">Downloads</a></li>
+												<li><a href="/clerezza/contributing/">Contributing</a></li>
+												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+												<li><a href="mailinglists/">Mailing lists</a></li>
+												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+												<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+											</ul>
+										</div>
+										<div class="sitemap-column">
+											<div class="title">Sponsorship</div>
+											<ul>
+												<li><a href="/clerezza/thanks/">Thanks</a></li>
+												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+											</ul>
+										</div>
+									</div>
+
+								</div>
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br></br>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+
+
+					</body>
+				</html>
\ No newline at end of file

Added: clerezza/site/production/index.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/index.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/index.rdf (added)
+++ clerezza/site/production/index.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,19 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://localhost:8080/index">
+    <j.0:contains rdf:nodeID="A0"/>
+    <j.0:contains rdf:nodeID="A1"/>
+    <rdf:type rdf:resource="http://discobits.org/ontology#TitledContent"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <j.0:pos>1</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:holds rdf:resource="http://localhost:8080/content"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A1">
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:pos>0</j.0:pos>
+    <j.0:holds rdf:resource="http://localhost:8080/title"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/index.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/index.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/index.xhtml (added)
+++ clerezza/site/production/index.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,142 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+					<head>
+						<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet"/>
+						<title>Welcome to Apache Clerezza
+</title>
+					</head>
+					<body>
+						<div class="zz-header">
+
+							<div class="bar"></div>
+							<div class="logo">
+								<a href="http://incubator.apache.org/clerezza/" style=""><img src="/clerezza/images/logo.png" alt="logo"/></a>
+							</div>
+						</div>
+						<div class="column nav">
+							<ul>
+								<li class="top-nav-entry"><div class="title">Documentation</div>
+
+									<ul class="nav-entries">
+										<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+										<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+										<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+										<li><a href="/clerezza/faq/">FAQ</a></li>
+									</ul>
+								</li>
+
+								<li class="top-nav-entry"><div class="title">Project Infos</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/downloads/">Downloads</a></li>
+										<li><a href="/clerezza/contributing/">Contributing</a></li>
+										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+										<li><a href="/clerezza/mailinglists/">Mailing lists</a></li>
+										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+										<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+									</ul>
+								</li>
+								<li class="top-nav-entry"><div class="title">Sponsorship</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/thanks/">Thanks</a></li>
+										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+									</ul>
+								</li>
+							</ul>
+						</div>
+
+						<div class="zz-content">
+							<h1>Welcome to Apache Clerezza
+</h1>
+<div class="tx-content">
+
+	<div><div class="column one-column" xmlns="http://www.w3.org/1999/xhtml">
+				Clerezza is a service platform based on OSGi (Open Services Gateway initiative) which provides a set of functionality for management of semantically linked data accessible through RESTful Web Services and in a secured way.
+				Furthermore, Clerezza allows to easily develop semantic web applications by providing tools to manipulate RDF data, create RESTful Web Services and Renderlets using ScalaServerPages.
+				<br/>
+				<br/>Contents are stored as triples based on <a target="_blank" href="http://www.w3.org/TR/2004/REC-rdf-primer-20040210/">W3C RDF specification</a>. These triples are stored via Clerezza’s Smart Content Binding (SCB). SCB defines a technology-agnostic layer to access and modify triple stores. It provides a java implementation of the graph data model specified by W3C RDF and functionalities to operate on that data model. SCB offers a service interface to access multiple named graphs and it can use various providers to manage RDF graphs in a technology specific manner, e.g., using Jena  or Sesame. It also provides for adaptors that allow an application to use various APIs (including the Jena api) to process RDF graphs. Furthermore, SCB offers a serialization and a parsing service to convert a graph into a certain representation (format) and vice versa.
+			</div>
+</div>
+
+	<div><div class="column first-column" xmlns="http://www.w3.org/1999/xhtml">
+				<h2>Apache Clerezza in <strong>5 Bullet Points</strong></h2>
+
+				<ul>
+					<li><div>OSGi-based Platform</div></li>
+					<li><div>RESTful Web Service Framework</div> </li>
+					<li><div>Based on W3C Standard</div></li>
+					<li><div>Database/Triple Store independent</div></li>
+					<li><div>Scripting Support (JSR 223 compatible)</div></li>
+
+				</ul>
+			</div>
+			<div class="column second-column" xmlns="http://www.w3.org/1999/xhtml">
+				<h2>Apache Clerezza for <strong>Developers</strong></h2>
+				Apache Clerezza allows to easily develop semantic web application by providing the following:
+				<ul>
+					<li><div>An API to access RDF Graphs</div></li>
+					<li><div>SPARQL Support</div> </li>
+
+					<li><div>A JAX-RS implementation</div> </li>
+					<li><div>TypeHandlers: JAX-RS resources bound to an RDF type</div></li>
+					<li><div>Renderlets to create various representations from RDF resources, ScalaServerPages allows to easily write renderlets in Scala</div></li>
+					<li><div>Scripting in Scala on the <a target="_blank" href="http://incubator.apache.org/clerezza/getting-started/shell/">Clerezza Console</a></div></li>
+                                        <li><div><a href="http://incubator.apache.org/clerezza/clerezza-uima/">Integration</a> with <a target="_blank" href="http://uima.apache.org">Apache UIMA</a></div></li>
+				</ul>
+
+			</div>
+</div>
+
+</div>
+
+						</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="sitemap">
+									<div class="sitemap-title">Sitemap</div>
+									<div class="sitemap-content">
+										<div class="sitemap-column">
+											<div class="title">Documentation</div>
+											<ul>
+
+												<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+												<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+												<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+												<li><a href="/clerezza/faq/">FAQ</a></li>
+											</ul>
+
+										</div>
+										<div class="sitemap-column">
+
+											<div class="title">Project Infos</div>
+											<ul>
+												<li><a href="/clerezza/downloads/">Downloads</a></li>
+												<li><a href="/clerezza/contributing/">Contributing</a></li>
+												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+												<li><a href="mailinglists/">Mailing lists</a></li>
+												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+												<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+											</ul>
+										</div>
+										<div class="sitemap-column">
+											<div class="title">Sponsorship</div>
+											<ul>
+												<li><a href="/clerezza/thanks/">Thanks</a></li>
+												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+											</ul>
+										</div>
+									</div>
+
+								</div>
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br></br>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+
+
+					</body>
+				</html>
\ No newline at end of file



Mime
View raw message