On 24.1.17 11:24 , Thomas Mueller wrote:
Hi,

I didn't test it, but the CndImporter is in jackrabbit-jcr-commons, which
should work with Jackrabbit Oak as well.

Yes it does. See e.g. https://github.com/apache/jackrabbit-oak/blob/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/nodetype/NodeTypeTest.java#L257

Michael


Regards,
Thomas



On 24/01/17 07:58, "techie2k" <[email protected]> wrote:

Hi,

We are moving to Oak(with MongoDB) Structure from Jackrabbit.

Is there a way to register cnd file Using Oak?

With Jackrabbit we were using,

CndImporter.registerNodeTypes(new FileReader(cndPath), session);



--
View this message in context:
http://jackrabbit.510166.n4.nabble.com/Register-cnd-in-Oak-tp4666243.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to