Jukka Zitting wrote:
Hi,

On 1/23/07, ruchi goel <[EMAIL PROTECTED]> wrote:
Tobias Bocanegra wrote:
> programmatically by:
>
> ((JackrabbitRepositroy) repository).createWorkspace(name);
>
Repository or JackrabbitRepository does not have this method.

It's on JackrabbitWorkspace:

   ((JackrabbitWorkspace) session.getWorkspace()).createWorkspace(name);
But the point is I can get session only after logging in the repository , lets say in default workspace. Here , I was writing a RMIServer which should allow me to just create workspaces.

Its the client which will login to the repository  to that workspace.


Or do you mean to say , it is mandatory to login to default workspace to create another workspace ?

Thanks,
Ruchi



BR,

Jukka Zitting

Reply via email to