Home

Announcing the Release of CQ Deploy Version 0.1.4

The Six Dimensions Labs team is proud to introduce version 0.1.4 of CQ Deploy, an Apache Maven plugin for deploying Maven projects into Adobe CQ repositories.The CQ Deploy plugin allows developers deploy CQ projects using Maven in an easy and consistant manner.  The CQ Deploy Plugin is capable of deploying both packages and bundles and is compatible with CQ 5.2-5.5.The current release, version 0.1.4 brings:Added the ability to skip the installation of bundles.Added the ability...

Good to Know: InheritanceValueMap

The InheritanceValueMap is a new interface introduced in CQ 5.4.  This interface is meant to make it much easier for developers to access properties inherited from parent pages.  To do this, the interface provides two methods, getInherited(String,Class) and getInherited(String, Object), each of these methods will check for a value on the current resource and then check up the page hierarchy for another page with a value on the same content attribute.  It will only attempt...

Introducing CQ Deploy Version 0.1.3

The Six Dimensions Labs team is proud to introduce version 0.1.3 of CQ Deploy, an Apache Maven plugin for deploying Maven projects into Adobe CQ repositories.The CQ Deploy plugin allows developers deploy CQ projects using Maven in an easy and consistant manner.  The CQ Deploy Plugin is capable of deploying both packages and bundles and is compatible with CQ 5.2-5.5.The current release, version 0.1.3 brings:Added unit tests to test failure resultsAdded support for optional install...

Maven CQ5 Package Build: Updating Properties.xml

This article describes the process of adding and automatically updating a CQ5 Package properties.xml as a part of a Maven build.Why do I need a Properties.xml?Certain CQ5.4 Hotfixes are known to cause issues where packages without a properties.xml will not install properly.  If you attempt to install a package into a CQ instance with the affected Hotfix, you will see this error:java.lang.NullPointerException at com.day.jcr.vault.packaging.impl.InstallHookProcessor.registerHooks(InstallHookProcessor.java:80) at com.day.jcr.vault.packaging.impl.ZipVaultPackage.prepareExtract(ZipVaultPackage.java:303) at com.day.jcr.vault.packaging.impl.JcrPackageImpl.extract(JcrPackageImpl.java:341) at com.day.jcr.vault.packaging.impl.JcrPackageImpl.install(JcrPackageImpl.java:314) at com.day.crx.packaging.impl.J2EEPackageManager.consoleInstall(J2EEPackageManager.java:304) at com.day.crx.packaging.impl.J2EEPackageManager.doPost(J2EEPackageManager.java:152) at...

Webinar: CQ5 Development Setup, Maven Build and Deployment

Six Dimensions and 6D-Labs are pleased to announce its 2nd CQ webinar "CQ5 Development Setup: Maven Build and Deployment"  This webinar will cover best practices in building and deploying CQ5 applications.This Webinar is intended for technical audiences, i.e., developers and architects who have existing experience with CQ5.When: Thursday, June 21, 2012 Time: 11:00 - 12:00 PST (1:00 - 2:00 CST 2:00 - 3:00 EST) Where: You'll be sent a Webinar registration upon completing the signup.Topics:The...

Introducing CQ Deploy Version 0.1.1

The Six Dimensions Labs team is proud to introduce version 0.1.1 of CQ Deploy, an Apache Maven plugin for deploying Maven projects into Adobe CQ repositories.The CQ Deploy plugin allows developers deploy CQ projects using Maven in an easy and consistant manner.  The CQ Deploy Plugin is capable of deploying both packages and bundles and is compatible with CQ 5.2-5.5.The current release, version 0.1.1 brings:Improved documentationImproved loggingA fix for an issue where creating new folders...

The Unofficial Guide to the Adobe CQ5 Translator

The Adobe CQ5 Translator is a powerful tool for managing and updating translations.  Using this tool you can create, update and remove i18n values across multiple languages in multiple translation dictionaries or groups of i18n keys.Using the CQ5 TranslatorTo use the CQ5 Translator access the URL http://{SERVER}:{PORT}/libs/cq/i18n/translator.html, replacing the server and port with the correct values for your environment.  This will pull up the CQ5 Translator as shown below.The CQ5 Translator The CQ5 translator allows...

CQ5 Upgrade Gotcha: Tag Localization

In CQ 5.4, Adobe added the ability to translate tags through the Tag Manager.  Unfortunately, due to the way this was implemented, it can cause issues when upgrading from CQ 5.3 or older.After performing the upgrade and importing the existing tags, you may find there are no languages available to translate the tags.  The Localization section will be visible, however no languages are available.Fortunately, the fix for this issue is easy.  Update the node at...

Introducing CQ Deploy: A Maven Plugin for Deploying CQ Projects

The Six Dimensions Labs team is proud to introduce CQ Deploy, an Apache Maven plugin for deploying Maven projects into Adobe CQ repositories.The CQ Deploy plugin provides two goals, to help developers deploy Maven projects:install-package This goal is used to install CQ Packages into CQ Repositories.install-bundle This gloal is used to install bundles into CQ Repositories.  This goal is different from the Maven Sling Plugin's deploy method.  Whereas the Maven Sling Plugin installs the bundle...

SCR JavaDoc Tags Deprecated in CQ 5.5

Teams migrating to Adobe CQ 5.5 have one more thing to check during the upgrade.  In CQ 5.5, the SCR JavaDoc tags are deprecated, because of this, you can no longer create bundles in CRXDE or CRXDE Lite when the code in the bundles contains SCR JavaDoc tags.  When Adobe ported CRX over to run inside of the OSGi Container, they created a bundle for the CRXDE functionality.  This includes the remote compiling and bundle builder...

Good to Know: The Sling PersistableValueMap

The Sling ValueMap makes retrieving properties from CQ easy and removes a lot of the error-prone code you have to use when using the JCR APIs, however it does not allow setting of properties.  This unfortunately results in developers using the Sling ValueMap to retrieve properties and JCR Nodes and Properties to set properties.  This doesn't have to be the case though!  Sling also provides an interface which allows for retrieving properties like a ValueMap...

New in CQ 5.5: Sling Adapters Console

Adobe CQ 5.5 has a new, long overdue feature in the Felix Console.  The Sling Adapters Console lists all of the available Sling Adapter Factories as well as their Adapter Classes, Adaptable Classes, condition information and Providing bundle.  This information can be invaluable for developers to determine what classes can be adapted and what they can be adapted into as well as checking the functioning of custom adapters.  Developers can access this information by logging...

New in CQ 5.5: Dependency Finder

Adobe just released CQ 5.5, the latest version of their flagship enterprise Web Experience Management product.  Along with a new UI, numerous speed and stability fixes and deeper integrations with Adobe's other products, CQ 5.5 comes with some new tools to make using and developing on CQ easier. One of the new tools is the Dependency Finder, which comes shipped in the Apache Felix console.  This tool can be very useful to developers to find...