I fixed the two failing test in JCR Installer. As mentioned last week,
one failure (FolderDetectionTest.testMoveLibsToFoo) was caused by a
Jackrabbit bug, for which I implemented a workaround.
The second failure (FolderDetectionTest.testMoveLibsToApps) was caused
by the fact that when session.move("/src", "/dest") is called, events
are sent only for NodeAdded /src and NodeRemoved /dest. The code in
RootFolderListener expected to get a NodeAdded event for each node in
the moved subtree.
Looking at the JCR spec, Jackrabbit seems to be doing the right thing
here, so I ended up removing the path checking code in r988136. The net
result is that the watched subtrees (i.e. /apps and /libs) are scanned
whenever any change is done inside of them. I'm certainly open to other
alternatives for this.
In any case, all the tests are passing for me now. Created SLING-1681 to
merge it into the reactor and SLING-1682 to add jcr and osgi install to
launchpad.
Justin