You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bu...@apache.org on 2016/03/02 13:49:29 UTC

svn commit: r981648 - in /websites/staging/sling/trunk/content: ./ documentation/development/sling.html

Author: buildbot
Date: Wed Mar  2 12:49:28 2016
New Revision: 981648

Log:
Staging update by buildbot for sling

Modified:
    websites/staging/sling/trunk/content/   (props changed)
    websites/staging/sling/trunk/content/documentation/development/sling.html

Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Mar  2 12:49:28 2016
@@ -1 +1 @@
-1733273
+1733274

Modified: websites/staging/sling/trunk/content/documentation/development/sling.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/development/sling.html (original)
+++ websites/staging/sling/trunk/content/documentation/development/sling.html Wed Mar  2 12:49:28 2016
@@ -344,19 +344,19 @@ h2:hover > .headerlink, h3:hover > .head
 <td><code>bundleFileName</code></td>
 <td><code>${project.build.directory}/${project.build.finalName}.jar</code></td>
 <td><code>sling.file</code></td>
-<td>The path and name of the file to be installed</td>
+<td>The path and name of the file to be installed. Only applies when POSTing to Felix Web Console.</td>
 </tr>
 <tr>
 <td><code>bundleStart</code></td>
 <td><code>true</code></td>
 <td><code>sling.bundle.start</code></td>
-<td>Whether to start the bundle after installing it. If the bundle is just updated, this parameter is ignored even if the bundle is currently stopped</td>
+<td>Whether to start the bundle after installing it. If the bundle is just updated, this parameter is ignored even if the bundle is currently stopped. Only applies when POSTing to Felix Web Console.</td>
 </tr>
 <tr>
 <td><code>bundleStartLevel</code></td>
 <td><code>20</code></td>
 <td><code>sling.bundle.startlevel</code></td>
-<td>The start level to set on the installed bundle. If the bundle is already installed and therefore is only updated this parameter is ignored. The parameter is also ignored if the running Sling instance has no StartLevel service (which is unusual actually)</td>
+<td>The start level to set on the installed bundle. If the bundle is already installed and therefore is only updated this parameter is ignored. The parameter is also ignored if the running Sling instance has no StartLevel service (which is unusual actually). Only applies when POSTing to Felix Web Console.</td>
 </tr>
 <tr>
 <td><code>slingUrl</code></td>
@@ -389,6 +389,12 @@ h2:hover > .headerlink, h3:hover > .head
 <td>Only available since version 2.1.8 (see also <a href="https://issues.apache.org/jira/browse/SLING-5335">SLING-5335</a>). <br>Allowed values:<br><strong>WebConsole</strong>, uses the <a href="http://felix.apache.org/documentation/subprojects/apache-felix-web-console/web-console-restful-api.html#post-requests">Felix Web Console REST API</a> for deployment (HTTP POST). This is the default. Make sure that <code>slingUrl</code> points to the Felix Web Console in that case.<br><strong>WebDAV</strong>, uses <a href="/documentation/development/repository-based-development.html">WebDAV</a> for deployment (HTTP PUT). Make sure that <code>slingUrl</code> points to the entry path of the Sling WebDAV bundle (usually below regular Sling root URL). Issues an HTTP Delete for the uninstall goal.<br><strong>SlingPostServlet</strong>, uses the <a href="/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html">Sling Post Servlet</a> for deployment (HTTP POST). Make sure t
 hat <code>slingUrl</code> points a path which is handled by the Sling POST Servlet (usually below regular Sling root URL).</td>
 </tr>
 <tr>
+<td><code>mimeType</code></td>
+<td><code>application/java-archive</code></td>
+<td><code>sling.mimeType</code></td>
+<td>The content type / mime type used for WebDAV or Sling POST deployment.</td>
+</tr>
+<tr>
 <td><code>usePut</code></td>
 <td><code>false</code></td>
 <td><code>sling.usePut</code></td>
@@ -398,7 +404,7 @@ h2:hover > .headerlink, h3:hover > .head
 <td><code>refreshPackages</code></td>
 <td><code>true</code></td>
 <td><code>sling.refreshPackages</code></td>
-<td>Whether to refresh the packages after installing the uploaded bundle. If this property is set to <code>true</code>, the <code>PackageAdmin.refreshPackages(Bundle)</code> method is called after installing or updating the bundle.</td>
+<td>Whether to refresh the packages after installing the uploaded bundle. If this property is set to <code>true</code>, the <code>PackageAdmin.refreshPackages(Bundle)</code> method is called after installing or updating the bundle. Only applies when POSTing to Felix Web Console</td>
 </tr>
 </tbody>
 </table>
@@ -573,7 +579,7 @@ For both other deployment methods, inter
 </tbody>
 </table>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1733273 by kwin on Wed, 2 Mar 2016 12:43:06 +0000
+        Rev. 1733274 by kwin on Wed, 2 Mar 2016 12:49:20 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project