incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1420577 [18/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...
Date Wed, 12 Dec 2012 09:14:44 GMT
Added: sling/site/trunk/content/site/mappings-for-resource-resolution.html
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/mappings-for-resource-resolution.html?rev=1420577&view=auto
==============================================================================
--- sling/site/trunk/content/site/mappings-for-resource-resolution.html (added)
+++ sling/site/trunk/content/site/mappings-for-resource-resolution.html Wed Dec 12 09:13:50 2012
@@ -0,0 +1,286 @@
+
+<!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 - Mappings for Resource Resolution</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="the-sling-engine.html" title="The Sling Engine">The Sling Engine</A>&nbsp;&gt;&nbsp;<A href="" title="Mappings for Resource Resolution">Mappings for Resource Resolution</A>
+        </DIV>
+<H1><A name="MappingsforResourceResolution-MappingsforResourceResolution"></A>Mappings for Resource Resolution</H1>
+
+
+<H2><A name="MappingsforResourceResolution-Configuration"></A>Configuration</H2>
+
+
+<H3><A name="MappingsforResourceResolution-Properties"></A>Properties</H3>
+
+<P>The mapping of request URLs to resources is mainly configured in a configuration tree which is (by default) located below <TT>/etc/map</TT>. The actual location can be configured with the <TT>resource.resolver.map.location</TT> property of the <TT>org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl</TT> configuration.</P>
+
+
+<P>When dealing with the new resource resolution we have a number of properties influencing the process:</P>
+<UL>
+	<LI><TT>sling:match</TT> &ndash; This property when set on a node in the <TT>/etc/map</TT> tree (see below) defines a partial regular expression which is used instead of the node's name to match the incoming request. This property is only needed if the regular expression includes characters which are not valid JCR name characters. The list of invalid characters for JCR names is: /, :, [, ], &#42;, ', &quot;, &#124; and any whitespace except blank space. In addition a name without a name space may not be <TT>.</TT> or <TT>..</TT> and a blank space is only allowed inside the name.</LI>
+	<LI><TT>sling:redirect</TT> &ndash; This property when set on a node in the <TT>/etc/map</TT> tree (see below) causes a redirect response to be sent to the client, which causes the client to send in a new request with the modified location. The value of this property is applied to the actual request and sent back as the value of <TT>Location</TT> response header.</LI>
+	<LI><TT>sling:status</TT> &ndash; This property defines the HTTP status code sent to the client with the <TT>sling:redirect</TT> response. If this property is not set, it defaults to 302 (Found). Other status codes supported are 300 (Multiple Choices), 301 (Moved Permanently), 303 (See Other), and 307 (Temporary Redirect).</LI>
+	<LI><TT>sling:internalRedirect</TT> &ndash; This property when set on a node in the <TT>/etc/map</TT> tree (see below) causes the current path to be modified internally to continue with resource resolution.</LI>
+	<LI><TT>sling:alias</TT> &ndash; The property may be set on any resource to indicate an alias name for the resource. For example the resource <TT>/content/visitors</TT> may have the <TT>sling:alias</TT> property set to <TT>besucher</TT> allowing the resource to be addressed in an URL as <TT>/content/besucher</TT>.</LI>
+</UL>
+
+
+<H3><A name="MappingsforResourceResolution-NodeTypes"></A>Node Types</H3>
+
+<P>To ease with the definition of redirects and aliases, the following node types are defined:</P>
+<UL>
+	<LI><TT>sling:ResourceAlias</TT> &ndash; This mixin node type defines the <TT>sling:alias</TT> property and may be attached to any node, which does not otherwise allow setting a property named <TT>sling:alias</TT></LI>
+	<LI><TT>sling:MappingSpec</TT> &ndash; This mixin node type defines the <TT>sling:match</TT>, <TT>sling:redirect</TT>, <TT>sling:status</TT>, and <TT>sling:internaleRedirect</TT> properties to define a matching and redirection inside the <TT>/etc/map</TT> hierarchy.</LI>
+	<LI><TT>sling:Mapping</TT> &ndash; Primary node type which may be used to easily construct entries in the <TT>/etc/map</TT> tree. The node type extends the <TT>sling:MappingSpec</TT> mixin node type to allow setting the required matching and redirection. In addition the <TT>sling:Resource</TT> mixin node type is extended to allow setting a resource type and the <TT>nt:hierarchyNode</TT> node type is extended to allow locating nodes of this node type below <TT>nt:folder</TT> nodes.</LI>
+</UL>
+
+
+<P>Note, that these node types only help setting the properties. The implementation itself only cares for the properties and their values and not for any of these node types.</P>
+
+<H2><A name="MappingsforResourceResolution-NamespaceMangling"></A>Namespace Mangling</H2>
+
+<P>There are systems accessing Sling, which have a hard time handling URLs containing colons &ndash; <TT>:</TT> &ndash; in the path part correctly. Since URLs produced and supported by Sling may colons because JCR Item based resources may be namespaced (e.g. <TT>jcr:content</TT>), a special namespace mangling feature is built into the <TT>ResourceResolver.resolve</TT> and <TT>ResourceResolver(map)</TT> methods.</P>
+
+<P>Namespace mangling operates such, that any namespace prefix identified in resource path to be mapped as an URL in the <TT>map</TT> methods is modified such that the prefix is enclosed in underscores and the colon removed.</P>
+
+<P><EM>Example</EM>: The path <TT>/content/_a_sample/jcr:content/jcr:data.png</TT> is modified by namespace mangling in the <TT>map</TT> method to get at <TT>/content/_a_sample/_jcr_content/_jcr_data.png</TT>.</P>
+
+<P>Conversely the <TT>resolve</TT> methods must undo such namespace mangling to get back at the resource path. This is simple done by modifying any path such that segments starting with an underscore enclosed prefix are changed by removing the underscores and adding a colon after the prefix. There is one catch, tough: Due to the way the SlingPostServlets automatically generates names, there may be cases where the actual name would be matching this mechanism. Therefore only prefixes are modified which are actually namespace prefixes.</P>
+
+<P><EM>Example</EM>: The path <TT>/content/_a_sample/<EM>jcr_content/_jcr_data.png</EM></TT> <EM>is modified by namespace mangling in the</EM> <TT><EM>resolve</EM></TT> <EM>method to get</EM> <TT><EM>/content/_a_sample/jcr:content/jcr:data.png</EM></TT><EM>. The prefix</EM> <TT><EM>&#95;a</EM></TT><TT>}} is not modified because there is no registered namespace with prefix {{a</TT>. On the other hand the prefix <TT><EM>jcr</EM></TT> is modified because there is of course a registered namespace with prefix <TT>jcr</TT>.</P>
+
+<H2><A name="MappingsforResourceResolution-RootLevelMappings"></A>Root Level Mappings</H2>
+
+<P>Root Level Mappings apply to the request at large including the scheme, host.port and uri path. To accomplish this a path is constructed from the request as {<TT>scheme}/{host.port}/{uri_path</TT>}. This string is then matched against mapping entries below <TT>/etc/map</TT> which are structured in the content analogously. The longest matching entry string is used and the replacement, that is the redirection property, is applied.</P>
+
+<H3><A name="MappingsforResourceResolution-MappingEntrySpecification"></A>Mapping Entry Specification</H3>
+
+<P>Each entry in the mapping table is a regular expression, which is constructed from the resource path below <TT>/etc/map</TT>. If any resource along the path has a <TT>sling:match</TT> property, the respective value is used in the corresponding segment instead of the resource name. Only resources either having a <TT>sling:redirect</TT> or <TT>sling:internalRedirect</TT> property are used as table entries. Other resources in the tree are just used to build the mapping structure.</P>
+
+<P><B>Example</B></P>
+
+<P>Consider the following content</P>
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>/etc/map
+      +-- http
+           +-- example.com.80
+                +-- sling:redirect = &quot;http://www.example.com/&quot;
+           +-- www.example.com.80
+                +-- sling:internalRedirect = &quot;/example&quot;
+           +-- any_example.com.80
+                +-- sling:match = &quot;.+\.example\.com\.80&quot;
+                +-- sling:redirect = &quot;http://www.example.com/&quot;
+           +-- localhost_any
+                +-- sling:match = &quot;localhost\.\d*&quot;
+                +-- sling:internalRedirect = &quot;/content&quot;
+                +-- cgi-bin
+                     +-- sling:internalRedirect = &quot;/scripts&quot;
+                +-- gateway
+                     +-- sling:internalRedirect = &quot;http://gbiv.com&quot;
+                +-- (stories)
+                     +-- sling:internalRedirect = &quot;/anecdotes/$1&quot;
+</PRE>
+</DIV></DIV>
+<P>This would define the following mapping entries:</P>
+<DIV class="table-wrap">
+<TABLE class="confluenceTable"><TBODY>
+<TR>
+<TH class="confluenceTh"> Regular Expression </TH>
+<TH class="confluenceTh"> Redirect </TH>
+<TH class="confluenceTh"> Internal </TH>
+<TH class="confluenceTh"> Description </TH>
+</TR>
+<TR>
+<TD class="confluenceTd"> http/example.com.80 </TD>
+<TD class="confluenceTd"> <A href="http://www.example.com/" class="external-link" rel="nofollow">http://www.example.com</A> </TD>
+<TD class="confluenceTd"> no </TD>
+<TD class="confluenceTd"> Redirect all requests to the Second Level Domain to www </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> http/www.example.com.80 </TD>
+<TD class="confluenceTd"> /example </TD>
+<TD class="confluenceTd"> yes </TD>
+<TD class="confluenceTd"> Prefix the URI paths of the requests sent to this domain with the string <TT>/example</TT> </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> http/.+\.example\.com\.80 </TD>
+<TD class="confluenceTd"> <A href="http://www.example.com/" class="external-link" rel="nofollow">http://www.example.com</A> </TD>
+<TD class="confluenceTd"> no </TD>
+<TD class="confluenceTd"> Redirect all requests to sub domains to www. The actual regular expression for the host.port segment is taken from the <TT>sling:match</TT> property. </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> http/localhost\.\d&#42; </TD>
+<TD class="confluenceTd"> /content </TD>
+<TD class="confluenceTd"> yes </TD>
+<TD class="confluenceTd"> Prefix the URI paths with <TT>/content</TT> for requests to localhost, regardless of actual port the request was received on. This entry only applies if the URI path does not start with <TT>/cgi-bin</TT>, <TT>gateway</TT> or <TT>stories</TT> because there are longer match entries. The actual regular expression for the host.port segment is taken from the <TT>sling:match</TT> property. </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> http/localhost\.\d*/cgi-bin </TD>
+<TD class="confluenceTd"> /scripts </TD>
+<TD class="confluenceTd"> yes </TD>
+<TD class="confluenceTd"> Replace the <TT>/cgi-bin</TT> prefix in the URI path with <TT>/scripts</TT> for requests to localhost, regardless of actual port the request was received on. </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> http/localhost\.\d*/gateway </TD>
+<TD class="confluenceTd"> <A href="http://gbiv.com/" class="external-link" rel="nofollow">http://gbiv.com</A> </TD>
+<TD class="confluenceTd"> yes </TD>
+<TD class="confluenceTd"> Replace the <TT>/gateway</TT> prefix in the URI path with <TT><A href="http://gbiv.com/" class="external-link" rel="nofollow">http://gbiv.com</A></TT> for requests to localhost, regardless of actual port the request was received on. </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> http/localhost\.\d*/(stories) </TD>
+<TD class="confluenceTd"> /anecdotes/stories </TD>
+<TD class="confluenceTd"> yes </TD>
+<TD class="confluenceTd"> Prepend the URI paths starting with <TT>/stories</TT> with <TT>/anecdotes</TT> for requests to localhost, regardless of actual port the request was received on. </TD>
+</TR>
+</TBODY></TABLE>
+</DIV>
+
+
+<H3><A name="MappingsforResourceResolution-RegularExpressionmatching"></A>Regular Expression matching</H3>
+
+<P>As said above the mapping entries are regular expressions which are matched against path. As such these regular expressions may also contain capturing groups as shown in the example above: <TT>http/localhost\.\d*/(stories)</TT>. After matching the path against the regular expression, the replacement pattern is applied which allows references back to the capturing groups.</P>
+
+<P>To illustrate the matching and replacement is applied according to the following pseudo code:</P>
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-java">
+<SPAN class="code-object">String</SPAN> path = request.getScheme + <SPAN class="code-quote">&quot;/&quot;</SPAN> + request.getServerName() + <SPAN class="code-quote">&quot;.&quot;</SPAN> + request.getServerPort() + <SPAN class="code-quote">&quot;/&quot;</SPAN> + request.getPathInfo();
+<SPAN class="code-object">String</SPAN> result = <SPAN class="code-keyword">null</SPAN>;
+<SPAN class="code-keyword">for</SPAN> (MapEntry entry: mapEntries) {
+    Matcher matcher = entry.pattern.matcher(path);
+    <SPAN class="code-keyword">if</SPAN> (matcher.find()) {
+        <SPAN class="code-object">StringBuffer</SPAN> buf = <SPAN class="code-keyword">new</SPAN> <SPAN class="code-object">StringBuffer</SPAN>();
+        matcher.appendReplacement(buf, entry.getRedirect());
+        matcher.appendTail(buf);
+        result = buf.toString();
+        <SPAN class="code-keyword">break</SPAN>;
+    }
+}
+</PRE>
+</DIV></DIV>
+<P>At the end of the loop, <TT>result</TT> contains the mapped path or <TT>null</TT> if no entry matches the request <TT>path</TT>.</P>
+
+<P><B>NOTE:</B> Since the entries in the <TT>/etc/map</TT> are also used to reverse map any resource paths to URLs, using regular expressions in the Root Level Mappings prevent the respective entries from being used for reverse mappings. Therefor, it is strongly recommended to not use regular expression matching, unless you have a strong need.</P>
+
+<H3><A name="MappingsforResourceResolution-RedirectionValues"></A>Redirection Values</H3>
+
+<P>The result of matching the request path and getting the redirection is either a path into the resource tree or another URL. If the result is an URL, it is converted into a path again and matched against the mapping entries. This may be taking place repeatedly until an absolute or relative path into the resource tree results.</P>
+
+<P>The following pseudo code summarizes this behaviour:</P>
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-java">
+<SPAN class="code-object">String</SPAN> path = ....;
+<SPAN class="code-object">String</SPAN> result = path;
+<SPAN class="code-keyword">do</SPAN> {
+    result = applyMapEntries(result);
+} <SPAN class="code-keyword">while</SPAN> (isURL(result));
+</PRE>
+</DIV></DIV>
+<P>As soon as the result of applying the map entries is an absolute or relative path (or no more map entries match), Root Level Mapping terminates and the next step in resource resolution, resource tree access, takes place.</P>
+
+<H2><A name="MappingsforResourceResolution-ResourceTreeAccess"></A>Resource Tree Access</H2>
+
+<P>The result of Root Level Mapping is an absolute or relative path to a resource. If the path is relative &ndash; e.g. <TT>myproject/docroot/sample.gif</TT> &ndash; the resource resolver search path (<TT>ResourceResolver.getSearchPath()</TT> is used to build absolute paths and resolve the resource. In this case the first resource found is used. If the result of Root Level Mapping is an absolute path, the path is used as is.</P>
+
+<P>Accessing the resource tree after applying the Root Level Mappings has four options:</P>
+<UL>
+	<LI>Check whether the path addresses a so called Star Resource. A Star Resource is a resource whose path ends with or contains <TT>/&#42;</TT>. Such resources are used by the <TT>SlingPostServlet</TT> to create new content below an existing resource. If the path after Root Level Mapping is absolute, it is made absolute by prepending the first search path entry.</LI>
+	<LI>Check whether the path exists in the repository. if the path is absolute, it is tried directly. Otherwise the search path entries are prepended  to the path until a resource is found or the search path is exhausted without finding a resource.</LI>
+	<LI>Drill down the resource tree starting from the root, optionally using the search path until a resource is found.</LI>
+	<LI>If no resource can be resolved, a Missing Resource is returned.</LI>
+</UL>
+
+
+<H3><A name="MappingsforResourceResolution-DrillingDowntheResourceTree"></A>Drilling Down the Resource Tree</H3>
+
+<P>Drilling down the resource tree starts at the root and for each segment in the path checks whether a child resource of the given name exists or not. If not, a child resource is looked up, which has a <TT>sling:alias</TT> property whose value matches the given name. If neither exists, the search is terminated and the resource cannot be resolved.</P>
+
+<P>The following pseudo code shows this algorithm assuming the path is absolute:</P>
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-java">
+<SPAN class="code-object">String</SPAN> path = ...; <SPAN class="code-comment">// the absolute path
+</SPAN>Resource current = getResource(<SPAN class="code-quote">&quot;/&quot;</SPAN>);
+<SPAN class="code-object">String</SPAN>[] segments = path.split(<SPAN class="code-quote">&quot;/&quot;</SPAN>);
+<SPAN class="code-keyword">for</SPAN> (<SPAN class="code-object">String</SPAN> segment: segments) {
+    Resource child = getResource(current, segment);
+    <SPAN class="code-keyword">if</SPAN> (child == <SPAN class="code-keyword">null</SPAN>) {
+        Iterator&lt;Resource&gt; children = listChildren(current);
+        current = <SPAN class="code-keyword">null</SPAN>;
+        <SPAN class="code-keyword">while</SPAN> (children.hasNext()) {
+            child = children.next();
+            <SPAN class="code-keyword">if</SPAN> (segment.equals(getSlingAlias(child))) {
+                current = child;
+                <SPAN class="code-keyword">break</SPAN>;
+            }
+        }
+        <SPAN class="code-keyword">if</SPAN> (current == <SPAN class="code-keyword">null</SPAN>) {
+            <SPAN class="code-comment">// fail
+</SPAN>            <SPAN class="code-keyword">break</SPAN>;
+        }
+    } <SPAN class="code-keyword">else</SPAN> {
+        current = child;
+    }
+}
+</PRE>
+</DIV></DIV>
+        <DIV class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
+Last modified by jck on 2010-08-24 07:36:00.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/mappings-for-resource-resolution.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sling/site/trunk/content/site/mappings-for-resource-resolution.html
------------------------------------------------------------------------------
    svn:keywords = Id

Propchange: sling/site/trunk/content/site/mappings-for-resource-resolution.html
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sling/site/trunk/content/site/maven-archetypes.html
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/maven-archetypes.html?rev=1420577&view=auto
==============================================================================
--- sling/site/trunk/content/site/maven-archetypes.html (added)
+++ sling/site/trunk/content/site/maven-archetypes.html Wed Dec 12 09:13:50 2012
@@ -0,0 +1,94 @@
+
+<!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 - Maven Archetypes</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="development.html" title="Development">Development</A>&nbsp;&gt;&nbsp;<A href="" title="Maven Archetypes">Maven Archetypes</A>
+        </DIV>
+<P>Sling includes four Maven archetypes to quick start development. See <A href="http://maven.apache.org/archetype/maven-archetype-plugin/" class="external-link" rel="nofollow">http://maven.apache.org/archetype/maven-archetype-plugin/</A> for general information on using Maven archetypes. The Maven groupId for all Sling archetypes is <TT>org.apache.sling</TT>.</P>
+
+<H3><A name="MavenArchetypes-slinglaunchpadstandalonearchetype"></A>sling-launchpad-standalone-archetype</H3>
+
+<P>This archetype generates a Maven project which will build a standalone Launchpad JAR file using the default bundle set. For demonstration purposes, the generated project includes an extra bundle list file (<TT>src/main/bundles/list</TT>) which includes Apache Felix FileInstall as well as a test configuration file (<TT>src/test/config/sling.properties</TT>).</P>
+
+<H3><A name="MavenArchetypes-slinglaunchpadwebapparchetype"></A>sling-launchpad-webapp-archetype</H3>
+
+<P>This archetype generates a Maven project which will build a Launchpad WAR file using the default bundle set. For demonstration purposes, the generated project includes an extra bundle list file (<TT>src/main/bundles/list</TT>) which includes Apache Felix FileInstall as well as a test configuration file (<TT>src/test/config/sling.properties</TT>).</P>
+
+<H3><A name="MavenArchetypes-slingintitialcontentarchetype"></A>sling-intitial-content-archetype</H3>
+
+<P>This archetype generates a Maven project which will build an OSGi bundle that supports JCR NodeType registration (in <TT>SLING-INF/nodetypes/nodetypes.cnd</TT>) and initial content loading (in <TT>SLING-INF/scripts</TT> and <TT>SLING-INF/content</TT>).</P>
+
+<H3><A name="MavenArchetypes-slingservletarchetype"></A>sling-servlet-archetype</H3>
+
+<P>This archetype generates a Maven project which will build an OSGi bundle containing two Servlets registered with Sling, one registered by path and one registered by resource type.</P>
+
+<H3><A name="MavenArchetypes-slingbundlearchetype"></A>sling-bundle-archetype</H3>
+
+<P>This archetype generates a Maven project which will build a basic OSGi bundle including support for the Felix SCR Annotations. It is pre-configured to install using the Felix Web Console when the profile <TT>autoInstallBundle</TT> is activated.</P>
+
+
+<H3><A name="MavenArchetypes-slingjcrinstallbundlearchetype"></A>sling-jcrinstall-bundle-archetype</H3>
+
+<P>This archetype generates a Maven project which will build a basic OSGi bundle including support for the Felix SCR Annotations. It is pre-configured to install using a WebDAV PUT into the JCR when the profile <TT>autoInstallBundle</TT> is activated.</P>
+        <DIV class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
+Last modified by justinedelson on 2011-11-28 09:46:44.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/maven-archetypes.html
------------------------------------------------------------------------------
    svn:eol-style = native

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

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

Added: sling/site/trunk/content/site/maven-launchpad-plugin.html
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/maven-launchpad-plugin.html?rev=1420577&view=auto
==============================================================================
--- sling/site/trunk/content/site/maven-launchpad-plugin.html (added)
+++ sling/site/trunk/content/site/maven-launchpad-plugin.html Wed Dec 12 09:13:50 2012
@@ -0,0 +1,270 @@
+
+<!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 - Maven Launchpad Plugin</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="development.html" title="Development">Development</A>&nbsp;&gt;&nbsp;<A href="" title="Maven Launchpad Plugin">Maven Launchpad Plugin</A>
+        </DIV>
+<H1><A name="MavenLaunchpadPlugin-MavenLaunchpadPlugin"></A>Maven Launchpad Plugin</H1>
+
+<P>The Maven Launchpad Plugin provides goals which facilitate the creation of OSGi applications. It supports the following runtime scenarios:</P>
+<UL>
+	<LI>A WAR file suitable for running in a JavaEE servlet container.</LI>
+	<LI>A standalone Java application, with HTTP support from the Felix HttpService implementation</LI>
+	<LI>Inside Apache Karaf</LI>
+</UL>
+
+
+<P>In addition, the Maven Launchpad Plugin supports the publishing of an application descriptor, in the form of a <B>bundle list</B>, as a Maven artifact. This descriptor can then be used by downstream application builders as the basis for other applications. In Sling, this is embodied by two Maven projects:</P>
+<UL>
+	<LI><A href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/builder" class="external-link" rel="nofollow">org.apache.sling.launchpad</A> - produces an application descriptor.</LI>
+	<LI><A href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/builder/testing" class="external-link" rel="nofollow">org.apache.sling.launchpad.testing</A> - uses the application descriptor from <TT>org.apache.sling.launchpad</TT> and adds two bundles.</LI>
+</UL>
+
+
+<P>Maven Launchpad Plugin provides the following goals: </P>
+<DIV class="table-wrap">
+<TABLE class="confluenceTable"><TBODY>
+<TR>
+<TH class="confluenceTh"> Goals </TH>
+<TH class="confluenceTh"> Description </TH>
+</TR>
+<TR>
+<TD class="confluenceTd"> launchpad:prepare-package </TD>
+<TD class="confluenceTd"> Create the file system structure required by Sling's Launchpad framework. </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> launchpad:attach-bundle-list </TD>
+<TD class="confluenceTd"> Attach the bundle list descriptor to the current project as a Maven artifact. </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> launchpad:create-karaf-descriptor </TD>
+<TD class="confluenceTd"> Create an Apache Karaf Feature descriptor. </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> launchpad:create-bundle-jar </TD>
+<TD class="confluenceTd"> Create a JAR file containing the bundles in a Launchpad-structured JAR file. </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> launchpad:check-bundle-list-for-snapshots </TD>
+<TD class="confluenceTd"> Validate that the bundle list does not contain any SNAPSHOT versions. </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> launchpad:run </TD>
+<TD class="confluenceTd"> Run a Launchpad application. </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> launchpad:start </TD>
+<TD class="confluenceTd"> Start a Launchpad application. </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> launchpad:stop </TD>
+<TD class="confluenceTd"> Stop a Launchpad application. </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> launchpad:output-bundle-list </TD>
+<TD class="confluenceTd"> Output the bundle list to the console as XML. (added in version 2.0.8) </TD>
+</TR>
+</TBODY></TABLE>
+</DIV>
+
+
+<H3><A name="MavenLaunchpadPlugin-GeneralConfiguration"></A>General Configuration</H3>
+
+<P>In general, the bulk of the configuration of the Maven Launchpad Plugin is concerned with setting up the bundle list which all of the goals will use. This bundle list is created using the following steps:</P>
+<OL>
+	<LI>If <TT>includeDefaultBundles</TT> is <TT>true</TT> (the default), the default bundle list is loaded. By default, this is <TT>org.apache.sling.launchpad:org.apache.sling.launchpad:RELEASE:xml:bundlelist</TT>, but can be overridden by setting the <TT>defaultBundleList</TT> plugin parameter.</LI>
+	<LI>If <TT>includeDefaultBundles</TT> is <TT>false</TT>, an empty list is created.</LI>
+	<LI>If the bundle list file exists (by default, at <TT>src/main/bundles/list.xml</TT>), the bundles defined in it are added to the bundle list.</LI>
+	<LI>If the <TT>additionalBundles</TT> plugin parameter is defined, those bundles are added to the bundle list.</LI>
+	<LI>If the <TT>bundleExclusions</TT> plugin parameter is defined, those bundles are removed from the bundle list.</LI>
+</OL>
+
+
+<P>When a bundle is added to the bundle list, if a bundle with the same groupId, artifactId, type, and classifier is already in the bundle list, the version of the existing bundle is modified. However, the start level of a bundle is never changed once that bundle is added to the bundle list.</P>
+
+<P>The plugin may also contribute bundles to (or remove bundles from) the bundle list as it sees fit.</P>
+
+<H3><A name="MavenLaunchpadPlugin-FrameworkConfiguration"></A>Framework Configuration</H3>
+
+<P>For the <TT>run</TT> and <TT>start</TT> goals, the plugin will look for a file named <TT>src/test/config/sling.properties</TT>. If this file is present, it will be filtered using standard Maven filtering and used to populate the OSGi framework properties. This can be used, for example, to specify a <TT>repository.xml</TT> file to be used during development:</P>
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-java">
+sling.repository.config.file.url=${basedir}/src/test/config/repository.xml
+</PRE>
+</DIV></DIV>
+
+<H2><A name="MavenLaunchpadPlugin-BundleListFiles"></A>Bundle List Files</H2>
+
+<P>The bundle list file uses a simple XML syntax representing a list of bundles organized into start levels:</P>
+
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-xml">
+<SPAN class="code-tag">&lt;?xml version=<SPAN class="code-quote">&quot;1.0&quot;</SPAN>?&gt;</SPAN>
+<SPAN class="code-tag">&lt;bundles&gt;</SPAN>
+    <SPAN class="code-tag">&lt;startLevel level=<SPAN class="code-quote">&quot;0&quot;</SPAN>&gt;</SPAN>
+        <SPAN class="code-tag">&lt;bundle&gt;</SPAN>
+            <SPAN class="code-tag">&lt;groupId&gt;</SPAN>commons-io<SPAN class="code-tag">&lt;/groupId&gt;</SPAN>
+            <SPAN class="code-tag">&lt;artifactId&gt;</SPAN>commons-io<SPAN class="code-tag">&lt;/artifactId&gt;</SPAN>
+            <SPAN class="code-tag">&lt;version&gt;</SPAN>1.4<SPAN class="code-tag">&lt;/version&gt;</SPAN>
+        <SPAN class="code-tag">&lt;/bundle&gt;</SPAN>
+        <SPAN class="code-tag">&lt;bundle&gt;</SPAN>
+            <SPAN class="code-tag">&lt;groupId&gt;</SPAN>commons-collections<SPAN class="code-tag">&lt;/groupId&gt;</SPAN>
+            <SPAN class="code-tag">&lt;artifactId&gt;</SPAN>commons-collections<SPAN class="code-tag">&lt;/artifactId&gt;</SPAN>
+            <SPAN class="code-tag">&lt;version&gt;</SPAN>3.2.1<SPAN class="code-tag">&lt;/version&gt;</SPAN>
+        <SPAN class="code-tag">&lt;/bundle&gt;</SPAN>
+    <SPAN class="code-tag">&lt;/startLevel&gt;</SPAN>
+
+    <SPAN class="code-tag">&lt;startLevel level=<SPAN class="code-quote">&quot;10&quot;</SPAN>&gt;</SPAN>
+        <SPAN class="code-tag">&lt;bundle&gt;</SPAN>
+            <SPAN class="code-tag">&lt;groupId&gt;</SPAN>org.apache.felix<SPAN class="code-tag">&lt;/groupId&gt;</SPAN>
+            <SPAN class="code-tag">&lt;artifactId&gt;</SPAN>org.apache.felix.eventadmin<SPAN class="code-tag">&lt;/artifactId&gt;</SPAN>
+            <SPAN class="code-tag">&lt;version&gt;</SPAN>1.0.0<SPAN class="code-tag">&lt;/version&gt;</SPAN>
+        <SPAN class="code-tag">&lt;/bundle&gt;</SPAN>
+    <SPAN class="code-tag">&lt;/startLevel&gt;</SPAN>
+
+    <SPAN class="code-tag">&lt;startLevel level=<SPAN class="code-quote">&quot;15&quot;</SPAN>&gt;</SPAN>
+        <SPAN class="code-tag">&lt;bundle&gt;</SPAN>
+            <SPAN class="code-tag">&lt;groupId&gt;</SPAN>org.apache.sling<SPAN class="code-tag">&lt;/groupId&gt;</SPAN>
+            <SPAN class="code-tag">&lt;artifactId&gt;</SPAN>org.apache.sling.jcr.api<SPAN class="code-tag">&lt;/artifactId&gt;</SPAN>
+            <SPAN class="code-tag">&lt;version&gt;</SPAN>2.0.2-incubator<SPAN class="code-tag">&lt;/version&gt;</SPAN>
+        <SPAN class="code-tag">&lt;/bundle&gt;</SPAN>
+    <SPAN class="code-tag">&lt;/startLevel&gt;</SPAN>
+<SPAN class="code-tag">&lt;/bundles&gt;</SPAN>
+</PRE>
+</DIV></DIV>
+
+<P>Within each <TT>bundle</TT> element, <TT>type</TT> and <TT>classifier</TT> are also supported.</P>
+
+<H2><A name="MavenLaunchpadPlugin-ArtifactDefinition"></A>Artifact Definition</H2>
+
+<P>The <TT>defaultBundleList</TT>, <TT>jarWebSupport</TT>, <TT>additionalBundles</TT>, and <TT>bundleExclusions</TT> parameters are configured with artifact definitions. This is done using a syntax similar to Maven dependency elements:</P>
+
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-xml">
+<SPAN class="code-tag">&lt;configuration&gt;</SPAN>
+...
+  <SPAN class="code-tag">&lt;jarWebSupport&gt;</SPAN>
+    <SPAN class="code-tag">&lt;groupId&gt;</SPAN>GROUP_ID<SPAN class="code-tag">&lt;/groupId&gt;</SPAN>
+    <SPAN class="code-tag">&lt;artifactId&gt;</SPAN>ARTIFACT_ID<SPAN class="code-tag">&lt;/artifactId&gt;</SPAN>
+    <SPAN class="code-tag">&lt;version&gt;</SPAN>VERSION<SPAN class="code-tag">&lt;/version&gt;</SPAN>
+    <SPAN class="code-tag"><SPAN class="code-comment">&lt;!-- type and classifier can also be specified if needed --&gt;</SPAN></SPAN>
+  <SPAN class="code-tag">&lt;/jarWebSupport&gt;</SPAN>
+...
+<SPAN class="code-tag">&lt;/configuration&gt;</SPAN>
+</PRE>
+</DIV></DIV>
+
+<P>For example, to use Pax Web instead of Felix HttpService as the HttpService provider, use the following:</P>
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-xml">
+<SPAN class="code-tag">&lt;configuration&gt;</SPAN>
+...
+  <SPAN class="code-tag">&lt;jarWebSupport&gt;</SPAN>
+    <SPAN class="code-tag">&lt;groupId&gt;</SPAN>org.ops4j.pax.web<SPAN class="code-tag">&lt;/groupId&gt;</SPAN>
+    <SPAN class="code-tag">&lt;artifactId&gt;</SPAN>pax-web-service<SPAN class="code-tag">&lt;/artifactId&gt;</SPAN>
+    <SPAN class="code-tag">&lt;version&gt;</SPAN>RELEASE<SPAN class="code-tag">&lt;/version&gt;</SPAN>
+    <SPAN class="code-tag"><SPAN class="code-comment">&lt;!-- type and classifier can also be specified if needed --&gt;</SPAN></SPAN>
+  <SPAN class="code-tag">&lt;/jarWebSupport&gt;</SPAN>
+...
+<SPAN class="code-tag">&lt;/configuration&gt;</SPAN>
+</PRE>
+</DIV></DIV>
+
+<P>In the case of <TT>additionalBundles</TT> and <TT>bundleExclusions</TT>, these are arrays of definitions, so an intermediate <TT>bundle</TT> element is necessary:</P>
+
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-xml">
+<SPAN class="code-tag">&lt;configuration&gt;</SPAN>
+...
+  <SPAN class="code-tag">&lt;additionalBundles&gt;</SPAN>
+    <SPAN class="code-tag">&lt;bundle&gt;</SPAN>
+      <SPAN class="code-tag">&lt;groupId&gt;</SPAN>GROUP_ID<SPAN class="code-tag">&lt;/groupId&gt;</SPAN>
+      <SPAN class="code-tag">&lt;artifactId&gt;</SPAN>ARTIFACT_ID<SPAN class="code-tag">&lt;/artifactId&gt;</SPAN>
+      <SPAN class="code-tag">&lt;version&gt;</SPAN>VERSION<SPAN class="code-tag">&lt;/version&gt;</SPAN>
+      <SPAN class="code-tag"><SPAN class="code-comment">&lt;!-- type and classifier can also be specified if needed --&gt;</SPAN></SPAN>
+    <SPAN class="code-tag">&lt;/bundle&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/additionalBundles&gt;</SPAN>
+...
+<SPAN class="code-tag">&lt;/configuration&gt;</SPAN>
+</PRE>
+</DIV></DIV>
+
+<P>By default, bundles are added to start level 0. To change, this use the <TT>startLevel</TT> element within each additional bundle definition.</P>
+
+<H2><A name="MavenLaunchpadPlugin-IntegrationTesting"></A>Integration Testing</H2>
+
+<P>For integration testing examples, see <TT>/samples/inplace-integration-test</TT> and <TT>launchpad/testing</TT> in the Sling source tree.</P>
+
+<H2><A name="MavenLaunchpadPlugin-BundleListRewriting"></A>Bundle List Rewriting</H2>
+
+<P>The Maven Launchpad Plugin supports the use of rules to rewrite the bundle list. These rules are executed by the <A href="http://www.jboss.org/drools" class="external-link" rel="nofollow">Drools</A> rule engine. Typically, this is used along with Maven profiles. For example, Sling's testing project includes a profile called <TT>test-reactor-sling-bundles</TT>. When activated, this profile runs a Drools rule file which scans the project list from the Maven reactor and modifies the version number for bundles which were contained within the reactor.</P>
+
+<P>In order for rules to interact with the Maven build, the following global variables are made available:</P>
+
+<UL>
+	<LI><TT>mavenSession</TT> - an instance of <TT>org.apache.maven.execution.MavenSession</TT>.</LI>
+	<LI><TT>mavenProject</TT> - an instance of <TT>org.apache.maven.project.MavenProject</TT>.</LI>
+</UL>
+
+        <DIV class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
+Last modified by justinedelson on 2010-10-13 16:00:29.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/maven-launchpad-plugin.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sling/site/trunk/content/site/maven-launchpad-plugin.html
------------------------------------------------------------------------------
    svn:keywords = Id

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

Added: sling/site/trunk/content/site/maventipsandtricks.html
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/maventipsandtricks.html?rev=1420577&view=auto
==============================================================================
--- sling/site/trunk/content/site/maventipsandtricks.html (added)
+++ sling/site/trunk/content/site/maventipsandtricks.html Wed Dec 12 09:13:50 2012
@@ -0,0 +1,124 @@
+
+<!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 - MavenTipsAndTricks</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="development.html" title="Development">Development</A>&nbsp;&gt;&nbsp;<A href="" title="MavenTipsAndTricks">MavenTipsAndTricks</A>
+        </DIV>
+<P>Here's our collection of tips and tricks for building Sling with <A href="http://maven.apache.org/" class="external-link" rel="nofollow">Maven</A>.</P>
+
+<H1><A name="MavenTipsAndTricks-Mavenlocalrepository"></A>Maven local repository</H1>
+
+<P>The first time you run a Maven build, or when Maven needs additional build components, it downloads plugins and dependencies under its <EM>local repository</EM> folder on your computer. By default, this folder is named <EM>.m2/repository</EM> in your home directory.</P>
+
+<P>Maven uses this repository as a cache for artifacts that it might need for future builds, which means that the first Sling build usually takes much longer than usual, as Maven needs to download many tools and dependencies into its local repository while the build progresses.</P>
+
+<P>The build might fail if one of those downloads fails, in that case it might be worth retrying the build, to check if that was just a temporary connection problem, or if there's a more serious error.</P>
+
+<P>In some cases, the local Maven repository might get corrupted - if your build fails on a computer and works on another one, clearing the local repository before restarting the build might be worth trying.</P>
+
+<H1><A name="MavenTipsAndTricks-Mavensettings"></A>Maven settings</H1>
+
+<H2><A name="MavenTipsAndTricks-Ignoreyourlocalsettings"></A>Ignore your local settings</H2>
+<P>To make sure you're getting the same results as we are when building Sling, it is recommend to ignore any local settings.</P>
+
+<P>On unixish platforms, using</P>
+
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>mvn -s /dev/null ...
+</PRE>
+</DIV></DIV>
+
+<P>does the trick.</P>
+
+<DIV class="panelMacro"><TABLE class="noteMacro"><COLGROUP><COL width="24"><COL></COLGROUP><TR><TD valign="top"><IMG src="https://cwiki.apache.org/confluence/images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></TD><TD>Does anyone have a similar command-line option that works under Windows?</TD></TR></TABLE></DIV>
+
+<H1><A name="MavenTipsAndTricks-"></A></H1>
+<H1><A name="MavenTipsAndTricks-MAVENOPTS"></A>MAVEN_OPTS</H1>
+<P>The MAVEN_OPTS environment variable defines options for the JVM that executes Maven.</P>
+
+<P>Set it according to your platform, i.e. <TT>export MAVEN_OPTS=...</TT> on unixish systems or <TT>set MAVEN_OPTS=...</TT> on Windows.</P>
+
+<H2><A name="MavenTipsAndTricks-IncreaseJVMmemoryifneeded"></A>Increase JVM memory if needed</H2>
+<P>If getting an OutOfMemoryException when running mvn, try setting</P>
+
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>MAVEN_OPTS=&quot;-Xmx256M -XX:MaxPermSize=256m&quot;
+</PRE>
+</DIV></DIV>
+
+<P>to allocate 256MB of RAM to Maven.</P>
+
+<H2><A name="MavenTipsAndTricks-DebuggingcodelaunchedbyMaven"></A>Debugging code launched by Maven</H2>
+<P>To run the Sling launchpad webapp in debug mode from Maven, for example, use something like</P>
+
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>MAVEN_OPTS=&quot;-agentlib:jdwp=transport=dt_socket,address=30303,server=y,suspend=n&quot;
+</PRE>
+</DIV></DIV>
+
+<P>And then connect to port 30303 with a remote JVM debugger (most IDEs do this).</P>
+
+<H2><A name="MavenTipsAndTricks-AvoidspacesinMavenrepositoryandworkspacepaths"></A>Avoid spaces in Maven repository and workspace paths</H2>
+<P>Some Maven plugins do not like spaces in paths. It is better to avoid putting your Maven repository, or your code, under paths like <EM>Documents and Settings</EM>, for example.</P>
+        <DIV class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
+Last modified by fmeschbe on 2011-06-02 09:54:47.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/maventipsandtricks.html
------------------------------------------------------------------------------
    svn:eol-style = native

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

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

Added: sling/site/trunk/content/site/media.data/apache.png
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/media.data/apache.png?rev=1420577&view=auto
==============================================================================
Binary file - no diff available.

Propchange: sling/site/trunk/content/site/media.data/apache.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: sling/site/trunk/content/site/media.data/apache.png.jpeg
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/media.data/apache.png.jpeg?rev=1420577&view=auto
==============================================================================
Binary file - no diff available.

Propchange: sling/site/trunk/content/site/media.data/apache.png.jpeg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: sling/site/trunk/content/site/media.data/favicon.ico
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/media.data/favicon.ico?rev=1420577&view=auto
==============================================================================
Binary file - no diff available.

Propchange: sling/site/trunk/content/site/media.data/favicon.ico
------------------------------------------------------------------------------
    svn:mime-type = image/x-icon

Added: sling/site/trunk/content/site/media.data/gradient.png
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/media.data/gradient.png?rev=1420577&view=auto
==============================================================================
Binary file - no diff available.

Propchange: sling/site/trunk/content/site/media.data/gradient.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: sling/site/trunk/content/site/media.data/gradient.png.jpeg
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/media.data/gradient.png.jpeg?rev=1420577&view=auto
==============================================================================
Binary file - no diff available.

Propchange: sling/site/trunk/content/site/media.data/gradient.png.jpeg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: sling/site/trunk/content/site/media.data/logo.png
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/media.data/logo.png?rev=1420577&view=auto
==============================================================================
Binary file - no diff available.

Propchange: sling/site/trunk/content/site/media.data/logo.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: sling/site/trunk/content/site/media.data/logo.png.jpeg
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/media.data/logo.png.jpeg?rev=1420577&view=auto
==============================================================================
Binary file - no diff available.

Propchange: sling/site/trunk/content/site/media.data/logo.png.jpeg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: sling/site/trunk/content/site/media.data/site.css
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/media.data/site.css?rev=1420577&view=auto
==============================================================================
--- sling/site/trunk/content/site/media.data/site.css (added)
+++ sling/site/trunk/content/site/media.data/site.css Wed Dec 12 09:13:50 2012
@@ -0,0 +1,230 @@
+/* @override http://sling.apache.org/site/media.data/site.css */
+
+body {
+    background-color: #ffffff;
+    color: #3b3b3b;
+    font-family: Tahoma, Arial, sans-serif;
+    font-size: 10pt;
+    line-height: 140%
+}
+
+h1,h2,h3,h4,h5,h6 {
+    font-weight: normal;
+    color: #000000;
+    line-height: 100%;
+}
+
+h1 {
+    font-size: 200%
+}
+
+h2 {
+    font-size: 175%
+}
+
+h3 {
+    font-size: 150%
+}
+
+h4 {
+    font-size: 140%
+}
+
+h5 {
+    font-size: 130%
+}
+
+h6 {
+    font-size: 120%
+}
+
+a {
+    color: #1980af
+}
+
+a:visited {
+    color: #1980af
+}
+
+a:hover {
+    color: #1faae9
+}
+
+.title {
+    position: absolute;
+    left: 1px;
+    right: 1px;
+    top: 25px;
+    height: 81px;
+    background:
+        url(http://incubator.apache.org/sling/site/media.data/gradient.png)
+        repeat-x;
+    background-position: bottom;
+}
+
+.logo {
+    position: absolute;
+    width: 15em;
+    height: 81px;
+    text-align: center;
+}
+
+.header {
+    text-align: right;
+    margin-right: 20pt;
+}
+
+.menu {
+    border-top: 10px solid #f9bb00;
+    position: absolute;
+    top: 107px;
+    left: 1px;
+    width: 15em;
+    bottom: 0px;
+    padding: 0px;
+    background-color: #fcfcfc
+}
+
+.menu ul,.menu p {
+    background-color: #fdf5d9;
+    list-style: none;
+    padding-left: 4em;
+    margin-top: 0px;
+    padding-top: 2em;
+    padding-bottom: 2em;
+    margin-left: 0px;
+    color: #4a4a43
+}
+
+.menu p {
+    font-size: 90%;
+    margin: 0px;
+    padding: 1px;
+    padding-left: 1em;
+}
+
+.menu a {
+    text-decoration: none;
+    color: #4a4a43
+}
+
+.main {
+    position: absolute;
+    border-top: 10px solid #cde0ea;
+    top: 107px;
+    left: 15em;
+    right: 1px;
+    margin-left: 2px;
+    padding-right: 4em;
+    padding-left: 1em;
+    padding-top: 1em;
+}
+
+.code {
+    color: black;
+    background-color: #eeeeee;
+    border: solid 1px black;
+    margin-top: 0.5em;
+    margin-bottom: 0.5em;
+}
+
+.codeHeader {
+    text-align: center;
+    font-family: monospace;
+    border-bottom: 1px solid black;
+    padding-top: 0.5em;
+    padding-bottom: 0.5em;
+    margin-bottom: 0.5em;
+}
+
+.codeContent {
+    padding: 0.5em
+}
+
+.codeContent pre {
+    margin: 0em
+}
+
+.code-keyword {
+    color: #880000
+}
+
+.code-quote {
+    color: #008800
+}
+
+.code-object {
+    color: #0000dd
+}
+
+.code-java {
+    margin: 0em
+}
+
+.preformatted {
+    color: black;
+    background-color: #eeeeee;
+    border: solid 1px black;
+    padding: 0.5em
+}
+
+.preformattedContent pre {
+    margin: 0em
+}
+
+table.confluenceTable {
+    border-collapse: collapse;
+    margin: 5px;
+}
+
+table.confluenceTable th.confluenceTh {
+    background-color: #FDF5D9;
+    border: 1px solid #CCCCCC;
+    padding: 3px 4px;
+    text-align: center;
+}
+
+table.confluenceTable td.confluenceTd {
+    border: 1px solid #CCCCCC;
+    padding: 3px 4px;
+}
+
+.infoMacro {
+    background-color: #D8E4F1;
+    border: 1px solid #3C78B5;
+}
+
+.noteMacro {
+    background-color: #FFFFCE;
+    border: 1px solid #F0C000;
+}
+
+.tipMacro {
+    background-color: #DDFFDD;
+    border: 1px solid #009900;
+}
+
+.warningMacro {
+    background-color: #FFCCCC;
+    border: 1px solid #CC0000;
+}
+
+/** Breadcrump at the top of each page */
+.breadcrump {
+    font-size: 80%;
+}
+
+/** Last modification information at the botton of each page */
+.timestamp {
+    margin-top: 30px;
+    font-size: 80%;
+    text-align: right;
+}
+
+/** Trademark text at the bottom of each page */
+.trademarkFooter {
+    font-size: 80%;
+    font-style: italic;
+    margin-top: 10px;
+    text-align: left;
+}
\ No newline at end of file

Propchange: sling/site/trunk/content/site/media.data/site.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sling/site/trunk/content/site/media.data/site.css
------------------------------------------------------------------------------
    svn:keywords = Id

Propchange: sling/site/trunk/content/site/media.data/site.css
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sling/site/trunk/content/site/media.html
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/media.html?rev=1420577&view=auto
==============================================================================
--- sling/site/trunk/content/site/media.html (added)
+++ sling/site/trunk/content/site/media.html Wed Dec 12 09:13:50 2012
@@ -0,0 +1,279 @@
+
+<!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 - Media</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="Media">Media</A>
+        </DIV>
+<P>This page holds all media required for the Apache Sling website. The media are attachments and can be addressed using the following URL: <A href="http://cwiki.apache.org/SLINGxSITE/media.data/" class="external-link" rel="nofollow">http://cwiki.apache.org/SLINGxSITE/media.data/</A> (followed by the actual name of the attachment).</P>
+
+<P>Currently, some of these attachments are used by the overall site template (only visible/editable by Confluence administrators).</P>
+
+
+
+    
+
+<DIV class="plugin_attachments_container">
+    <DIV class="plugin_attachments_table_container">
+        <FIELDSET class="hidden">
+            <INPUT type="hidden" class="plugin_attachments_macro_render_param" name="pageId" value="76189">
+            <INPUT type="hidden" name="deleteConfirmMessage" value="Are you sure you want to remove the attached file {0}?">
+            <INPUT type="hidden" name="i18n-notpermitted" value="You are not permitted to perform this operation.">
+                                                    <INPUT type="hidden" name="outputType" value="display">
+        </FIELDSET>
+                    <FIELDSET class="hidden parameters">
+    <INPUT type="hidden" id="removeAttachmentWarning" value="Are you sure you want to remove the attached file {0}?">
+</FIELDSET>
+
+<TABLE class="tableview attachments">
+    <TR>
+                <TH class="filename-column">            <A href="">Name</A>
+    </TH>
+        <TH>            <A href="">Size</A>
+    </TH>
+        <TH>Creator</TH>
+        <TH>            <A href="">Creation Date</A>
+    </TH>
+        <TH class="comment">Comment</TH>
+                    <TH>&nbsp;</TH>
+            </TR>
+
+    
+    
+                
+        
+                <TR id="attachment-5765">
+                                <TD class="filename-column">
+                
+<SPAN class="icon icon-file-image" title="PNG" file="">PNG File</SPAN>                <A class="filename" href="media.data/logo.png" title="logo.png" data-filename="logo.png">
+                    logo.png
+                </A>
+            </TD>
+            <TD class="attachment-size">6 kB</TD>
+            <TD><A href="https://cwiki.apache.org/confluence/users/viewuserprofile.action?username=fmeschbe" class="url fn confluence-userlink" data-username="fmeschbe">Felix Meschberger</A></TD>
+            <TD>Feb 11, 2008 05:45</TD>
+            <TD class="comment">
+                                    &nbsp;
+                            </TD>
+                        <TD class="attachment-actions">
+                                                <UL>
+                                            <LI class="first">
+    
+        
+    
+    <A href="https://cwiki.apache.org/confluence/pages/editattachment.action?pageId=$page.id&fileName=logo.png" class="editAttachmentLink" title="">
+                   <SPAN>Properties</SPAN></A>        </LI>
+                                            <LI class="">
+    
+        
+    
+    <A href="https://cwiki.apache.org/confluence/pages/removeattachment.action?pageId=$page.id&fileName=logo.png&version=1" class="removeAttachmentLink" title="">
+                   <SPAN>Remove</SPAN></A>        </LI>
+                                    </UL>
+                            </TD>
+                    </TR>
+
+            
+                
+        
+                <TR id="attachment-5766">
+                                <TD class="filename-column">
+                
+<SPAN class="icon icon-file-unknown" title="File">File</SPAN>                <A class="filename" href="media.data/favicon.ico" title="favicon.ico" data-filename="favicon.ico">
+                    favicon.ico
+                </A>
+            </TD>
+            <TD class="attachment-size">1 kB</TD>
+            <TD><A href="https://cwiki.apache.org/confluence/users/viewuserprofile.action?username=fmeschbe" class="url fn confluence-userlink" data-username="fmeschbe">Felix Meschberger</A></TD>
+            <TD>Feb 11, 2008 05:46</TD>
+            <TD class="comment">
+                                    &nbsp;
+                            </TD>
+                        <TD class="attachment-actions">
+                                                <UL>
+                                            <LI class="first">
+    
+        
+    
+    <A href="https://cwiki.apache.org/confluence/pages/editattachment.action?pageId=$page.id&fileName=favicon.ico" class="editAttachmentLink" title="">
+                   <SPAN>Properties</SPAN></A>        </LI>
+                                            <LI class="">
+    
+        
+    
+    <A href="https://cwiki.apache.org/confluence/pages/removeattachment.action?pageId=$page.id&fileName=favicon.ico&version=1" class="removeAttachmentLink" title="">
+                   <SPAN>Remove</SPAN></A>        </LI>
+                                    </UL>
+                            </TD>
+                    </TR>
+
+            
+                
+        
+                <TR id="attachment-5767">
+                                <TD class="filename-column">
+                
+<SPAN class="icon icon-file-image" title="PNG" file="">PNG File</SPAN>                <A class="filename" href="media.data/gradient.png" title="gradient.png" data-filename="gradient.png">
+                    gradient.png
+                </A>
+            </TD>
+            <TD class="attachment-size">4 kB</TD>
+            <TD><A href="https://cwiki.apache.org/confluence/users/viewuserprofile.action?username=fmeschbe" class="url fn confluence-userlink" data-username="fmeschbe">Felix Meschberger</A></TD>
+            <TD>Feb 11, 2008 05:46</TD>
+            <TD class="comment">
+                                    &nbsp;
+                            </TD>
+                        <TD class="attachment-actions">
+                                                <UL>
+                                            <LI class="first">
+    
+        
+    
+    <A href="https://cwiki.apache.org/confluence/pages/editattachment.action?pageId=$page.id&fileName=gradient.png" class="editAttachmentLink" title="">
+                   <SPAN>Properties</SPAN></A>        </LI>
+                                            <LI class="">
+    
+        
+    
+    <A href="https://cwiki.apache.org/confluence/pages/removeattachment.action?pageId=$page.id&fileName=gradient.png&version=1" class="removeAttachmentLink" title="">
+                   <SPAN>Remove</SPAN></A>        </LI>
+                                    </UL>
+                            </TD>
+                    </TR>
+
+            
+                
+        
+                <TR id="attachment-20873258">
+                                <TD class="filename-column">
+                
+<SPAN class="icon icon-file-image" title="PNG" file="">PNG File</SPAN>                <A class="filename" href="media.data/apache.png" title="apache.png" data-filename="apache.png">
+                    apache.png
+                </A>
+            </TD>
+            <TD class="attachment-size">12 kB</TD>
+            <TD><A href="https://cwiki.apache.org/confluence/users/viewuserprofile.action?username=fmeschbe" class="url fn confluence-userlink" data-username="fmeschbe">Felix Meschberger</A></TD>
+            <TD>May 02, 2010 03:31</TD>
+            <TD class="comment">
+                                    &nbsp;
+                            </TD>
+                        <TD class="attachment-actions">
+                                                <UL>
+                                            <LI class="first">
+    
+        
+    
+    <A href="https://cwiki.apache.org/confluence/pages/editattachment.action?pageId=$page.id&fileName=apache.png" class="editAttachmentLink" title="">
+                   <SPAN>Properties</SPAN></A>        </LI>
+                                            <LI class="">
+    
+        
+    
+    <A href="https://cwiki.apache.org/confluence/pages/removeattachment.action?pageId=$page.id&fileName=apache.png&version=1" class="removeAttachmentLink" title="">
+                   <SPAN>Remove</SPAN></A>        </LI>
+                                    </UL>
+                            </TD>
+                    </TR>
+
+            
+                
+        
+                <TR id="attachment-24346634">
+                                <TD class="filename-column">
+                
+<SPAN class="icon icon-file-unknown" title="File">File</SPAN>                <A class="filename" href="media.data/site.css" title="site.css" data-filename="site.css">
+                    site.css
+                </A>
+            </TD>
+            <TD class="attachment-size">3 kB</TD>
+            <TD><A href="https://cwiki.apache.org/confluence/users/viewuserprofile.action?username=fmeschbe" class="url fn confluence-userlink" data-username="fmeschbe">Felix Meschberger</A></TD>
+            <TD>Oct 16, 2010 15:25</TD>
+            <TD class="comment">
+                                    &nbsp;
+                            </TD>
+                        <TD class="attachment-actions">
+                                                <UL>
+                                            <LI class="first">
+    
+        
+    
+    <A href="https://cwiki.apache.org/confluence/pages/editattachment.action?pageId=$page.id&fileName=site.css" class="editAttachmentLink" title="">
+                   <SPAN>Properties</SPAN></A>        </LI>
+                                            <LI class="">
+    
+        
+    
+    <A href="https://cwiki.apache.org/confluence/pages/removeattachment.action?pageId=$page.id&fileName=site.css&version=1" class="removeAttachmentLink" title="">
+                   <SPAN>Remove</SPAN></A>        </LI>
+                                    </UL>
+                            </TD>
+                    </TR>
+
+            </TABLE>            </DIV>
+
+    <DIV class="plugin_attachments_upload_container">
+            </DIV>
+</DIV>
+
+
+        <DIV class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
+Last modified by fmeschbe on 2008-02-11 06:21:38.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/media.html
------------------------------------------------------------------------------
    svn:eol-style = native

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

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

Added: sling/site/trunk/content/site/mime-type-support-commonsmime.data/mimetypes.png
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/mime-type-support-commonsmime.data/mimetypes.png?rev=1420577&view=auto
==============================================================================
Binary file - no diff available.

Propchange: sling/site/trunk/content/site/mime-type-support-commonsmime.data/mimetypes.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: sling/site/trunk/content/site/mime-type-support-commonsmime.data/mimetypes.png.jpeg
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/site/mime-type-support-commonsmime.data/mimetypes.png.jpeg?rev=1420577&view=auto
==============================================================================
Binary file - no diff available.

Propchange: sling/site/trunk/content/site/mime-type-support-commonsmime.data/mimetypes.png.jpeg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



Mime
View raw message