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/14 09:54:10 UTC
svn commit: r982715 - in /websites/staging/sling/trunk/content: ./
documentation/development/ide-tooling.html
documentation/development/ide-tooling/server-definition.png
news/sling-ide-tooling-1.1-released.html
Author: buildbot
Date: Mon Mar 14 08:54:10 2016
New Revision: 982715
Log:
Staging update by buildbot for sling
Modified:
websites/staging/sling/trunk/content/ (props changed)
websites/staging/sling/trunk/content/documentation/development/ide-tooling.html
websites/staging/sling/trunk/content/documentation/development/ide-tooling/server-definition.png
websites/staging/sling/trunk/content/news/sling-ide-tooling-1.1-released.html
Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Mar 14 08:54:10 2016
@@ -1 +1 @@
-1734889
+1734892
Modified: websites/staging/sling/trunk/content/documentation/development/ide-tooling.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/development/ide-tooling.html (original)
+++ websites/staging/sling/trunk/content/documentation/development/ide-tooling.html Mon Mar 14 08:54:10 2016
@@ -170,6 +170,32 @@ h2:hover > .headerlink, h3:hover > .head
<p>Once you press finish, the project will be created and deployed to the server if needed.</p>
<p>Note that deploying a project on the server publishes all the resources from the project if the server is started. If the server is stopped, you need to manually publish the changes after startup.</p>
<h3 id="converting-existing-projects">Converting existing projects<a class="headerlink" href="#converting-existing-projects" title="Permanent link">¶</a></h3>
+<h4 id="automatic-conversion">Automatic conversion<a class="headerlink" href="#automatic-conversion" title="Permanent link">¶</a></h4>
+<p>Maven projects configured using the <code>com.day.jcr.vault:content-package-maven-plugin</code> are now automatically configured as content projects, removing the need to manually add the needed facets after importing them into Eclipse for the first time.</p>
+<p>The following pom properties can be used to tweak how the project is configured</p>
+<table class="table">
+<thead>
+<tr>
+<th>Property name</th>
+<th>Effect</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td><code>sling.ide.m2e.contentpackage.active</code></td>
+<td>When set to <code>false</code>, the configuration is disabled</td>
+</tr>
+<tr>
+<td><code>sling.ide.m2e.contentpackage.javaFacetVersion</code></td>
+<td>Controls the version of the Java Facet which is added to the project, e.g. <code>8</code></td>
+</tr>
+<tr>
+<td><code>sling.ide.m2e.contentpackage.webFacetVersion</code></td>
+<td>Controls the version of the Web Facet which is added to the project, e.g. <code>3.0</code></td>
+</tr>
+</tbody>
+</table>
+<h4 id="manual-conversion">Manual conversion<a class="headerlink" href="#manual-conversion" title="Permanent link">¶</a></h4>
<p>To mark a project as being a Sling content module, click it in the Project Explorer and Select Configure -> Convert to Sling Content Project... . A dialog will pop up and will ask you to confirm the inferred location of the jcr_root directory. You can also change this from the project properties, the Sling page.</p>
<h3 id="content-navigator">Content navigator<a class="headerlink" href="#content-navigator" title="Permanent link">¶</a></h3>
<p>In the Project Explorer view there is an additional 'jcr_root' contribution to the project. It is denoted by a folder icon with a small web overlay. This contribution provides a logical view over the repository content, taking into account JCR metadata. As such, .content.xml files will be folded into the corresponding node.</p>
@@ -222,6 +248,21 @@ h2:hover > .headerlink, h3:hover > .head
<li>Declarative Services descriptors</li>
</ul>
<p>One often-occuring situation is that a Maven project using the maven-scr-plugin generates the descriptors outside of target/classes, typically in target/scr-plugin-generated. To fix this, make sure that you're using the maven-scr-plugin 1.15.0 or newer and that you have not set a custom outputDirectory.</p>
+<h2 id="sightly-support">Sightly support<a class="headerlink" href="#sightly-support" title="Permanent link">¶</a></h2>
+<p><em>Available with Sling IDE Tooling for Eclipse 1.1 or newer</em></p>
+<p>Sightly support has been added through an additional, optional, feature named <em>Sling IDE Tools - Sightly Integration</em>.</p>
+<p>This feature provides the following enhancements:</p>
+<ul>
+<li>auto-completion of tag named and attributes names in the HTML Editor</li>
+<li>wizards for creating new Sightly scripts and Use Classes ( Java and Javascript )</li>
+<li>Sightly-aware validation for HTML files</li>
+</ul>
+<p><img alt="Sightly Editor" src="../documentation/development/ide-tooling/sightly-editor.png" /></p>
+<p>These enhancements are enabled once the Sightly facet is added to a project. This is done automatically when converting a project to content project, but can also be done manually via the project properties, under the <em>Project Facets</em> page.</p>
+<h2 id="debugging">Debugging<a class="headerlink" href="#debugging" title="Permanent link">¶</a></h2>
+<p>When first connecting to a Sling instance in debug mode, the IDE tooling tries to bind all the sources associated with the bundles deployed on the server and retrieves the associated source artifacts using Maven. Therefore, the debug classpath is as close as possible to sources used to build the bundles deployed on the server.</p>
+<p><img alt="Debugging" src="../documentation/development/ide-tooling/debug.png" /></p>
+<p>Since a first source bundle resolution can potentially take a long time, this behaviour can be disabled from the server configuration page.</p>
<h2 id="known-issues">Known issues<a class="headerlink" href="#known-issues" title="Permanent link">¶</a></h2>
<p>The content sync implementation tries to mimic the FileVault semantics as closely as possible. However, it is possible that some more exotic content structures will not be handled properly. Some of the problems we're are of are:</p>
<ul>
@@ -229,7 +270,7 @@ h2:hover > .headerlink, h3:hover > .head
<li><a href="https://issues.apache.org/jira/browse/SLING-3644">SLING-3644 - Improve handling of binary properties outside nt:file file nodes</a> . Currently there is no workaround, but in practice this is not an often-encountered situation.</li>
</ul>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1714784 by stefanegli on Tue, 17 Nov 2015 13:53:40 +0000
+ Rev. 1734892 by rombert on Mon, 14 Mar 2016 08:54:00 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
Modified: websites/staging/sling/trunk/content/documentation/development/ide-tooling/server-definition.png
==============================================================================
Binary files - no diff available.
Modified: websites/staging/sling/trunk/content/news/sling-ide-tooling-1.1-released.html
==============================================================================
--- websites/staging/sling/trunk/content/news/sling-ide-tooling-1.1-released.html (original)
+++ websites/staging/sling/trunk/content/news/sling-ide-tooling-1.1-released.html Mon Mar 14 08:54:10 2016
@@ -127,8 +127,8 @@ h2:hover > .headerlink, h3:hover > .head
<p>These enhancements are enabled once the Sightly facet is added to a project. This is done automatically when converting a project to content project, but can also be done manually via the project properties, under the <em>Project Facets</em> page.</p>
<h1 id="automatic-configuration-of-debug-classpath-based-on-the-bundles-deployed-on-the-server">Automatic configuration of debug classpath based on the bundles deployed on the server<a class="headerlink" href="#automatic-configuration-of-debug-classpath-based-on-the-bundles-deployed-on-the-server" title="Permanent link">¶</a></h1>
<p>When first connecting to a Sling instance, the IDE tooling tries to bind all the sources associated with the bundles deployed on the server and retrieves the associated source artifacts using Maven. Therefore, the debug classpath is as close as possible to sources used to build the bundles deployed on the server.</p>
-<p>Since a first source bundle resolution can potentially take a long time, this behaviour can be disabled from the server configuration page.</p>
<p><img alt="Debugging" src="../documentation/development/ide-tooling/debug.png" /></p>
+<p>Since a first source bundle resolution can potentially take a long time, this behaviour can be disabled from the server configuration page.</p>
<h1 id="maven-configurator-for-content-package-projects">Maven configurator for content-package projects<a class="headerlink" href="#maven-configurator-for-content-package-projects" title="Permanent link">¶</a></h1>
<p>Maven projects configured using the <code>com.day.jcr.vault:content-package-maven-plugin</code> are now automatically configured as content projects, removing the need to manually add the needed facets after importing them into Eclipse for the first time.</p>
<h1 id="other-minor-improvements">Other minor improvements<a class="headerlink" href="#other-minor-improvements" title="Permanent link">¶</a></h1>
@@ -138,7 +138,7 @@ h2:hover > .headerlink, h3:hover > .head
<li>When connecting to a server, all support bundles are automatically installed</li>
</ul>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1734889 by rombert on Mon, 14 Mar 2016 08:43:11 +0000
+ Rev. 1734892 by rombert on Mon, 14 Mar 2016 08:54:00 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project