JCRInspector

Overview

The JCR Inspector is a small tool to use when debugging and doing JCR development inside of Sakai. It roughly allows you to:

  • View Nodes and their properties
  • View the high level repository information
  • Query the repository with XPATH and SQL
  • Start and stop the CHS migration code that is under development
  • Dynamically swap the Content Hosting backend for Sakai during runtime (swaps between the original CHS implementation and the JCR implementation).

It currently requires that you have Content Branch SAK-12105 installed (or at least just the API's from it). Sorry, these need to be factored out somehow. Obviously, it requires the sakai-jcr api's to be installed and one of the JCR implementations. (JackRabbit, Xythos, etc). It has only been tested on JackRabbit so far.

It's important to note that this was developed solely as an aid to help working with JCR inside of Sakai. The code is fairly low quality, a large portion of the UI broken, etc. However, it is super useful, so it is slowly getting better.

Installation

There is only a Maven 2 build, but the deployed sakai-jcrinspector-tool.war should work fine inside of either Sakai 2.4.x or trunk.

svn co https://source.sakaiproject.org/contrib/jcr/jcrinspector/trunk jcrinspector
mvn clean install sakai:deploy -f jcrinspector/pom.xml