Let's talk about the tools and tricks that make working with CQ easier and more fun.
VaultClipse plugin for Eclipse
I recently discovered the VaultClipse plugin for Eclipse and wanted to pass it along in case you haven't heard about. It's saved me (and many others I know) a lot of time & frustration – allowing me to push files quickly between Eclipse and my local CQ instance during rapid development of JSPs, javascript, css, etc. It uses the underlying vlt binaries, but via the Eclipse UI. Very handy!
The plugin is open source & has a number of warts, but once you know your way around, I think you'll appreciate it.
A few notes/caveats below.
For CQ version 5.5 make sure you use the latest plugin version (0.3.1) for compatibility: http://sourceforge.net/projects/vaultclipse/files/0.3.1/
(I've only tested with CQ5.5 so far.)
The plugin lets you import/export folders (not individual files) from within the Eclipse Navigator view (note: not other views! So keep that in mind)
If the folder you want to import files into does not exist in Eclipse already, consider creating (regular) folders into the spot you want to populate, then perform the operation.
Don't import files too high in a folder hierarchy within Eclipse because you may end up getting more assets than you really intended!
Lastly, the terms Import and Export in the context menu (see screenshot) are counter intuitive (to me) unless you consider the operation from the CQ perspective:
Export: means export from CQ to Eclipse
Import: means import from Eclipse workspace into CQ instance
No comments:
Post a Comment