문제

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