cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing Alfresco's JCR

hananherzog
Champ in-the-making
Champ in-the-making
Hello,
    I have an existing CMS. I would like to use Alfresco's implementation of JSR-170 to be the back-end store. Can you point me to the most straight-forward code-sample with which I can "instantiate/initialize" the JCR back-end (I guess through some sort of factory)? In the meantime, I will try to find out by going through the code.

Thanks,

Hanan
10 REPLIES 10

hananherzog
Champ in-the-making
Champ in-the-making
Hi,

The dictionary service uses an xml library called JibX to map XML to Java (and vice-versa).  However, it requires a post-compilation step on the Java classes to be mapped and it seems this has been missed out in your build.

If you take a look at /projects/repository/project-build.xml, you'll see a target called 'compile-jibx'

Also, the Repository Eclipse project has a custom builder called 'Jibx'.

Hope that helps.

Perfect. That did the trick.

Thanks,

Hanan