CQ’s a wonderful thing, when it wants to be. But sometimes you need to go slightly beyond the public api’s Adobe provides and need to get down to the nitty gritty underbelly of some of it’s more hidden classes.
One way to find class file is by searching through the OSGi console, but that may not alway be available.
This little snippet, traverses through the source and lists any matches and their location.
for i in ~/Documents/cq5/crx-quickstart/launchpad/felix/bundle*/version0.0/bundle.jar; do jar -tvf "$i" | grep -Hsi HtmlLibraryManager && echo "$i"; done
Point to your CQ quickstart source, and substitute in the class you’re looking for, for