jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig <mdue...@apache.org>
Subject Re: Register cnd in Oak
Date Tue, 24 Jan 2017 10:57:36 GMT


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" <developer.spring@gmail.com> 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.
>

Mime
View raw message