You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2012/12/12 10:14:44 UTC

svn commit: r1420577 [21/30] - in /sling/site/trunk/content/site: ./ 46-line-blog.data/ authentication.data/ documentation.data/ first-steps.data/ getting-and-building-sling.data/ how-to-manage-events-in-sling.data/ index.data/ links.data/ manipulating...

Added: sling/site/trunk/content/site/output-rewriting-pipelines-orgapacheslingrewriter.html
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/output-rewriting-pipelines-orgapacheslingrewriter.html?rev=1420577&view=auto
==============================================================================
--- sling/site/trunk/content/site/output-rewriting-pipelines-orgapacheslingrewriter.html (added)
+++ sling/site/trunk/content/site/output-rewriting-pipelines-orgapacheslingrewriter.html Wed Dec 12 09:13:50 2012
@@ -0,0 +1,166 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<HTML>
+  <HEAD>
+    <TITLE>Apache Sling - Output Rewriting Pipelines (org.apache.sling.rewriter)</TITLE>
+    <LINK rel="stylesheet" href="http://sling.apache.org/site/media.data/site.css" type="text/css" media="all">
+    <LINK rel="icon" href="http://sling.apache.org/site/media.data/favicon.ico">
+    <META http-equiv="Content-Type" content="text/html;charset=UTF-8">
+  </HEAD>
+  <BODY>
+    <DIV class="title">
+      <DIV class="logo">
+        <A href="http://sling.apache.org/site/index.html">
+          <IMG border="0" alt="Apache Sling" src="http://sling.apache.org/site/media.data/logo.png">
+        </A>
+      </DIV>
+      <DIV class="header">
+        <A href="http://www.apache.org/">
+          <IMG border="0" alt="Apache" src="http://sling.apache.org/site/media.data/apache.png">
+        </A>
+      </DIV>
+    </DIV>
+    <DIV class="menu">
+<P><B>Documentation</B><BR class="atl-forced-newline">
+<A href="getting-started.html" title="Getting Started">Getting Started</A><BR class="atl-forced-newline">
+<A href="the-sling-engine.html" title="The Sling Engine">The Sling Engine</A><BR class="atl-forced-newline">
+<A href="development.html" title="Development">Development</A><BR class="atl-forced-newline">
+<A href="bundles.html" title="Bundles">Bundles</A><BR class="atl-forced-newline">
+<A href="tutorials-how-tos.html" title="Tutorials & How-Tos">Tutorials &amp; How&#45;Tos</A><BR class="atl-forced-newline">
+<A href="configuration.html" title="Configuration">Configuration</A><BR class="atl-forced-newline">
+<A href="http://sling.apache.org/apidocs/sling6/index.html" class="external-link" rel="nofollow">API docs</A><BR class="atl-forced-newline">
+<A href="http://s.apache.org/sling.wiki" class="external-link" rel="nofollow">Wiki</A><BR class="atl-forced-newline">
+<A href="http://s.apache.org/sling.faq" class="external-link" rel="nofollow">FAQ</A><BR class="atl-forced-newline"></P>
+
+<P><B>Project info</B><BR class="atl-forced-newline">
+<A href="http://sling.apache.org/site/downloads.cgi" class="external-link" rel="nofollow">Downloads</A><BR class="atl-forced-newline">
+<A href="http://www.apache.org/licenses/" class="external-link" rel="nofollow">License</A><BR class="atl-forced-newline">
+<A href="contributing.html" title="Contributing">Contributing</A><BR class="atl-forced-newline">
+<A href="news.html" title="News">News</A><BR class="atl-forced-newline">
+<A href="links.html" title="Links">Links</A><BR class="atl-forced-newline">
+<A href="project-information.html" title="Project Information">Project Information</A><BR class="atl-forced-newline">
+<A href="https://issues.apache.org/jira/browse/SLING" class="external-link" rel="nofollow">Issue Tracker</A><BR class="atl-forced-newline">
+<A href="http://svn.apache.org/viewvc/sling/trunk" class="external-link" rel="nofollow">Browse Source Repository</A><BR class="atl-forced-newline">
+<A href="security.html" title="Security">Security</A><BR class="atl-forced-newline"></P>
+
+<P><B>Sponsorship</B><BR class="atl-forced-newline">
+<A href="http://www.apache.org/foundation/thanks.html" class="external-link" rel="nofollow">Thanks</A><BR class="atl-forced-newline">
+<A href="http://www.apache.org/foundation/sponsorship.html" class="external-link" rel="nofollow">Become a Sponsor</A><BR>
+<A href="http://www.apache.org/foundation/buy_stuff.html" class="external-link" rel="nofollow">Buy Stuff</A></P>
+
+
+  <IFRAME src="http://www.apache.org/ads/button.html" style="border-width:0; float: left" frameborder="0" scrolling="no" width="135" height="135"></IFRAME>
+  <P style="height: 135px"></P>
+    </DIV>
+    <DIV class="main">
+        <DIV class="breadcrump" style="font-size: 80%;">
+<A href="apache-sling.html" title="Apache Sling Website">Apache Sling Website</A>&nbsp;&gt;&nbsp;<A href="apache-sling.html" title="Apache Sling">Apache Sling</A>&nbsp;&gt;&nbsp;<A href="documentation.html" title="Documentation">Documentation</A>&nbsp;&gt;&nbsp;<A href="bundles.html" title="Bundles">Bundles</A>&nbsp;&gt;&nbsp;<A href="" title="Output Rewriting Pipelines (org.apache.sling.rewriter)">Output Rewriting Pipelines (org.apache.sling.rewriter)</A>
+        </DIV>
+<H1><A name="OutputRewritingPipelines%28org.apache.sling.rewriter%29-ApacheSlingRewriter"></A>Apache Sling Rewriter</H1>
+
+<P>The Apache Sling Rewriter is a module for rewriting the output generated by a usual Sling rendering process. Some possible use cases include rewriting or checking all links in an html page, manipulating the html page, or using the generated output as the base for further transformation. An example of futher transformation is to use XSLT to transform rendered XML to some output format like HTML or XSL:FO for generating PDF.</P>
+
+<P>For supporting these use cases, the rewriter uses the concept for a processor. The processor is a component that is injected through a servlet filter into the response. By implementing the <EM>Processor</EM> interface one is able to rewrite the whole response in one go. A more convenient way of processing the output is by using a so called pipeline; the Apache Sling rewriter basically uses the same concept as the famous Apache Cocoon: an XML based pipeline for further post processing of the output. The pipeline is based on SAX events.</P>
+
+<H2><A name="OutputRewritingPipelines%28org.apache.sling.rewriter%29-SAXPipelines"></A>SAX Pipelines</H2>
+<P>The rewriter allows to configure a pipeline for post processing of the generated response. Depending on how the pipeline is assembled the rewriting process might buffer the whole output in order to do proper post processing - for example this is required if an HTML response is &quot;transformed&quot; to XHTML or if XSLT is used to process the response.</P>
+
+<P>As the pipeline is based on SAX events, there needs to be a component that generates these events and sends them through the pipeline. By default the Sling rendering scripts write to an output stream, so there is a need to parse this output and generate the SAX events.</P>
+
+<P>The first component in the pipeline generating the initial SAX events is called a generator. The generator gets the output from Sling, generates SAX events (XML), and streams these events into the pipeline. The counterpart of the generator is the serializer which builds the end of the pipeline. The serializer collects all incomming SAX events, transforms them into the required response by writing into output stream of the response.</P>
+
+<P>Between the generator and the serializer so called transformers can be placed in a chain. A transformer receives SAX events from the previous component in the pipeline and sends SAX events to the next component in the pipeline. A transformer can remove events, change events, add events or just pass on the events.</P>
+
+<P>Sling contains a default pipeline which is executed for all html responses: it starts with an html generator, parsing the html output and sending events into the pipeline. A html serializer collects all events and serializes the output. </P>
+
+<P>The pipelines can be configured in the repository as a child node of <EM>/apps/APPNAME/config/rewriter</EM> (or <EM>/libs/APPNAME/config/rewriter</EM>). (In fact the configured search paths of the resource resolver are observed.) Each node can have the following properties:</P>
+<UL>
+	<LI>generatorType - the type of the generator (required)</LI>
+	<LI>transformerTypes (multi value string) - the types of the transformers (optional)</LI>
+	<LI>serializerType - the type of the serializer (required)</LI>
+	<LI>paths (multi value string) - the paths this pipeline should run on (content paths)</LI>
+	<LI>contentTypes (multi value string) - the content types this pipeline should be used for (optional)</LI>
+	<LI>extensions (multi value string) - the extensions this pipeline should be used for (optional)</LI>
+	<LI>resourceTypes (multi value string) - the resource types this pipeline should be used for (optional)</LI>
+	<LI>order (long) - the configurations are sorted by this order, order must be higher or equal to 0. The configuration with the highest order is tried first.</LI>
+	<LI>enabled (boolean) - Is this configuration active? (default yes)</LI>
+</UL>
+
+
+<P>As you can see from the configuration there are several possibilities to define when a pipeline should be used for a response, like paths, extensions, content types, or resource types. It is possible to specify several of them at once. In this case all conditions must be met.</P>
+
+<P>If a component needs a configuration, the configuration is stored in a child node which name is <EM>{componentType}&#45;{name}</EM>, e.g. to configure the html generator (named <EM>html&#45;generator</EM>), the node should have the name <EM>generator-html-generator</EM>. In the case that the pipeline contains the same transformer several times, the configuration child node should have the formant <EM>{componentType}-{index}</EM> where index is the index of the transformer starting with 1. For example if you have a pipeline with the following transformers, xslt, html-cleaner, xslt, link-checker, then the configuration nodes should be named <EM>transformer-1</EM> (for the first xslt), <EM>transformer-html-cleaner</EM>, <EM>transformer-3</EM> (for the second xslt), and <EM>transformer-link-checker</EM>.</P>
+
+
+<H3><A name="OutputRewritingPipelines%28org.apache.sling.rewriter%29-DefaultPipeline"></A>Default Pipeline</H3>
+
+<P>The default pipeline is configured for the <EM>text/html</EM> mime type and the <EM>html</EM> extensions and consists of the <EM>html-generator</EM> as the generator, and the <EM>html-serializer</EM> for generating the final response.<BR>
+As the html generated by Sling is not required to be valid XHTML, the html parser is using an HTML parser to create valid SAX events. In order to perform this, the generator needs to buffer the whole response first.</P>
+
+<H2><A name="OutputRewritingPipelines%28org.apache.sling.rewriter%29-ImplementingPipelineComponents"></A>Implementing Pipeline Components</H2>
+
+<P>Each pipeline component type has a corresponding Java interface (Generator, Transformer, and Serializer) together with a factory interface (GeneratorFactory, TransformerFactory, and SerializerFactory). When implementing such a component, both interfaces need to be implemented. The factory has only one method which creates a new instance of that type for the current request. The factory has to be registered as a service. For example if you're using the Maven SCR plugin, it looks like this:</P>
+
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-java">
+@scr.component metatype=<SPAN class="code-quote">&quot;no&quot;</SPAN> 
+@scr.service <SPAN class="code-keyword">interface</SPAN>=<SPAN class="code-quote">&quot;TransformerFactory&quot;</SPAN>
+@scr.property value=<SPAN class="code-quote">&quot;pipeline.type&quot;</SPAN> value=<SPAN class="code-quote">&quot;validator&quot;</SPAN>
+</PRE>
+</DIV></DIV>
+
+<P>The factory needs to implement the according interface and should be registered as a service for this factory interface (this is a plain service and not a factory service in the OSGi sense). Each factory gets a unique name through the <EM>pipeline.type</EM> property. The pipeline configuration in the repository just references this unique name (like validator).</P>
+
+<H2><A name="OutputRewritingPipelines%28org.apache.sling.rewriter%29-ExtendingthePipeline"></A>Extending the Pipeline</H2>
+<P>With the possibilities from above, it is possible to define new pipelines and add custom components to the pipeline. However, in some cases it is required to just add a custom transformer to the existing pipeline. Therefore the rewriting can be configured with pre and post transformers that are simply added to each configured pipeline. This allows a more flexible way of customizing the pipeline without changing/adding a configuration in the repository.</P>
+
+<P>The approach here is nearly the same. A transformer factory needs to be implemented, but instead of giving this factory a unique name, this factory is marked as a global factory:</P>
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-java">
+@scr.component metatype=<SPAN class="code-quote">&quot;no&quot;</SPAN>
+@scr.service <SPAN class="code-keyword">interface</SPAN>=<SPAN class="code-quote">&quot;TransformerFactory&quot;</SPAN>
+@scr.property name=<SPAN class="code-quote">&quot;pipeline.mode&quot;</SPAN> value=<SPAN class="code-quote">&quot;global&quot;</SPAN>
+@scr.property name=<SPAN class="code-quote">&quot;service.ranking&quot;</SPAN> value=<SPAN class="code-quote">&quot;RANKING&quot;</SPAN> type=<SPAN class="code-quote">&quot;<SPAN class="code-object">Integer</SPAN>&quot;</SPAN>
+</PRE>
+</DIV></DIV>
+<P><EM>RANKING</EM> is an integer value (don't forget the type attribute otherwise the ranking is interpreted as zero!) specifying where to add the transformer in the pipeline. If the value is less than zero the transformer is added at the beginning of the pipeline right after the generator. If the ranking is equal or higher as zero, the transformer is added at the end of the pipeline before the serializer.</P>
+
+<P>The <EM>TransformerFactory</EM> interface has just one method which returns a new transformer instance. If you plan to use other services in your transformer you might declare the references on the factory and pass in the instances into the newly created transformer.</P>
+
+
+<H2><A name="OutputRewritingPipelines%28org.apache.sling.rewriter%29-ImplementingaProcessor"></A>Implementing a Processor</H2>
+<P>A processor must conform to the Java interface <EM>org.apache.sling.rewriter.Processor</EM>. It gets initializd (method <EM>init</EM>) with the <EM>ProcessingContext</EM>. This context contains all necessary information for the current request (especially the output writer to write the rewritten content to).<BR>
+The <EM>getWriter</EM> method should return a writer where the output is written to. When the output is written or an error occured <EM>finished</EM> is called.</P>
+
+<P>Like the pipeline components a processor is generated by a factory which has to be registered as a service factory, like this:</P>
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-java">
+@scr.component metatype=<SPAN class="code-quote">&quot;no&quot;</SPAN> 
+@scr.service <SPAN class="code-keyword">interface</SPAN>=<SPAN class="code-quote">&quot;ProcessorFactory&quot;</SPAN>
+@scr.property value=<SPAN class="code-quote">&quot;pipeline.type&quot;</SPAN> value=<SPAN class="code-quote">&quot;uniqueName&quot;</SPAN>
+</PRE>
+</DIV></DIV>
+
+<H2><A name="OutputRewritingPipelines%28org.apache.sling.rewriter%29-ConfiguringaProcessor"></A>Configuring a Processor</H2>
+<P>The processors can be configured in the repository as a child node of <EM>/apps/APPNAME/config/rewriter</EM> (or libs or any configured search path). Each node can have the following properties:</P>
+<UL>
+	<LI>processorType - the type of the processor (required) - this is the part from the scr factory information after the slash (in the example above this is <EM>uniqueName</EM>)</LI>
+	<LI>paths (multi value string) - the paths this processor should run on (content paths)</LI>
+	<LI>contentTypes (multi value string) - the content types this processor should be used for (optional)</LI>
+	<LI>extensions (multi value string) - the extensions this pipeline should be used for (optional)</LI>
+	<LI>resourceTypes (multi value string) - the resource types this pipeline should be used for (optional)</LI>
+	<LI>order (long) - the configurations are sorted by this order, order must be higher or equal to 0. The configuration with the highest order is tried first.</LI>
+	<LI>enabled (boolean) - Is this configuration active? (default yes)</LI>
+</UL>
+
+
+        <DIV class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
+Last modified by cziegeler@apache.org on 2009-09-15 23:06:52.0
+        </DIV>
+        <DIV class="trademarkFooter">
+Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
+        </DIV>
+    </DIV>
+  </BODY>
+</HTML>
+

Propchange: sling/site/trunk/content/site/output-rewriting-pipelines-orgapacheslingrewriter.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sling/site/trunk/content/site/output-rewriting-pipelines-orgapacheslingrewriter.html
------------------------------------------------------------------------------
    svn:keywords = Id

Propchange: sling/site/trunk/content/site/output-rewriting-pipelines-orgapacheslingrewriter.html
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sling/site/trunk/content/site/plugins.html
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/plugins.html?rev=1420577&view=auto
==============================================================================
--- sling/site/trunk/content/site/plugins.html (added)
+++ sling/site/trunk/content/site/plugins.html Wed Dec 12 09:13:50 2012
@@ -0,0 +1,71 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<HTML>
+  <HEAD>
+    <TITLE>Apache Sling - Plugins</TITLE>
+    <LINK rel="stylesheet" href="http://sling.apache.org/site/media.data/site.css" type="text/css" media="all">
+    <LINK rel="icon" href="http://sling.apache.org/site/media.data/favicon.ico">
+    <META http-equiv="Content-Type" content="text/html;charset=UTF-8">
+  </HEAD>
+  <BODY>
+    <DIV class="title">
+      <DIV class="logo">
+        <A href="http://sling.apache.org/site/index.html">
+          <IMG border="0" alt="Apache Sling" src="http://sling.apache.org/site/media.data/logo.png">
+        </A>
+      </DIV>
+      <DIV class="header">
+        <A href="http://www.apache.org/">
+          <IMG border="0" alt="Apache" src="http://sling.apache.org/site/media.data/apache.png">
+        </A>
+      </DIV>
+    </DIV>
+    <DIV class="menu">
+<P><B>Documentation</B><BR class="atl-forced-newline">
+<A href="getting-started.html" title="Getting Started">Getting Started</A><BR class="atl-forced-newline">
+<A href="the-sling-engine.html" title="The Sling Engine">The Sling Engine</A><BR class="atl-forced-newline">
+<A href="development.html" title="Development">Development</A><BR class="atl-forced-newline">
+<A href="bundles.html" title="Bundles">Bundles</A><BR class="atl-forced-newline">
+<A href="tutorials-how-tos.html" title="Tutorials & How-Tos">Tutorials &amp; How&#45;Tos</A><BR class="atl-forced-newline">
+<A href="configuration.html" title="Configuration">Configuration</A><BR class="atl-forced-newline">
+<A href="http://sling.apache.org/apidocs/sling6/index.html" class="external-link" rel="nofollow">API docs</A><BR class="atl-forced-newline">
+<A href="http://s.apache.org/sling.wiki" class="external-link" rel="nofollow">Wiki</A><BR class="atl-forced-newline">
+<A href="http://s.apache.org/sling.faq" class="external-link" rel="nofollow">FAQ</A><BR class="atl-forced-newline"></P>
+
+<P><B>Project info</B><BR class="atl-forced-newline">
+<A href="http://sling.apache.org/site/downloads.cgi" class="external-link" rel="nofollow">Downloads</A><BR class="atl-forced-newline">
+<A href="http://www.apache.org/licenses/" class="external-link" rel="nofollow">License</A><BR class="atl-forced-newline">
+<A href="contributing.html" title="Contributing">Contributing</A><BR class="atl-forced-newline">
+<A href="news.html" title="News">News</A><BR class="atl-forced-newline">
+<A href="links.html" title="Links">Links</A><BR class="atl-forced-newline">
+<A href="project-information.html" title="Project Information">Project Information</A><BR class="atl-forced-newline">
+<A href="https://issues.apache.org/jira/browse/SLING" class="external-link" rel="nofollow">Issue Tracker</A><BR class="atl-forced-newline">
+<A href="http://svn.apache.org/viewvc/sling/trunk" class="external-link" rel="nofollow">Browse Source Repository</A><BR class="atl-forced-newline">
+<A href="security.html" title="Security">Security</A><BR class="atl-forced-newline"></P>
+
+<P><B>Sponsorship</B><BR class="atl-forced-newline">
+<A href="http://www.apache.org/foundation/thanks.html" class="external-link" rel="nofollow">Thanks</A><BR class="atl-forced-newline">
+<A href="http://www.apache.org/foundation/sponsorship.html" class="external-link" rel="nofollow">Become a Sponsor</A><BR>
+<A href="http://www.apache.org/foundation/buy_stuff.html" class="external-link" rel="nofollow">Buy Stuff</A></P>
+
+
+  <IFRAME src="http://www.apache.org/ads/button.html" style="border-width:0; float: left" frameborder="0" scrolling="no" width="135" height="135"></IFRAME>
+  <P style="height: 135px"></P>
+    </DIV>
+    <DIV class="main">
+        <DIV class="breadcrump" style="font-size: 80%;">
+<A href="apache-sling.html" title="Apache Sling Website">Apache Sling Website</A>&nbsp;&gt;&nbsp;<A href="apache-sling.html" title="Apache Sling">Apache Sling</A>&nbsp;&gt;&nbsp;<A href="" title="Plugins">Plugins</A>
+        </DIV>
+<P>These pages present the various Maven Plugins of Sling:</P>
+
+
+        <DIV class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
+Last modified by fmeschbe on 2008-02-11 05:47:17.0
+        </DIV>
+        <DIV class="trademarkFooter">
+Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
+        </DIV>
+    </DIV>
+  </BODY>
+</HTML>
+

Propchange: sling/site/trunk/content/site/plugins.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sling/site/trunk/content/site/plugins.html
------------------------------------------------------------------------------
    svn:keywords = Id

Propchange: sling/site/trunk/content/site/plugins.html
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sling/site/trunk/content/site/project-information.html
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/project-information.html?rev=1420577&view=auto
==============================================================================
--- sling/site/trunk/content/site/project-information.html (added)
+++ sling/site/trunk/content/site/project-information.html Wed Dec 12 09:13:50 2012
@@ -0,0 +1,202 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<HTML>
+  <HEAD>
+    <TITLE>Apache Sling - Project Information</TITLE>
+    <LINK rel="stylesheet" href="http://sling.apache.org/site/media.data/site.css" type="text/css" media="all">
+    <LINK rel="icon" href="http://sling.apache.org/site/media.data/favicon.ico">
+    <META http-equiv="Content-Type" content="text/html;charset=UTF-8">
+  </HEAD>
+  <BODY>
+    <DIV class="title">
+      <DIV class="logo">
+        <A href="http://sling.apache.org/site/index.html">
+          <IMG border="0" alt="Apache Sling" src="http://sling.apache.org/site/media.data/logo.png">
+        </A>
+      </DIV>
+      <DIV class="header">
+        <A href="http://www.apache.org/">
+          <IMG border="0" alt="Apache" src="http://sling.apache.org/site/media.data/apache.png">
+        </A>
+      </DIV>
+    </DIV>
+    <DIV class="menu">
+<P><B>Documentation</B><BR class="atl-forced-newline">
+<A href="getting-started.html" title="Getting Started">Getting Started</A><BR class="atl-forced-newline">
+<A href="the-sling-engine.html" title="The Sling Engine">The Sling Engine</A><BR class="atl-forced-newline">
+<A href="development.html" title="Development">Development</A><BR class="atl-forced-newline">
+<A href="bundles.html" title="Bundles">Bundles</A><BR class="atl-forced-newline">
+<A href="tutorials-how-tos.html" title="Tutorials & How-Tos">Tutorials &amp; How&#45;Tos</A><BR class="atl-forced-newline">
+<A href="configuration.html" title="Configuration">Configuration</A><BR class="atl-forced-newline">
+<A href="http://sling.apache.org/apidocs/sling6/index.html" class="external-link" rel="nofollow">API docs</A><BR class="atl-forced-newline">
+<A href="http://s.apache.org/sling.wiki" class="external-link" rel="nofollow">Wiki</A><BR class="atl-forced-newline">
+<A href="http://s.apache.org/sling.faq" class="external-link" rel="nofollow">FAQ</A><BR class="atl-forced-newline"></P>
+
+<P><B>Project info</B><BR class="atl-forced-newline">
+<A href="http://sling.apache.org/site/downloads.cgi" class="external-link" rel="nofollow">Downloads</A><BR class="atl-forced-newline">
+<A href="http://www.apache.org/licenses/" class="external-link" rel="nofollow">License</A><BR class="atl-forced-newline">
+<A href="contributing.html" title="Contributing">Contributing</A><BR class="atl-forced-newline">
+<A href="news.html" title="News">News</A><BR class="atl-forced-newline">
+<A href="links.html" title="Links">Links</A><BR class="atl-forced-newline">
+<A href="" title="Project Information">Project Information</A><BR class="atl-forced-newline">
+<A href="https://issues.apache.org/jira/browse/SLING" class="external-link" rel="nofollow">Issue Tracker</A><BR class="atl-forced-newline">
+<A href="http://svn.apache.org/viewvc/sling/trunk" class="external-link" rel="nofollow">Browse Source Repository</A><BR class="atl-forced-newline">
+<A href="security.html" title="Security">Security</A><BR class="atl-forced-newline"></P>
+
+<P><B>Sponsorship</B><BR class="atl-forced-newline">
+<A href="http://www.apache.org/foundation/thanks.html" class="external-link" rel="nofollow">Thanks</A><BR class="atl-forced-newline">
+<A href="http://www.apache.org/foundation/sponsorship.html" class="external-link" rel="nofollow">Become a Sponsor</A><BR>
+<A href="http://www.apache.org/foundation/buy_stuff.html" class="external-link" rel="nofollow">Buy Stuff</A></P>
+
+
+  <IFRAME src="http://www.apache.org/ads/button.html" style="border-width:0; float: left" frameborder="0" scrolling="no" width="135" height="135"></IFRAME>
+  <P style="height: 135px"></P>
+    </DIV>
+    <DIV class="main">
+        <DIV class="breadcrump" style="font-size: 80%;">
+<A href="apache-sling.html" title="Apache Sling Website">Apache Sling Website</A>&nbsp;&gt;&nbsp;<A href="apache-sling.html" title="Apache Sling">Apache Sling</A>&nbsp;&gt;&nbsp;<A href="" title="Project Information">Project Information</A>
+        </DIV>
+<H1><A name="ProjectInformation-Slingprojectinformation"></A>Sling project information</H1>
+
+<P>This document provides an overview of the various documents and links that are part of this project's general information:</P>
+
+<UL>
+	<LI><A href="apache-sling-community-roles-and-processes.html" title="Apache Sling Community Roles and Processes">Community Roles and Processes</A></LI>
+	<LI><A href="project-team.html" title="Project Team">Project Team</A></LI>
+	<LI><A href="#ProjectInformation-lists">Mailing Lists</A></LI>
+	<LI><A href="#ProjectInformation-issues">Issue Tracking</A></LI>
+	<LI><A href="#ProjectInformation-source">Source Repository</A></LI>
+	<LI><A href="#ProjectInformation-ci">Continuous Integration</A></LI>
+	<LI><A href="project-license.html" title="Project License">Project License</A></LI>
+</UL>
+
+
+
+<P><A name="ProjectInformation-lists"></A></P>
+<H2><A name="ProjectInformation-MailingLists"></A>Mailing Lists</H2>
+
+<P>These are the mailing lists that have been established for this project. For each list, there is a subscribe, unsubscribe, and an archive link.</P>
+<DIV class="table-wrap">
+<TABLE class="confluenceTable"><TBODY>
+<TR>
+<TH class="confluenceTh"> Name </TH>
+<TH class="confluenceTh"> Subscribe </TH>
+<TH class="confluenceTh"> Unsubscribe </TH>
+<TH class="confluenceTh"> Post </TH>
+<TH class="confluenceTh"> Archive </TH>
+<TH class="confluenceTh"> Other Archives </TH>
+</TR>
+<TR>
+<TD class="confluenceTd"> Sling Users List </TD>
+<TD class="confluenceTd"> <A href="mailto:users-subscribe@sling.apache.org" class="external-link" rel="nofollow">Subscribe</A> </TD>
+<TD class="confluenceTd"> <A href="mailto:users-unsubscribe@sling.apache.org" class="external-link" rel="nofollow">Unsubscribe</A> </TD>
+<TD class="confluenceTd"> users at sling.apache.org </TD>
+<TD class="confluenceTd"> <A href="http://mail-archives.apache.org/mod_mbox/sling-users/" class="external-link" rel="nofollow">mail-archives.apache.org</A> </TD>
+<TD class="confluenceTd"> <A href="http://www.mail-archive.com/users@sling.apache.org/" class="external-link" rel="nofollow">www.mail-archive.com</A> <A href="http://sling.markmail.org/" class="external-link" rel="nofollow">MarkMail</A> <A href="http://n3.nabble.com/Sling-Users-f73968.html" class="external-link" rel="nofollow">Nabble</A> </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> Sling Developers List </TD>
+<TD class="confluenceTd"> <A href="mailto:dev-subscribe@sling.apache.org" class="external-link" rel="nofollow">Subscribe</A> </TD>
+<TD class="confluenceTd"> <A href="mailto:dev-unsubscribe@sling.apache.org" class="external-link" rel="nofollow">Unsubscribe</A> </TD>
+<TD class="confluenceTd"> dev at sling.apache.org </TD>
+<TD class="confluenceTd"> <A href="http://mail-archives.apache.org/mod_mbox/sling-dev/" class="external-link" rel="nofollow">mail-archives.apache.org</A> </TD>
+<TD class="confluenceTd"> <A href="http://www.mail-archive.com/dev@sling.apache.org/" class="external-link" rel="nofollow">www.mail-archive.com</A> <A href="http://sling.markmail.org/" class="external-link" rel="nofollow">MarkMail</A> <A href="http://n3.nabble.com/Sling-Dev-f73966.html" class="external-link" rel="nofollow">Nabble</A> </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> Sling Source Control List </TD>
+<TD class="confluenceTd"> <A href="mailto:commits-subscribe@sling.apache.org" class="external-link" rel="nofollow">Subscribe</A> </TD>
+<TD class="confluenceTd"> <A href="mailto:commits-unsubscribe@sling.apache.org" class="external-link" rel="nofollow">Unsubscribe</A> </TD>
+<TD class="confluenceTd">&nbsp;</TD>
+<TD class="confluenceTd"> <A href="http://mail-archives.apache.org/mod_mbox/incubator-sling-commits/" class="external-link" rel="nofollow">mail-archives.apache.org</A> </TD>
+<TD class="confluenceTd"> <A href="http://www.mail-archive.com/commits@sling.apache.org/" class="external-link" rel="nofollow">www.mail-archive.com</A> <A href="http://sling.markmail.org/" class="external-link" rel="nofollow">MarkMail</A> </TD>
+</TR>
+</TBODY></TABLE>
+</DIV>
+
+
+
+<P><A name="ProjectInformation-issues"></A></P>
+<H2><A name="ProjectInformation-IssueTracking"></A>Issue Tracking</H2>
+
+<P>This project uses JIRA a J2EE-based, issue tracking and project management application. Issues, bugs, and feature requests should be submitted to the following issue tracking system for this project.</P>
+
+<P>The issue tracker can be found at <A href="http://issues.apache.org/jira/browse/SLING" class="external-link" rel="nofollow">http://issues.apache.org/jira/browse/SLING</A></P>
+
+<P><A name="ProjectInformation-source"></A></P>
+<H2><A name="ProjectInformation-SourceRepository"></A>Source Repository</H2>
+
+<P>This project uses Subversion to manage its source code. Instructions on Subversion use can be found at <A href="http://svnbook.red-bean.com/" class="external-link" rel="nofollow">http://svnbook.red-bean.com/</A>.</P>
+
+<H3><A name="ProjectInformation-WebAccess"></A>Web Access</H3>
+
+<P>The following is a link to the online source repository.</P>
+
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>http://svn.apache.org/viewvc/sling/trunk
+</PRE>
+</DIV></DIV>
+
+<H3><A name="ProjectInformation-Anonymousaccess"></A>Anonymous access</H3>
+
+<P>The source can be checked out anonymously from SVN with this command:</P>
+
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>$ svn checkout http://svn.apache.org/repos/asf/sling/trunk sling
+</PRE>
+</DIV></DIV>
+
+<H3><A name="ProjectInformation-Developeraccess"></A>Developer access</H3>
+
+<P>Everyone can access the Subversion repository via HTTPS, but Committers must checkout the Subversion repository via HTTPS.</P>
+
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>$ svn checkout https://svn.apache.org/repos/asf/sling/trunk sling
+</PRE>
+</DIV></DIV>
+
+<P>To commit changes to the repository, execute the following command to commit your changes (svn will prompt you for your password)</P>
+
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>$ svn commit --username your-username -m &quot;A message&quot;
+</PRE>
+</DIV></DIV>
+
+<H3><A name="ProjectInformation-Accessfrombehindafirewall"></A>Access from behind a firewall</H3>
+
+<P>For those users who are stuck behind a corporate firewall which is blocking http access to the Subversion repository, you can try to access it via the developer connection:</P>
+
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>$ svn checkout https://svn.apache.org/repos/asf/sling/trunk sling
+</PRE>
+</DIV></DIV>
+
+<H3><A name="ProjectInformation-Accessthroughaproxy"></A>Access through a proxy</H3>
+
+<P>The Subversion client can go through a proxy, if you configure it to do so. First, edit your &quot;servers&quot; configuration file to indicate which proxy to use. The files location depends on your operating system. On Linux or Unix it is located in the directory &quot;~/.subversion&quot;. On Windows it is in &quot;%APPDATA%\Subversion&quot;. (Try &quot;echo %APPDATA%&quot;, note this is a hidden directory.)</P>
+
+<P>There are comments in the file explaining what to do. If you don't have that file, get the latest Subversion client and run any command; this will cause the configuration directory and template files to be created.</P>
+
+<P>Example : Edit the 'servers' file and add something like :</P>
+
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>[global]
+http-proxy-host = your.proxy.name
+http-proxy-port = 3128
+</PRE>
+</DIV></DIV>
+
+<P><A name="ProjectInformation-ci"></A></P>
+<H2><A name="ProjectInformation-ContinuousIntegration"></A>Continuous Integration</H2>
+<P>Sling builds run automatically on the ASF's <A href="https://builds.apache.org/view/S-Z/view/Sling/" class="external-link" rel="nofollow">Jenkins build server</A>, triggered by SVN changes and daily.</P>
+
+<P>See <A href="https://issues.apache.org/jira/browse/SLING-920" class="external-link" rel="nofollow">SLING-920</A> for Hudson configuration information.</P>
+        <DIV class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
+Last modified by justinedelson on 2011-07-29 10:44:01.0
+        </DIV>
+        <DIV class="trademarkFooter">
+Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
+        </DIV>
+    </DIV>
+  </BODY>
+</HTML>
+

Propchange: sling/site/trunk/content/site/project-information.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sling/site/trunk/content/site/project-information.html
------------------------------------------------------------------------------
    svn:keywords = Id

Propchange: sling/site/trunk/content/site/project-information.html
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sling/site/trunk/content/site/project-license.html
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/project-license.html?rev=1420577&view=auto
==============================================================================
--- sling/site/trunk/content/site/project-license.html (added)
+++ sling/site/trunk/content/site/project-license.html Wed Dec 12 09:13:50 2012
@@ -0,0 +1,272 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<HTML>
+  <HEAD>
+    <TITLE>Apache Sling - Project License</TITLE>
+    <LINK rel="stylesheet" href="http://sling.apache.org/site/media.data/site.css" type="text/css" media="all">
+    <LINK rel="icon" href="http://sling.apache.org/site/media.data/favicon.ico">
+    <META http-equiv="Content-Type" content="text/html;charset=UTF-8">
+  </HEAD>
+  <BODY>
+    <DIV class="title">
+      <DIV class="logo">
+        <A href="http://sling.apache.org/site/index.html">
+          <IMG border="0" alt="Apache Sling" src="http://sling.apache.org/site/media.data/logo.png">
+        </A>
+      </DIV>
+      <DIV class="header">
+        <A href="http://www.apache.org/">
+          <IMG border="0" alt="Apache" src="http://sling.apache.org/site/media.data/apache.png">
+        </A>
+      </DIV>
+    </DIV>
+    <DIV class="menu">
+<P><B>Documentation</B><BR class="atl-forced-newline">
+<A href="getting-started.html" title="Getting Started">Getting Started</A><BR class="atl-forced-newline">
+<A href="the-sling-engine.html" title="The Sling Engine">The Sling Engine</A><BR class="atl-forced-newline">
+<A href="development.html" title="Development">Development</A><BR class="atl-forced-newline">
+<A href="bundles.html" title="Bundles">Bundles</A><BR class="atl-forced-newline">
+<A href="tutorials-how-tos.html" title="Tutorials & How-Tos">Tutorials &amp; How&#45;Tos</A><BR class="atl-forced-newline">
+<A href="configuration.html" title="Configuration">Configuration</A><BR class="atl-forced-newline">
+<A href="http://sling.apache.org/apidocs/sling6/index.html" class="external-link" rel="nofollow">API docs</A><BR class="atl-forced-newline">
+<A href="http://s.apache.org/sling.wiki" class="external-link" rel="nofollow">Wiki</A><BR class="atl-forced-newline">
+<A href="http://s.apache.org/sling.faq" class="external-link" rel="nofollow">FAQ</A><BR class="atl-forced-newline"></P>
+
+<P><B>Project info</B><BR class="atl-forced-newline">
+<A href="http://sling.apache.org/site/downloads.cgi" class="external-link" rel="nofollow">Downloads</A><BR class="atl-forced-newline">
+<A href="http://www.apache.org/licenses/" class="external-link" rel="nofollow">License</A><BR class="atl-forced-newline">
+<A href="contributing.html" title="Contributing">Contributing</A><BR class="atl-forced-newline">
+<A href="news.html" title="News">News</A><BR class="atl-forced-newline">
+<A href="links.html" title="Links">Links</A><BR class="atl-forced-newline">
+<A href="project-information.html" title="Project Information">Project Information</A><BR class="atl-forced-newline">
+<A href="https://issues.apache.org/jira/browse/SLING" class="external-link" rel="nofollow">Issue Tracker</A><BR class="atl-forced-newline">
+<A href="http://svn.apache.org/viewvc/sling/trunk" class="external-link" rel="nofollow">Browse Source Repository</A><BR class="atl-forced-newline">
+<A href="security.html" title="Security">Security</A><BR class="atl-forced-newline"></P>
+
+<P><B>Sponsorship</B><BR class="atl-forced-newline">
+<A href="http://www.apache.org/foundation/thanks.html" class="external-link" rel="nofollow">Thanks</A><BR class="atl-forced-newline">
+<A href="http://www.apache.org/foundation/sponsorship.html" class="external-link" rel="nofollow">Become a Sponsor</A><BR>
+<A href="http://www.apache.org/foundation/buy_stuff.html" class="external-link" rel="nofollow">Buy Stuff</A></P>
+
+
+  <IFRAME src="http://www.apache.org/ads/button.html" style="border-width:0; float: left" frameborder="0" scrolling="no" width="135" height="135"></IFRAME>
+  <P style="height: 135px"></P>
+    </DIV>
+    <DIV class="main">
+        <DIV class="breadcrump" style="font-size: 80%;">
+<A href="apache-sling.html" title="Apache Sling Website">Apache Sling Website</A>&nbsp;&gt;&nbsp;<A href="apache-sling.html" title="Apache Sling">Apache Sling</A>&nbsp;&gt;&nbsp;<A href="project-information.html" title="Project Information">Project Information</A>&nbsp;&gt;&nbsp;<A href="" title="Project License">Project License</A>
+        </DIV>
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      &quot;License&quot; shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      &quot;Licensor&quot; shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      &quot;Legal Entity&quot; shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      &quot;control&quot; means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      &quot;You&quot; (or &quot;Your&quot;) shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      &quot;Source&quot; form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      &quot;Object&quot; form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      &quot;Work&quot; shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      &quot;Derivative Works&quot; shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      &quot;Contribution&quot; shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, &quot;submitted&quot;
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as &quot;Not a Contribution.&quot;
+
+      &quot;Contributor&quot; shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a &quot;NOTICE&quot; text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an &quot;AS IS&quot; BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets &quot;[]&quot;
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same &quot;printed page&quot; as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+   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 &quot;AS IS&quot; 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.
+</PRE>
+</DIV></DIV>
+        <DIV class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
+Last modified by fmeschbe on 2008-02-11 05:49:55.0
+        </DIV>
+        <DIV class="trademarkFooter">
+Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
+        </DIV>
+    </DIV>
+  </BODY>
+</HTML>
+

Propchange: sling/site/trunk/content/site/project-license.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sling/site/trunk/content/site/project-license.html
------------------------------------------------------------------------------
    svn:keywords = Id

Propchange: sling/site/trunk/content/site/project-license.html
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sling/site/trunk/content/site/project-team.html
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/project-team.html?rev=1420577&view=auto
==============================================================================
--- sling/site/trunk/content/site/project-team.html (added)
+++ sling/site/trunk/content/site/project-team.html Wed Dec 12 09:13:50 2012
@@ -0,0 +1,264 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<HTML>
+  <HEAD>
+    <TITLE>Apache Sling - Project Team</TITLE>
+    <LINK rel="stylesheet" href="http://sling.apache.org/site/media.data/site.css" type="text/css" media="all">
+    <LINK rel="icon" href="http://sling.apache.org/site/media.data/favicon.ico">
+    <META http-equiv="Content-Type" content="text/html;charset=UTF-8">
+  </HEAD>
+  <BODY>
+    <DIV class="title">
+      <DIV class="logo">
+        <A href="http://sling.apache.org/site/index.html">
+          <IMG border="0" alt="Apache Sling" src="http://sling.apache.org/site/media.data/logo.png">
+        </A>
+      </DIV>
+      <DIV class="header">
+        <A href="http://www.apache.org/">
+          <IMG border="0" alt="Apache" src="http://sling.apache.org/site/media.data/apache.png">
+        </A>
+      </DIV>
+    </DIV>
+    <DIV class="menu">
+<P><B>Documentation</B><BR class="atl-forced-newline">
+<A href="getting-started.html" title="Getting Started">Getting Started</A><BR class="atl-forced-newline">
+<A href="the-sling-engine.html" title="The Sling Engine">The Sling Engine</A><BR class="atl-forced-newline">
+<A href="development.html" title="Development">Development</A><BR class="atl-forced-newline">
+<A href="bundles.html" title="Bundles">Bundles</A><BR class="atl-forced-newline">
+<A href="tutorials-how-tos.html" title="Tutorials & How-Tos">Tutorials &amp; How&#45;Tos</A><BR class="atl-forced-newline">
+<A href="configuration.html" title="Configuration">Configuration</A><BR class="atl-forced-newline">
+<A href="http://sling.apache.org/apidocs/sling6/index.html" class="external-link" rel="nofollow">API docs</A><BR class="atl-forced-newline">
+<A href="http://s.apache.org/sling.wiki" class="external-link" rel="nofollow">Wiki</A><BR class="atl-forced-newline">
+<A href="http://s.apache.org/sling.faq" class="external-link" rel="nofollow">FAQ</A><BR class="atl-forced-newline"></P>
+
+<P><B>Project info</B><BR class="atl-forced-newline">
+<A href="http://sling.apache.org/site/downloads.cgi" class="external-link" rel="nofollow">Downloads</A><BR class="atl-forced-newline">
+<A href="http://www.apache.org/licenses/" class="external-link" rel="nofollow">License</A><BR class="atl-forced-newline">
+<A href="contributing.html" title="Contributing">Contributing</A><BR class="atl-forced-newline">
+<A href="news.html" title="News">News</A><BR class="atl-forced-newline">
+<A href="links.html" title="Links">Links</A><BR class="atl-forced-newline">
+<A href="project-information.html" title="Project Information">Project Information</A><BR class="atl-forced-newline">
+<A href="https://issues.apache.org/jira/browse/SLING" class="external-link" rel="nofollow">Issue Tracker</A><BR class="atl-forced-newline">
+<A href="http://svn.apache.org/viewvc/sling/trunk" class="external-link" rel="nofollow">Browse Source Repository</A><BR class="atl-forced-newline">
+<A href="security.html" title="Security">Security</A><BR class="atl-forced-newline"></P>
+
+<P><B>Sponsorship</B><BR class="atl-forced-newline">
+<A href="http://www.apache.org/foundation/thanks.html" class="external-link" rel="nofollow">Thanks</A><BR class="atl-forced-newline">
+<A href="http://www.apache.org/foundation/sponsorship.html" class="external-link" rel="nofollow">Become a Sponsor</A><BR>
+<A href="http://www.apache.org/foundation/buy_stuff.html" class="external-link" rel="nofollow">Buy Stuff</A></P>
+
+
+  <IFRAME src="http://www.apache.org/ads/button.html" style="border-width:0; float: left" frameborder="0" scrolling="no" width="135" height="135"></IFRAME>
+  <P style="height: 135px"></P>
+    </DIV>
+    <DIV class="main">
+        <DIV class="breadcrump" style="font-size: 80%;">
+<A href="apache-sling.html" title="Apache Sling Website">Apache Sling Website</A>&nbsp;&gt;&nbsp;<A href="apache-sling.html" title="Apache Sling">Apache Sling</A>&nbsp;&gt;&nbsp;<A href="project-information.html" title="Project Information">Project Information</A>&nbsp;&gt;&nbsp;<A href="" title="Project Team">Project Team</A>
+        </DIV>
+<H1><A name="ProjectTeam-TheProjectTeam"></A>The Project Team</H1>
+
+<P>A successful project requires many people to play many roles. Some members write code or documentation, while others are valuable as testers, submitting patches and suggestions.</P>
+
+<P>The team is comprised of Committers and Contributors. Committers have direct access to the source of a project and actively evolve the code-base. Contributors improve the project through submission of patches and suggestions to the Members. The number of Contributors to the project is unbounded. Get involved today. All contributions to the project are greatly appreciated.</P>
+
+<H2><A name="ProjectTeam-CommittersandPMCmembers"></A>Committers and PMC members</H2>
+
+<P>The following is a list of developers with commit privileges that have directly contributed to the project in one way or another.</P>
+
+<DIV class="table-wrap">
+<TABLE class="confluenceTable"><TBODY>
+<TR>
+<TH class="confluenceTh"> Id </TH>
+<TH class="confluenceTh"> Name </TH>
+<TH class="confluenceTh"> Organization </TH>
+<TH class="confluenceTh"> Roles </TH>
+<TH class="confluenceTh"> Time Zone </TH>
+</TR>
+<TR>
+<TD class="confluenceTd"> aheimoz </TD>
+<TD class="confluenceTd"> Alison Heimoz </TD>
+<TD class="confluenceTd"> Adobe </TD>
+<TD class="confluenceTd"> Technical Writer </TD>
+<TD class="confluenceTd"> &#43;1 </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> apopescu <IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/star_yellow.gif" height="16" width="16" align="absmiddle" alt="" border="0"> </TD>
+<TD class="confluenceTd"> Alexandru Popescu </TD>
+<TD class="confluenceTd">&nbsp;</TD>
+<TD class="confluenceTd"> Java Developer </TD>
+<TD class="confluenceTd"> &#43;1 </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> asanso </TD>
+<TD class="confluenceTd"> Antonio Sanso </TD>
+<TD class="confluenceTd"> Adobe </TD>
+<TD class="confluenceTd"> Java Developer </TD>
+<TD class="confluenceTd"> &#43;1 </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> bdelacretaz <IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/star_yellow.gif" height="16" width="16" align="absmiddle" alt="" border="0"> </TD>
+<TD class="confluenceTd"> Bertrand Delacretaz </TD>
+<TD class="confluenceTd"> Adobe </TD>
+<TD class="confluenceTd"> Java Developer </TD>
+<TD class="confluenceTd"> &#43;1 </TD>
+</TR>
+<TR>
+<TD class="confluenceTd">&nbsp;</TD>
+<TD class="confluenceTd"> Clemens Wyss </TD>
+<TD class="confluenceTd"> MySign AG </TD>
+<TD class="confluenceTd">&nbsp;</TD>
+<TD class="confluenceTd"> &#43;1 </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> clombart <IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/star_yellow.gif" height="16" width="16" align="absmiddle" alt="" border="0"> </TD>
+<TD class="confluenceTd"> Christophe Lombart </TD>
+<TD class="confluenceTd">&nbsp;</TD>
+<TD class="confluenceTd"> Java Developer </TD>
+<TD class="confluenceTd"> &#43;1 </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> cziegeler <IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/star_yellow.gif" height="16" width="16" align="absmiddle" alt="" border="0"> </TD>
+<TD class="confluenceTd"> Carsten Ziegeler </TD>
+<TD class="confluenceTd"> Adobe </TD>
+<TD class="confluenceTd"> Chair, Java Developer </TD>
+<TD class="confluenceTd"> &#43;1 </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> fmeschbe <IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/star_yellow.gif" height="16" width="16" align="absmiddle" alt="" border="0"> </TD>
+<TD class="confluenceTd"> Felix Meschberger </TD>
+<TD class="confluenceTd"> Adobe </TD>
+<TD class="confluenceTd"> Java Developer </TD>
+<TD class="confluenceTd"> &#43;1 </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> enorman </TD>
+<TD class="confluenceTd"> Eric Norman </TD>
+<TD class="confluenceTd">&nbsp;</TD>
+<TD class="confluenceTd"> Java Developer </TD>
+<TD class="confluenceTd">&nbsp;</TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> gianugo <IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/star_yellow.gif" height="16" width="16" align="absmiddle" alt="" border="0"> </TD>
+<TD class="confluenceTd"> Gianugo Rabellino </TD>
+<TD class="confluenceTd">&nbsp;</TD>
+<TD class="confluenceTd">&nbsp;</TD>
+<TD class="confluenceTd"> &#43;1 </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> jckautzmann </TD>
+<TD class="confluenceTd"> Jean-Christophe Kautzmann </TD>
+<TD class="confluenceTd"> Adobe </TD>
+<TD class="confluenceTd"> Java Developer </TD>
+<TD class="confluenceTd"> &#43;1 </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> justin <IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/star_yellow.gif" height="16" width="16" align="absmiddle" alt="" border="0"> </TD>
+<TD class="confluenceTd"> Justin Edelson </TD>
+<TD class="confluenceTd"> Adobe </TD>
+<TD class="confluenceTd"> Java Developer </TD>
+<TD class="confluenceTd">&nbsp;</TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> hannonpi <IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/star_yellow.gif" height="16" width="16" align="absmiddle" alt="" border="0"> </TD>
+<TD class="confluenceTd"> Padraic Hannon </TD>
+<TD class="confluenceTd"> Edmunds Inc. </TD>
+<TD class="confluenceTd"> Java Developer </TD>
+<TD class="confluenceTd">&nbsp;</TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> ieb <IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/star_yellow.gif" height="16" width="16" align="absmiddle" alt="" border="0"> </TD>
+<TD class="confluenceTd"> Ian Boston </TD>
+<TD class="confluenceTd"> University of Cambridge </TD>
+<TD class="confluenceTd"> Java Developer </TD>
+<TD class="confluenceTd">&nbsp;</TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> juanjo <IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/star_yellow.gif" height="16" width="16" align="absmiddle" alt="" border="0"> </TD>
+<TD class="confluenceTd"> Juan Jos&eacute; V&aacute;zquez Delgado </TD>
+<TD class="confluenceTd">&nbsp;</TD>
+<TD class="confluenceTd"> Java Developer </TD>
+<TD class="confluenceTd">&nbsp;</TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> mykee <IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/star_yellow.gif" height="16" width="16" align="absmiddle" alt="" border="0"> </TD>
+<TD class="confluenceTd"> Mike M&uuml;ller </TD>
+<TD class="confluenceTd"> MySign AG </TD>
+<TD class="confluenceTd">&nbsp;</TD>
+<TD class="confluenceTd"> &#43;1 </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> pauls <IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/star_yellow.gif" height="16" width="16" align="absmiddle" alt="" border="0"> </TD>
+<TD class="confluenceTd"> Karl Pauls </TD>
+<TD class="confluenceTd">&nbsp;</TD>
+<TD class="confluenceTd"> Java Developer </TD>
+<TD class="confluenceTd"> &#43;1 </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> thecarlhall </TD>
+<TD class="confluenceTd"> Carl Hall </TD>
+<TD class="confluenceTd"> Hallway Technologies </TD>
+<TD class="confluenceTd"> Java Developer </TD>
+<TD class="confluenceTd"> -5 </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> vramdal <IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/star_yellow.gif" height="16" width="16" align="absmiddle" alt="" border="0"> </TD>
+<TD class="confluenceTd"> Vidar Ramdal </TD>
+<TD class="confluenceTd">&nbsp;</TD>
+<TD class="confluenceTd"> Java Developer </TD>
+<TD class="confluenceTd"> &#43;1 </TD>
+</TR>
+</TBODY></TABLE>
+</DIV>
+
+
+<P>Committers marked with an asterisk <IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/star_yellow.gif" height="16" width="16" align="absmiddle" alt="" border="0"> are also members of the Sling Project Management Commitee (<A href="http://www.apache.org/dev/pmc.html" class="external-link" rel="nofollow">PMC</A>) as defined in <A href="apache-sling-community-roles-and-processes.html" title="Apache Sling Community Roles and Processes">Apache Sling Community Roles and Processes</A></P>
+
+
+<H2><A name="ProjectTeam-EmeritusCommittersandPMCmembers"></A>Emeritus Committers and PMC members</H2>
+
+<P>The following list of former committers and/or PMC members have chosen to go emeritus. We are still thankful for their help and guidance during earlier phases of the Sling project.</P>
+
+<DIV class="table-wrap">
+<TABLE class="confluenceTable"><TBODY>
+<TR>
+<TH class="confluenceTh"> Id </TH>
+<TH class="confluenceTh"> Name </TH>
+<TH class="confluenceTh"> Organization </TH>
+<TH class="confluenceTh"> Roles </TH>
+<TH class="confluenceTh"> Time Zone </TH>
+</TR>
+<TR>
+<TD class="confluenceTd"> farra </TD>
+<TD class="confluenceTd"> <B>J Aaron Farr</B> </TD>
+<TD class="confluenceTd">&nbsp;</TD>
+<TD class="confluenceTd"> Mentor </TD>
+<TD class="confluenceTd">&nbsp;</TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> jukka </TD>
+<TD class="confluenceTd"> <B>Jukka Zitting</B> </TD>
+<TD class="confluenceTd"> Day Software </TD>
+<TD class="confluenceTd"> Champion, Mentor </TD>
+<TD class="confluenceTd"> +1 </TD>
+</TR>
+</TBODY></TABLE>
+</DIV>
+
+
+<P>Committers with their names printed in bold face have also been members of the PMC (or PPMC during Sling incubation) as defined in <A href="apache-sling-community-roles-and-processes.html" title="Apache Sling Community Roles and Processes">Apache Sling Community Roles and Processes</A></P>
+
+
+<H2><A name="ProjectTeam-Contributors"></A>Contributors</H2>
+
+<P>There are no contributors listed for this project.</P>
+        <DIV class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
+Last modified by aheimoz on Wed Sep 26 08:30:12 EDT 2012
+        </DIV>
+        <DIV class="trademarkFooter">
+Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
+        </DIV>
+    </DIV>
+  </BODY>
+</HTML>
+

Propchange: sling/site/trunk/content/site/project-team.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sling/site/trunk/content/site/project-team.html
------------------------------------------------------------------------------
    svn:keywords = Id

Propchange: sling/site/trunk/content/site/project-team.html
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sling/site/trunk/content/site/provisioning-and-startup.html
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/provisioning-and-startup.html?rev=1420577&view=auto
==============================================================================
--- sling/site/trunk/content/site/provisioning-and-startup.html (added)
+++ sling/site/trunk/content/site/provisioning-and-startup.html Wed Dec 12 09:13:50 2012
@@ -0,0 +1,199 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<HTML>
+  <HEAD>
+    <TITLE>Apache Sling - Provisioning and Startup</TITLE>
+    <LINK rel="stylesheet" href="http://incubator.apache.org/sling/site/media.data/site.css" type="text/css" media="all">
+    <LINK rel="icon" href="http://incubator.apache.org/sling/site/media.data/favicon.ico">
+    <META http-equiv="Content-Type" content="text/html;charset=UTF-8">
+  </HEAD>
+  <BODY>
+    <DIV class="title">
+      <DIV class="logo">
+        <A href="http://incubator.apache.org/sling/site/index.html">
+          <IMG border="0" alt="Apache Sling" src="http://incubator.apache.org/sling/site/media.data/logo.png">
+        </A>
+      </DIV>
+      <DIV class="header">
+        <A href="http://incubator.apache.org/">
+          <IMG border="0" alt="Apache Incubator" src="http://incubator.apache.org/images/apache-incubator-logo.png">
+        </A>
+      </DIV>
+    </DIV>
+    <DIV class="menu">
+                                    <P style="display: none"></P>
+
+<UL>
+	<LI><A href="documentation.html" title="Documentation">Documentation</A></LI>
+	<LI><A href="advanced-topics.html" title="Advanced Topics">Advanced Topics</A></LI>
+	<LI><A href="development.html" title="Development">Development</A></LI>
+	<LI><SPAN class="nobr"><A href="http://incubator.apache.org/sling/site/downloads.cgi" title="Visit page outside Confluence" rel="nofollow">Downloads<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><A href="contributing.html" title="Contributing">Contributing</A></LI>
+	<LI><A href="links.html" title="Links">Links</A></LI>
+	<LI><SPAN class="nobr"><A href="http://cwiki.apache.org/SLING/faq.html" title="Visit page outside Confluence" rel="nofollow">FAQ<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://cwiki.apache.org/SLING/" title="Visit page outside Confluence" rel="nofollow">Wiki<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><A href="project-information.html" title="Project Information">Project Information</A></LI>
+	<LI><SPAN class="nobr"><A href="http://incubator.apache.org/sling/apidocs/sling5/index.html" title="Visit page outside Confluence" rel="nofollow">Sling 5 API<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://www.apache.org/foundation/thanks.html" title="Visit page outside Confluence" rel="nofollow">Sponsors<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://www.apache.org/foundation/sponsorship.html" title="Visit page outside Confluence" rel="nofollow">Sponsorship<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN>
+
+<IFRAME src="http://www.apache.org/ads/button.html" style="border-width:0; float: left" frameborder="0" scrolling="no" width="135" height="135"></IFRAME>
+<P style="height: 100px"></P>
+</LI>
+</UL>
+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </DIV>
+    <DIV class="main">
+        <DIV class="breadcrump" style="font-size: 80%;">
+<A href="apache-sling.html" title="Apache Sling Website">Apache Sling Website</A>&nbsp;&gt;&nbsp;<A href="apache-sling.html" title="Apache Sling">Apache Sling</A>&nbsp;&gt;&nbsp;<A href="advanced-topics.html" title="Advanced Topics">Advanced Topics</A>&nbsp;&gt;&nbsp;<A href="" title="Provisioning and Startup">Provisioning and Startup</A>
+        </DIV>
+<H1><A name="ProvisioningandStartup-InitialProvisioningandStartup"></A>Initial Provisioning and Startup</H1>
+
+<TABLE cellpadding="5" width="85%" cellspacing="8px" class="noteMacro" border="0" align="center"><COLGROUP><COL width="24"><COL></COLGROUP><TR><TD valign="top"><IMG src="http://cwiki.apache.org/confluence/images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></TD><TD>
+<P>The information presented on this page is currently (13-Apr-2009) not up to date. We are in the process of updating the site and will also fix this page.</P></TD></TR></TABLE>
+
+<H2><A name="ProvisioningandStartup-WegotaLaunch"></A>We got a Launch</H2>
+
+<P>The most complicated tasks getting Sling or any Sling application up and running is launching the framework and providing the initial installation. To simplify these tasks, great efforts have been taken. The result is a Standalone Java Application - the Sling App - and a Web Application - the Sling Servlet - with embedded libraries and a core set of bundles and a mechanism to provide initial configuration and installation. The following description applies to both the standalone application and the web application.</P>
+
+<P>When Sling is first started the following steps are executed:</P>
+
+<UL>
+	<LI>The initial configuration is loaded as described <A href="configuration.html#Configuration-InitialConfiguration" title="Initial_Configuration on Configuration">here</A>.</LI>
+	<LI>The list of bundles embedded in the application is set to the <TT>felix.autostart.1</TT> property. This will automatically install and start these bundles in start level 1. Currently this list is hard coded and consists of the following bundles:</LI>
+	<LI><TT>org.apache.sling.sling-log</TT> - The OSGi Log Service implementation of Project Sling also exporting logging APIs</LI>
+	<LI><TT>org.apache.sling.sling-assembly</TT> - Installation and Update Management support</LI>
+	<LI><TT>org.apache.felix.bundlerepository</TT> - Apache Felix implementation of the OSGi Bundle Repository specification.</LI>
+	<LI>The Apache Felix framework is launched and an URL handler for the <TT>context:</TT> scheme is registered to provide access to the contents of the Sling Web Application.</LI>
+	<LI>As soon as the Framework has been started, the <TT>com.day.sling.assembly</TT> bundle inspects the Framework properties available through the <TT>BundleContext.getProperty(String)</TT> method to install bundles from configured OSGi Bundle Repositories.</LI>
+</UL>
+
+
+
+
+<H2><A name="ProvisioningandStartup-InitialBundleInstallationbytheslingassemblyBundle"></A>Initial Bundle Installation by the sling-assembly Bundle</H2>
+
+<P>When the <EM>sling-assembly</EM> bundle is started it registers a <TT>FrameworkEventListener</TT> which justs listens for the <TT>FRAMEWORK_STARTED</TT> event. When this event comes in, the framework is up and running, the <EM>sling-assembly</EM> bundle will look at the Framework properties to see, whether any bundles need to be installed. This is done along the lines of the following pseudo code:</P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java"><SPAN class="code-object">String</SPAN> startLevelList = bundleContext.getProperty( <SPAN class="code-quote">&quot;sling.install.bundles&quot;</SPAN> );
+<SPAN class="code-keyword">for</SPAN> ( <SPAN class="code-object">String</SPAN> startLevel: startLevelList ) {
+    <SPAN class="code-object">String</SPAN> bundleList = bundleContext.getProperty( <SPAN class="code-quote">&quot;sling.install.&quot;</SPAN> + startLevel );
+    <SPAN class="code-keyword">for</SPAN> ( Bundle bundle: bundleList )  {
+        <SPAN class="code-keyword">if</SPAN> ( ! isInstalled( bundle ) ) {
+            install( bundle );
+            setStartLevel( bundle, startLevel );
+        }
+    }
+}
+
+<SPAN class="code-keyword">for</SPAN> ( each bundle installed ) {
+    start( bundle );
+}</PRE>
+</DIV></DIV>
+
+
+<H3><A name="ProvisioningandStartup-Example"></A>Example</H3>
+
+<P>Given the following properties</P>
+
+<DIV class="preformatted"><DIV class="preformattedContent">
+<PRE>sling.install.bundles = 1, 10, 20
+sling.install.1 = org.apache.sling.assemblies.osgi-compendium-assembly:0.1.0, \
+ org.apache.sling.assemblies.sling-console-web-assembly:0.1.0
+sling.install.10 = org.apache.sling.assemblies.sling-crx-server-assembly:[1,2)
+sling.install.20 = org.apache.sling.assemblies.sling-assembly$
+</PRE>
+</DIV></DIV>
+
+
+<P>These bundles will be installed:</P>
+
+<TABLE class="confluenceTable"><TBODY>
+<TR>
+<TH class="confluenceTh"> Bundle </TH>
+<TH class="confluenceTh"> Version </TH>
+<TH class="confluenceTh"> Start Level </TH>
+</TR>
+<TR>
+<TD class="confluenceTd"> <TT>org.apache.sling.assemblies.osgi-compendium-assembly</TT> </TD>
+<TD class="confluenceTd"> &gt;= 0.1.0 </TD>
+<TD class="confluenceTd"> 1 </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> <TT>org.apache.sling.assemblies.sling-console-web-assembly</TT> </TD>
+<TD class="confluenceTd"> &gt;= 0.1.0 </TD>
+<TD class="confluenceTd"> 1 </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> <TT>org.apache.sling.assemblies.sling-crx-server-assembly</TT> </TD>
+<TD class="confluenceTd"> Any Version with Major Version 1 </TD>
+<TD class="confluenceTd"> 10 </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> <TT>org.apache.sling.assemblies.sling-assembly</TT> </TD>
+<TD class="confluenceTd"> Any Version </TD>
+<TD class="confluenceTd"> 20 </TD>
+</TR>
+</TBODY></TABLE>
+
+
+<P><B>Notes</B></P>
+
+<OL>
+	<LI>The Sling application takes care of constructing the <TT>sling.install.bundles</TT> property from the <TT>sling.install.&lt;n&gt;</TT> properties found from the different property sources loaded before launching the framework. The <TT>sling.install.bundles</TT> property needs only be manually created in case the Sling Servlet is not used to launch the OSGi framework for Sling.</LI>
+	<LI>Any <TT>sling.install.&lt;n&gt;</TT> property whose start level value <TT>&lt;n&gt;</TT> is not listed in the <TT>sling.install.bundles</TT> property is ignored.</LI>
+	<LI>The <TT>sling.install.&lt;n&gt;</TT> properties are comma-separated lists of bundle specifications where each entry is a tuple of a bundle symbolic name and an optional version range specification (see section 3.2.5, Version Ranges, in the OSGi Service Platform Core Specification). If no version range (or single version) is specified for an entry, any version is applicable.</LI>
+	<LI>The bundles listed in the <TT>sling.install.&lt;n&gt;</TT> properties are simple bundles from the point of view of initial installation. If any of the bundles happen to be an Assembly Bundle (see <A href="assembly.html" title="Assembly">Assembly: Bundling Bundles</A>) the Assembly Manager will take care of that bundle after the bundle has been installed.</LI>
+</OL>
+
+
+
+
+<H2><A name="ProvisioningandStartup-ImportantProperties"></A>Important Properties</H2>
+
+<P>To recapitulate here is a list of Framework properties used for initial provisioning:</P>
+
+<TABLE class="confluenceTable"><TBODY>
+<TR>
+<TH class="confluenceTh"> Property </TH>
+<TH class="confluenceTh"> Description </TH>
+</TR>
+<TR>
+<TD class="confluenceTd"> <TT>obr.repository.url</TT> </TD>
+<TD class="confluenceTd"> A comma-separated list of OSGi Bundle Repository URLs. This property is required to access the OSGi Bundle Repository to install the bundles listed in the <TT>sling.install.&lt;n&gt;</TT> properties. See the <TT>org.apache.felix.bundlerepository</TT> Bundle documentation for more information on this property. </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> <TT>sling.install.bundles</TT> </TD>
+<TD class="confluenceTd"> A comma-separated list of start level numbers referring to <TT>sling.install.&lt;n&gt;</TT> properties listing bundles to install. If this property is empty or  missing, nothing will be installed. </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> <TT>sling.install.&lt;n&gt;</TT> </TD>
+<TD class="confluenceTd"> A comma-separated list of bundle specifications consisting of the (required) bundle symbolic name and an (optional) version range specification separated by colon. Any <TT>sling.install.&lt;n&gt;</TT> property whose start level value <TT>&lt;n&gt;</TT> is not listed in the <TT>sling.install.bundles</TT>, property is ignored. </TD>
+</TR>
+</TBODY></TABLE>
+
+
+
+<H2><A name="ProvisioningandStartup-UsingtheSlingStandaloneApplication"></A>Using the Sling Standalone Application</H2>
+
+<P>The Sling Standalone Application is available as an executable JAR file and may be started by just specifying a simple command line:</P>
+
+<DIV class="preformatted"><DIV class="preformattedContent">
+<PRE>$ java -jar sling-app.jar
+</PRE>
+</DIV></DIV>
+
+<P>This causes Sling to start up as described above. The configuration built into the Sling Standalone Application causes the Apache Felix <EM>http.jetty</EM> bundle to be installed to run an embedded Servlet Container backing the OSGi HTTPService implementation used to provide the Sling Management Console.</P>
+
+
+
+<H2><A name="ProvisioningandStartup-UsingtheSlingWebApplication"></A>Using the Sling Web Application</H2>
+
+<P>Launching Sling in a servlet container is equally simple as using the standalone application: Grab the <EM>sling-servlet</EM> web application and deploy it into your favourite servlet container.</P>
+        <DIV class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
+Last modified by fmeschbe on 2009-04-13 14:13:27.0
+        </DIV>
+    </DIV>
+  </BODY>
+</HTML>
+

Propchange: sling/site/trunk/content/site/provisioning-and-startup.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sling/site/trunk/content/site/provisioning-and-startup.html
------------------------------------------------------------------------------
    svn:keywords = Id

Propchange: sling/site/trunk/content/site/provisioning-and-startup.html
------------------------------------------------------------------------------
    svn:mime-type = text/plain