ileInputStream("d:/temp/test.cnd"),
> JackrabbitNodeTypeManager.TEXT_X_JCR_CND);
>
> cheers
> stefan
>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/loading-custom-nodetypes-tf2046502.html#a5635389
>> Sent from th
Here is the xml:
nt:base
mix:referenceable
Any ideas?
--
View this message in context:
http://www.nabble.com/loading-custom-nodetypes-tf2046502.html#a5635728
Sent from the Jackrabbit - Users forum at Nabble.com.
er = (JackrabbitNodeTypeManager)
session.getWorkspace().getNodeTypeManager();
manager.registerNodeTypes(new FileInputStream("d:/temp/test.cnd"),
JackrabbitNodeTypeManager.TEXT_X_JCR_CND);
cheers
stefan
--
View this message in context:
http://www.nabble.co
Why don't you load them through a session when you start the repository from
your code?
Regards,
Nico
my blog! http://www.deviant-abstraction.net !!
On 8/3/06, Tobias Bocanegra <[EMAIL PROTECTED]> wrote:
unfortunately, this does not work yet.
if you wish to speed up implementation, file a jira
utting custom_nodetypes.xml in
the nodetypes directory, but I can't get it to work with a cnd file. Do you
have to load it manually?
--
View this message in context:
http://www.nabble.com/loading-custom-nodetypes-tf2046502.html#a5635389
Sent from the Jackrabbit - Users forum at
http://www.nabble.com/loading-custom-nodetypes-tf2046502.html#a5635389
Sent from the Jackrabbit - Users forum at Nabble.com.