Going to talk about Sling IDE Tooling at adaptTo 2014

I’m happy to say that in September I’ll be going back to Berlin for adaptTo 2014 . adaptTo is a conference which gathers developers from the Apache Sling and friends community.

I’m going to talk about the progress that we’ve made the last year with the Sling IDE Tooling and show how quickly you can develop Sling-based applications. Whether you’re working with OSGi bundles, frontend files, backend scripts or unstructured content, we have something to make you more productive.

I hope I’ll see you at adaptTo in Berlin this September.

Leave a Comment

Mylyn-Mantis connector 3.10.0 released

The major reason for this release is compatibility with the newly-released Mylyn 3.10.0 version. Of course, compatibility is retained with older Mylyn versions. Other feature highlights include:

  1. better usage of available space in the query page
  2. more resilience in case of incorrect server-side default values

Comments (9)

Announcing Desktop Notifier for Maven 1.0

We all know that builds are supposed to be fast. Otherwise, we just end up swordfighting. But sometimes the build just takes too long, either because you have an empty ~/.m2/repository, or the integration tests take a lot of time to run, or … . But you get the point.

For this very reason I ( as the saying goes, with a little help from my friends ) built a Maven extension which shows desktop notifications whenever a build is complete. It’s smart enough to notify you at the end of the reactor build for multi-module projects and it distinguishes between success and failure.

The notifier support Linux, OS X and Windows with specific notification senders, with a fallback on the AWT APIs whenever we do not find a preferred sender.

The 1.0 version is available for download in the Github downloads area. To install it, just drop the jar file under lib/ext in your Maven installation.

Leave a Comment

Apache Sling: viewing bundles by start level

When packaging an Apache Sling application it is useful to see the final list of bundles included in your launchpad grouped by their start levels. This is especially true if the bundle list is configured using sensible defaults, for instance using the default bundle list as a start.

When the launchpad is packaged using the maven-bundle-plugin, the bundles are placed grouped by their start level under target/classes/resources/bundles . The ever-useful tree command allows us to inspect this directory ( I’ve removed some of the bundles to make the output easier to understand )

target/classes/resources/bundles/
├── 0
│   ├── org.apache.sling.scripting.jsp-2.0.14.jar
│   ├── org.apache.sling.scripting.jsp.taglib-2.1.0.jar
│   ├── org.apache.sling.servlets.get-2.1.2.jar
│   ├── org.apache.sling.servlets.post-2.1.0.jar
│   ├── org.apache.sling.servlets.resolver-2.1.0.jar
│   └── org.apache.sling.settings-1.0.2.jar
├── 1
│   └── org.apache.sling.commons.log-2.1.2.jar
├── 10
│   ├── org.apache.felix.configadmin-1.2.8.jar
│   ├── org.apache.felix.eventadmin-1.2.10.jar
│   ├── org.apache.felix.metatype-1.0.4.jar
│   └── org.apache.felix.scr-1.6.0.jar
├── 15
│   ├── commons-discovery-0.5.jar
│   ├── derby-10.5.3.0_1.jar
│   ├── guava-12.0.jar
│   ├── jackrabbit-api-2.1.1.jar
│   ├── jackrabbit-jcr-commons-2.1.1.jar
│   ├── jackrabbit-jcr-rmi-2.1.1.jar
│   └── tika-bundle-0.6.jar
└── 5
    ├── org.apache.sling.extensions.threaddump-0.2.0.jar
    ├── org.apache.sling.extensions.webconsolebranding-1.0.0.jar
    ├── org.apache.sling.extensions.webconsolesecurityprovider-1.0.0.jar
    └── org.apache.sling.jcr.webconsole-1.0.0.jar

Although the directories are not ordered numerically – an option which I have not found in my version of the tree command – the output is easy to understand and offers an overview of the start levels and bundles associated with them.

Leave a Comment

Mylyn-Mantis connector 3.9.0 released

The major focus of this release is compatibility with the just-released Eclipse Juno , and implicitly Mylyn 3.8 .

Visual refresh

The query page has been streamlined to have a look which is more consistent with the other Mylyn connectors by using a horizontal layout which scales easier to large numbers of projects or filters.

The people selector fields have been changed from drop-downs to auto-complete fields . This has two major benefits:

  1. When scrolling the editor using the mouse wheel the focus is no longer stolen by the drop-downs
  2. With Mylyn 3.7 or newer, real names are displayed when auto-completing

Other improvements

The support for tags and time tracking has been improved . Also the connector is easier to run in non-OSGi environments.

Leave a Comment

Mylyn-Mantis connector 3.8.0 released

Support for the tags and profile fields

The profile fields – platform, OS and OS Version are now editable. The tags are also available using a custom selection box. Tags are only editable for MantisBT 1.2.9 or newer – not yet released.

HTML preview using WikiText

Rich text fields now use a lightweight WikiText-based renderer rather than the old HtmlText-one, which embedded a browser in the page. The new editor should provide better cross-platform stability and performance.

The rendered is enabled by default for new repositories. To enable it for existing repositories, open the repository properties page and in the ‘Task Editor Settings’ section select the Mantis HTML markup option.

Other improvements

Support for MantisBT 1.2.9

The connector support the upcoming MantisBT 1.2.9 version, which brings some small changes to the SOAP API.

Better support for date fields and time zones

The custom date field values are now correctly translated from the repository value. Also, with MantisBT 1.2.9 the date and time information will be displayed in the user’s local timezone.

Leave a Comment

Mylyn-Mantis connector 3.7.0 released

This release features multi-project queries, support for deleting task attachments and support for textarea custom fields.

Multi-project queries

MantisBT allows users to define filters as belonging to ‘All Projects’ . This is very useful for working with large numbers of projects and defining just one filter, e.g. ‘My tasks’ .  You can now use these filters in Eclipse, by selecting filters available under the ‘All Projects’ node:

Deleting task attachments

Task attachments may now be deleted from the attachment’s context menu.

Support for textarea custom fields

The development branch of MantisBT supports textarea custom fields. The plugin also supports them for the development branch.

As a direct consequence, users of TaskTop Dev can add a custom textarea field named task_relations to enable the full functionality of editing task associations.

Display attachment authors

Attachment authors are displayed.

Display the category in collapsed attributes section

When the attributes section is collapsed we now display a ‘project/category’ text hint. Previously only the project was displayed.

Other fixes

  1. More judicious use of the SOAP API, resulting in fewer remote calls and email notifications when updating existing issues;
  2. Fixes in comment hyperlink detection;
  3. Fixed duplication of available queries which would sometimes occur in the query page.

For comments, bugs and support requests, our bug tracker and forums await you.

Leave a Comment

Older Posts »
Follow

Get every new post delivered to your Inbox.