This is an automated email from the ASF dual-hosted git repository.
bdelacretaz pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/sling-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 4502d6c Push unpublished changes
4502d6c is described below
commit 4502d6c5f5d92781690f9a4d6e7e95ebf3797a09
Author: Bertrand Delacretaz <[email protected]>
AuthorDate: Tue Jan 23 14:22:33 2018 +0100
Push unpublished changes
---
documentation/development/testing-paxexam.html | 9 +++------
.../getting-resources-and-properties-in-sling.html | 4 ++--
project-information/project-team.html | 8 +++++++-
3 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/documentation/development/testing-paxexam.html
b/documentation/development/testing-paxexam.html
index 3035bd6..7715fa7 100644
--- a/documentation/development/testing-paxexam.html
+++ b/documentation/development/testing-paxexam.html
@@ -97,7 +97,7 @@
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.testing.paxexam</artifactId>
- <version>0.0.5-SNAPSHOT</version>
+ <version>1.0.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
@@ -177,9 +177,6 @@
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>depends-maven-plugin</artifactId>
<version>1.4.0</version>
- <configuration>
-
<outputFile>${project.build.directory}/test-classes/META-INF/maven/dependencies.properties</outputFile>
- </configuration>
<executions>
<execution>
<goals>
@@ -189,7 +186,7 @@
</executions>
</plugin>
</code></pre>
-<p><strong>NOTE:</strong> <code><version/></code>,
<code><configuration/></code> and <code><executions/></code> are
managed in Sling Parent and can be omitted when using version 33 or higher.</p>
+<p><strong>NOTE:</strong> <code><version/></code> and
<code><executions/></code> are managed in Sling Parent and can be omitted
when using version 33 or higher.</p>
<h3>3. Create a test class and provide a <em>Configuration</em></h3>
<p>Create a test class (extend <code>TestSupport</code> to use helper methods
and <code>Option</code>s) and provide a <em>Configuration</em>
(<code>Option[]</code>) for Pax Exam:</p>
<pre><code>@Configuration
@@ -381,7 +378,7 @@ public class SimpleIT extends FreemarkerTestSupport {
<p>See Pax Exam's <a
href="https://ops4j1.jira.com/wiki/spaces/PAXEXAM4/pages/54263891/Logging+Configuration">Logging
Configuration</a> if logging needs to be tweaked.</p>
<p>For <a href="https://logback.qos.ch">Logback</a> use
<code>SlingOptions#logback()</code> and add both <code>exam.properties</code>
and <code>logback.xml</code> to <code>src/test/resources</code> as described in
Pax Exam's <a
href="https://ops4j1.jira.com/wiki/spaces/PAXEXAM4/pages/54263891/Logging+Configuration">Logging
Configuration</a>.</p></section></div></div>
<div class="footer">
-<div class="revisionInfo">Last modified by <span class="author">Oliver
Lietz</span> on <span class="comment">Thu Jan 4 15:24:08 2018
+0100</span></div> <p>
+<div class="revisionInfo">Last modified by <span class="author">Oliver
Lietz</span> on <span class="comment">Mon Jan 22 14:59:51 2018
+0100</span></div> <p>
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.
</p><p>
Copyright © 2011-2017 The Apache Software Foundation.
diff --git
a/documentation/tutorials-how-tos/getting-resources-and-properties-in-sling.html
b/documentation/tutorials-how-tos/getting-resources-and-properties-in-sling.html
index 7b0d38e..43a300c 100644
---
a/documentation/tutorials-how-tos/getting-resources-and-properties-in-sling.html
+++
b/documentation/tutorials-how-tos/getting-resources-and-properties-in-sling.html
@@ -81,7 +81,7 @@
<div class="row"><div class="small-12 columns"><section class="wrap"><p>The
Resource is one of the central parts of Sling. Extending from JCR's Everything
is Content, Sling assumes Everthing is a Resource. Thus Sling is maintaining a
virtual tree of resources, which is a merger of the actual contents in the JCR
Repository and resources provided by so called resource providers. By doing
this Sling fits very well in the paradigm of the REST architecture.</p>
<p>In this article we will explore a few ways to programmatically map a
resource path (String) to a resource object (Resource) and its properties in
Sling, from within an OSGI service, a servlet and a JSP.</p>
<p>The whole game consists in first getting a <code>ResourceResolver</code>
and then getting the <code>Resource</code> itself.</p>
-<h2><a href="#within-an-osgi-service-compoment"
name="within-an-osgi-service-compoment">Within an OSGI
Service/Compoment</a></h2>
+<h2><a href="#within-an-osgi-service-component"
name="within-an-osgi-service-component">Within an OSGI
Service/Component</a></h2>
<p>You can access a resource through the <code>ResourceResolverFactory</code>
service:</p>
<pre><code><!-- TODO syntax marker (#!java) disabled -->@Reference
private ResourceResolverFactory resolverFactory;
@@ -137,7 +137,7 @@ ValueMap properties = ResourceUtil.getValueMap(res);
</code></pre>
<p>For more details about resources and how to access them in Sling, you can
refer to the <a href="/documentation/the-sling-engine/resources.html">Sling
documentation about Resources</a>.</p></section></div></div>
<div class="footer">
-<div class="revisionInfo">Last modified by <span class="author">Bertrand
Delacretaz</span> on <span class="comment">Fri Sep 29 15:57:01 2017
+0200</span></div> <p>
+<div class="revisionInfo">Last modified by <span class="author">Bertrand
Delacretaz</span> on <span class="comment">Fri Jan 5 15:33:28 2018
+0100</span></div> <p>
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.
</p><p>
Copyright © 2011-2017 The Apache Software Foundation.
diff --git a/project-information/project-team.html
b/project-information/project-team.html
index afd1b1d..dce3735 100644
--- a/project-information/project-team.html
+++ b/project-information/project-team.html
@@ -191,6 +191,12 @@
<td>Java Developer </td>
</tr>
<tr>
+ <td>jeb </td>
+ <td>Jason Bailey </td>
+ <td>SAS Institute </td>
+ <td>Java Developer </td>
+ </tr>
+ <tr>
<td>jckautzmann </td>
<td>Jean-Christophe Kautzmann </td>
<td>Adobe </td>
@@ -383,7 +389,7 @@
<h2><a href="#contributors" name="contributors">Contributors</a></h2>
<p>There are no contributors listed for this
project.</p></section></div></div>
<div class="footer">
-<div class="revisionInfo">Last modified by <span class="author">Andreas
Schaefer</span> on <span class="comment">Fri Jan 19 18:03:59 2018
-0800</span></div> <p>
+<div class="revisionInfo">Last modified by <span class="author">JE
Bailey</span> on <span class="comment">Mon Jan 22 15:45:40 2018
-0500</span></div> <p>
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.
</p><p>
Copyright © 2011-2017 The Apache Software Foundation.
--
To stop receiving notification emails like this one, please contact
[email protected].