I've created a JackRabbit content repository instance with the following lines:

   File repositoryConfig = new File(getClass().getResource("/repository.xml").toURI());
   RepositoryConfig conf = RepositoryConfig.install(repositoryConfig, new File("MY_JCR_HOME_ADDRESS"));
   RepositoryImpl repository = RepositoryImpl.create(conf);

Now I want to run a JCR explorer on it. I've tried different JCR explorers like JackrabbitExplorer and JCR-Explorer. But all of them works with JNDI or web-based repositories.

My question is that how can I run a JCR explorer on a RepositoryImpl instance.

有帮助吗?

解决方案

As requested :)

Like yourself, I couldn't find an explorer so I made a simple one with swing and JTree! Took less than a day.

其他提示

You can take a look at Toromiro which is a JCR browser and editor for local and remote repositories. The documentation describes how to connect to a JackRabbit repository by RMI, WebDAV or just by specifying a local repository.xml.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top