You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2018/01/21 20:19:32 UTC

[sling-site] branch master updated (3f3f44d -> baa1b85)

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git.


    from 3f3f44d  release Sling (Parent) 33
     new a1290c8  Start work on IDE Tooling 1.2 release notes
     new 6b1023d  Ensure that includes/Git does not choke on untracked files
     new 3907732  Finish release notes for the Sling IDE Tooling 1.2 release
     new baa1b85  Final touches to Sling IDE Tooling 1.2.0 release notes and documentation page

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../ide-tooling/content-navigator-warnings.png     | Bin 0 -> 24242 bytes
 .../content-navigator-xml-validation.png           | Bin 0 -> 17116 bytes
 .../ide-tooling/content-sync-exclusions.png        | Bin 0 -> 20864 bytes
 .../maven-configurators-preferences.png            | Bin 0 -> 23080 bytes
 .../documentation/development/ide-tooling.md       |  18 +++++++-
 .../content/news/sling-ide-tooling-12-released.md  |  49 +++++++++++++++++++++
 src/main/jbake/templates/includes/Git.groovy       |   8 +++-
 7 files changed, 73 insertions(+), 2 deletions(-)
 create mode 100644 src/main/jbake/assets/documentation/development/ide-tooling/content-navigator-warnings.png
 create mode 100644 src/main/jbake/assets/documentation/development/ide-tooling/content-navigator-xml-validation.png
 create mode 100644 src/main/jbake/assets/documentation/development/ide-tooling/content-sync-exclusions.png
 create mode 100644 src/main/jbake/assets/documentation/development/ide-tooling/maven-configurators-preferences.png
 create mode 100644 src/main/jbake/content/news/sling-ide-tooling-12-released.md

-- 
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <co...@sling.apache.org>'].

[sling-site] 02/04: Ensure that includes/Git does not choke on untracked files

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git

commit 6b1023d3bc9e95a8b3e5863afe12dcf021623d36
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Sat Jan 20 11:32:16 2018 +0200

    Ensure that includes/Git does not choke on untracked files
---
 src/main/jbake/templates/includes/Git.groovy | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/main/jbake/templates/includes/Git.groovy b/src/main/jbake/templates/includes/Git.groovy
index 9a703fb..3916331 100644
--- a/src/main/jbake/templates/includes/Git.groovy
+++ b/src/main/jbake/templates/includes/Git.groovy
@@ -8,6 +8,12 @@ class Git {
     	def gitCmd = 'git log -1 --format=%h####%ad####%an####%s ' + filename
     	def defaultText = "0####0000####<MISSING>####<MISSING>"
         def gitInfo = includes.OS.exec(gitCmd, defaultText).split("####")
+        // For untracked files the command does not return anything
+        // After committing this will work, but otherwise it produces
+        // cryptic errors, so best avoid it
+        if ( gitInfo.length != 4 ) {
+            gitInfo = defaultText.split("####")
+        } 
     	return [
     		lastCommit : gitInfo[0],
     		date : gitInfo[1],
@@ -15,4 +21,4 @@ class Git {
     		comment : gitInfo[3]
     	]
     }
-}
\ No newline at end of file
+}

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-site] 01/04: Start work on IDE Tooling 1.2 release notes

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git

commit a1290c89f9f057160979c2cf9b8e80bffb4d80bf
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Sat Jan 20 11:32:06 2018 +0200

    Start work on IDE Tooling 1.2 release notes
---
 .../development/ide-tooling/slingstart-project.png | Bin 0 -> 15476 bytes
 .../content/news/sling-ide-tooling-12-released.md  |  24 +++++++++++++++++++++
 2 files changed, 24 insertions(+)

diff --git a/src/main/jbake/assets/documentation/development/ide-tooling/slingstart-project.png b/src/main/jbake/assets/documentation/development/ide-tooling/slingstart-project.png
new file mode 100644
index 0000000..560f85a
Binary files /dev/null and b/src/main/jbake/assets/documentation/development/ide-tooling/slingstart-project.png differ
diff --git a/src/main/jbake/content/news/sling-ide-tooling-12-released.md b/src/main/jbake/content/news/sling-ide-tooling-12-released.md
new file mode 100644
index 0000000..1f0d683
--- /dev/null
+++ b/src/main/jbake/content/news/sling-ide-tooling-12-released.md
@@ -0,0 +1,24 @@
+title=Apache Sling IDE Tooling 1.2 released		
+type=page
+status=published
+tags=ide,eclipse
+~~~~~~
+
+Here are some of the more noteworthy things available in this release.
+
+# Content navigator decorates resources with error and warning markers
+
+Content projects using _slingstart_ packaging now have a custom contribtion
+that makes provisioning model files easier to access.
+
+![Slingstart Project](/documentation/development/ide-tooling/slingstart-project.png)
+
+# Support for the bnd-maven-plugin
+
+# Allow disabling WTP natures/facets for content projects
+
+# XML Validator enabled for content projects
+
+# Support for the new Jackrabbit content-package-plugin
+
+# Custom contribution for provisioning model feature files

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-site] 04/04: Final touches to Sling IDE Tooling 1.2.0 release notes and documentation page

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git

commit baa1b855540fdd958e5c24c77098a1144a5c293e
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Sun Jan 21 22:10:43 2018 +0200

    Final touches to Sling IDE Tooling 1.2.0 release notes and documentation page
---
 .../ide-tooling/content-sync-exclusions.png           | Bin 0 -> 20864 bytes
 .../content/documentation/development/ide-tooling.md  |  18 +++++++++++++++++-
 .../content/news/sling-ide-tooling-12-released.md     |  13 +++++++------
 3 files changed, 24 insertions(+), 7 deletions(-)

diff --git a/src/main/jbake/assets/documentation/development/ide-tooling/content-sync-exclusions.png b/src/main/jbake/assets/documentation/development/ide-tooling/content-sync-exclusions.png
new file mode 100644
index 0000000..54dc226
Binary files /dev/null and b/src/main/jbake/assets/documentation/development/ide-tooling/content-sync-exclusions.png differ
diff --git a/src/main/jbake/content/documentation/development/ide-tooling.md b/src/main/jbake/content/documentation/development/ide-tooling.md
index b0e98cc..ac4577d 100644
--- a/src/main/jbake/content/documentation/development/ide-tooling.md
+++ b/src/main/jbake/content/documentation/development/ide-tooling.md
@@ -98,7 +98,9 @@ Note that deploying a project on the server publishes all the resources from the
 
 #### Automatic conversion
 
-Maven projects configured using the `com.day.jcr.vault:content-package-maven-plugin` 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.
+_Support for the filevault-package-maven-plugin is available with Sling IDE Tooling for Eclipse 1.2 or newer_
+
+Maven projects configured using the `com.day.jcr.vault:content-package-maven-plugin` or the `org.apache.jackrabbit:filevault-package-maven-plugin` 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.
 
 The following pom properties can be used to tweak how the project is configured
 
@@ -108,6 +110,12 @@ The following pom properties can be used to tweak how the project is configured
 | `sling.ide.m2e.contentpackage.javaFacetVersion` | Controls the version of the Java Facet which is added to the project, e.g. `8` |
 | `sling.ide.m2e.contentpackage.webFacetVersion` | Controls the version of the Web Facet which is added to the project, e.g. `3.0` |
 
+_Available with Sling IDE Tooling for Eclipse 1.2 or newer_
+
+Additionally, automatic conversion and the addition of WTP natures and facets can be disabled from the _Sling IDE_ → _Maven Project Configurators_ preferences page.
+
+![Maven Project Configurator preferences](ide-tooling/maven-configurators-preferences.png)
+
 #### Manual conversion
 
 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.
@@ -146,6 +154,14 @@ The import wizard is available under the Sling -> Import Content ... action.
 
 ![Repository import](ide-tooling/repository-import.png)
 
+### Excluding paths from the sync process
+
+_Available with Sling IDE Tooling for Eclipse 1.2 or newer_
+
+The _Sling IDE_ preferences page allows you to manage a global list of files names which will not be synchronized.
+
+![Content sync exclusions](ide-tooling/content-sync-exclusions.png)
+
 ## Bundle sync
 
 The only requirement for bundle projects is that they are Java projects which generate an exploded OSGi bundle in their output directory. That requires at least a valid OSGi Manifest located in META-INF/MANIFEST.MF, but typically one of more Java classes. Other auxiliary files, such as Declarative Service descriptors, must also be placed under the project's output directory.
diff --git a/src/main/jbake/content/news/sling-ide-tooling-12-released.md b/src/main/jbake/content/news/sling-ide-tooling-12-released.md
index 9186336..4dfd570 100644
--- a/src/main/jbake/content/news/sling-ide-tooling-12-released.md
+++ b/src/main/jbake/content/news/sling-ide-tooling-12-released.md
@@ -4,7 +4,9 @@ status=published
 tags=ide,eclipse
 ~~~~~~
 
-Here are some of the more noteworthy things available in this release.
+This page contains information about the new features in the Sling IDE Tooling 1.2.0 release. For
+a full overview of the features and installation instructions, please see the 
+[Sling IDE Tooling](/documentation/development/ide-tooling.html) documentation page.
 
 # Custom contribution for provisioning model feature files
 
@@ -31,18 +33,17 @@ The Maven project configurators for content bundle projects can now be enabled a
 workspace level. Additionally, only the additional WTP natures and facets can be disabled for content
 projects.
 
-The preferences can be accesed via _Preferences_ → _Sling IDE_ → _Maven Project Configurator_.
+The preferences can be accesed via _Sling IDE_ → _Maven Project Configurator_ preference page.
 
-![Maven Project Configuratir preferences](/documentation/development/ide-tooling/maven-configurators-preferences.png)
+![Maven Project Configurator preferences](/documentation/development/ide-tooling/maven-configurators-preferences.png)
 
 # Support for the bnd-maven-plugin
 
 Projects configured usign the `bnd-maven-plugin` are now properly configured as bundle projects. Previously
 only the `maven-bundle-plugin` was supported.
 
-# Support for the new Jackrabbit content-package-plugin
+# Support for the new Jackrabbit filevault-package-maven-plugin
 
-Projects configured using the `content-package-plugin` from Apache Jackrabbit are now properly configured as
+Projects configured using the `filevault-package-maven-plugin` from Apache Jackrabbit are now properly configured as
 content projects. Previously only the `content-package-maven-plugin`
 
-For more information, see the [Sling IDE Tooling for Eclipse documentation page](/documentation/development/ide-tooling.html).

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-site] 03/04: Finish release notes for the Sling IDE Tooling 1.2 release

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git

commit 39077321b5d2e55fe456ed5668c9ed67104b6dd8
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Sun Jan 21 21:55:15 2018 +0200

    Finish release notes for the Sling IDE Tooling 1.2 release
---
 .../ide-tooling/content-navigator-warnings.png     | Bin 0 -> 24242 bytes
 .../content-navigator-xml-validation.png           | Bin 0 -> 17116 bytes
 .../maven-configurators-preferences.png            | Bin 0 -> 23080 bytes
 .../development/ide-tooling/slingstart-project.png | Bin 15476 -> 0 bytes
 .../content/news/sling-ide-tooling-12-released.md  |  40 ++++++++++++++++-----
 5 files changed, 32 insertions(+), 8 deletions(-)

diff --git a/src/main/jbake/assets/documentation/development/ide-tooling/content-navigator-warnings.png b/src/main/jbake/assets/documentation/development/ide-tooling/content-navigator-warnings.png
new file mode 100644
index 0000000..68556a2
Binary files /dev/null and b/src/main/jbake/assets/documentation/development/ide-tooling/content-navigator-warnings.png differ
diff --git a/src/main/jbake/assets/documentation/development/ide-tooling/content-navigator-xml-validation.png b/src/main/jbake/assets/documentation/development/ide-tooling/content-navigator-xml-validation.png
new file mode 100644
index 0000000..4bf6527
Binary files /dev/null and b/src/main/jbake/assets/documentation/development/ide-tooling/content-navigator-xml-validation.png differ
diff --git a/src/main/jbake/assets/documentation/development/ide-tooling/maven-configurators-preferences.png b/src/main/jbake/assets/documentation/development/ide-tooling/maven-configurators-preferences.png
new file mode 100644
index 0000000..f0ff34f
Binary files /dev/null and b/src/main/jbake/assets/documentation/development/ide-tooling/maven-configurators-preferences.png differ
diff --git a/src/main/jbake/assets/documentation/development/ide-tooling/slingstart-project.png b/src/main/jbake/assets/documentation/development/ide-tooling/slingstart-project.png
deleted file mode 100644
index 560f85a..0000000
Binary files a/src/main/jbake/assets/documentation/development/ide-tooling/slingstart-project.png and /dev/null differ
diff --git a/src/main/jbake/content/news/sling-ide-tooling-12-released.md b/src/main/jbake/content/news/sling-ide-tooling-12-released.md
index 1f0d683..9186336 100644
--- a/src/main/jbake/content/news/sling-ide-tooling-12-released.md
+++ b/src/main/jbake/content/news/sling-ide-tooling-12-released.md
@@ -1,4 +1,4 @@
-title=Apache Sling IDE Tooling 1.2 released		
+title=Apache Sling IDE Tooling 1.2 released
 type=page
 status=published
 tags=ide,eclipse
@@ -6,19 +6,43 @@ tags=ide,eclipse
 
 Here are some of the more noteworthy things available in this release.
 
-# Content navigator decorates resources with error and warning markers
+# Custom contribution for provisioning model feature files
 
-Content projects using _slingstart_ packaging now have a custom contribtion
+Content projects using _slingstart_ packaging now have a custom contribution
 that makes provisioning model files easier to access.
 
-![Slingstart Project](/documentation/development/ide-tooling/slingstart-project.png)
+![Slingstart Project](/documentation/development/ide-tooling/launchpad-models-directory.png)
 
-# Support for the bnd-maven-plugin
+# Enhanced error reporting for content projects
+
+The content navigator now shows warnings and error markers, making it easier
+to spot problems.
+
+![Content navigator warnings](/documentation/development/ide-tooling/content-navigator-warnings.png)
+
+Additionally, XML files are now checked using a validator aware for FileVault serialization
+semantics, which means validation can be enabled without triggering false errors.
+
+![Content navigator XML validation](/documentation/development/ide-tooling/content-navigator-xml-validation.png)
+
+# More fine-grained control over the Maven project configurators
 
-# Allow disabling WTP natures/facets for content projects
+The Maven project configurators for content bundle projects can now be enabled and disabled at the
+workspace level. Additionally, only the additional WTP natures and facets can be disabled for content
+projects.
 
-# XML Validator enabled for content projects
+The preferences can be accesed via _Preferences_ → _Sling IDE_ → _Maven Project Configurator_.
+
+![Maven Project Configuratir preferences](/documentation/development/ide-tooling/maven-configurators-preferences.png)
+
+# Support for the bnd-maven-plugin
+
+Projects configured usign the `bnd-maven-plugin` are now properly configured as bundle projects. Previously
+only the `maven-bundle-plugin` was supported.
 
 # Support for the new Jackrabbit content-package-plugin
 
-# Custom contribution for provisioning model feature files
+Projects configured using the `content-package-plugin` from Apache Jackrabbit are now properly configured as
+content projects. Previously only the `content-package-maven-plugin`
+
+For more information, see the [Sling IDE Tooling for Eclipse documentation page](/documentation/development/ide-tooling.html).

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.