On 9/2/06, Shanmugam Gopal <[EMAIL PROTECTED]> wrote:
Hi,

1)How can we create multiple workspaces during repository startup?.
Is there any provision in repository.xml ?

see org.apache.jackrabbit.api.JackrabbitWorkspace#createWorkspace


2)Can we register custom node types during reposiotry startup?
Let us say I have two workspaces in repository and I want to register the
custom node types
in both the workspaces during repository startup.

see org.apache.jackrabbit.api.JackrabbitNodeTypeManager.registerNodeTypes

note that nodetypes have global (i.e. repository) scope, i.e. they're not
workspace-specific.

cheers
stefan



Regards,
Shanmugam G

_________________________________________________________________
One and only Ash. Find out all about her. Only on MSN Search
http://server1.msn.co.in/profile/aishwarya.asp


Reply via email to