On Mon, Sep 15, 2008 at 7:28 PM, jack wu <[EMAIL PROTECTED]> wrote: > > i 'd like to be able to create two types of workspaces, one uses database > persistent manager and one uses local file system. i understand i can do > that manually, but when i am using the jackrabbit calls, i always get the > same type of workspaces. looks like you can only have one workspace template > under the "workspaces" node. is my understanding correct? thanks.
Yes, there can only be one template in the repository.xml. But instead of using JackrabbitWorkspace.createWorkspace(String name) you can use the other method that allows to pass your own workspace.xml template as input source: createWorkspace(String workspaceName, InputSource workspaceTemplate). Regards, Alex -- Alexander Klimetschek [EMAIL PROTECTED]
