jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg" <stefan.guggisb...@day.com>
Subject Re: Error while changing workspace name
Date Mon, 21 Jul 2008 12:07:53 GMT
On Mon, Jul 21, 2008 at 1:15 PM, Sridhar Raman <sridhar.raman@gmail.com> wrote:
> True.  Then, is there any way of changing the workspace name
> programmatically?

you could e.g. create a new workspace and clone the existing one.
workspace deletion is not yet implemented yet.

> I am using Derby persistence.
>
> On Mon, Jul 21, 2008 at 1:22 PM, Stefan Guggisberg <
> stefan.guggisberg@day.com> wrote:
>
>> On Sat, Jul 19, 2008 at 2:44 PM, Sridhar Raman <sridhar.raman@gmail.com>
>> wrote:
>> > I have a JCR repository with a lot of nodes.  Normally, I change the name
>> of
>> > the workspace by doing 2 things:
>> > 1) Changing the name of the folder under workspaces.
>> > 2) Changing the value in <Workspace name="test"> in the appropriate
>> > workspace.xml.
>>
>> please note that this is not supported and i'd certainly not recommend it.
>> you're doing this at your own risk...
>>
>> cheers
>> stefan
>>
>> >
>> > Today, I am unable to perform the change properly.  The change happens,
>> and
>> > I get the new name in the list of accessible workspaces.  But there are
>> no
>> > nodes apart from jcr:system.  If I revert to the original name, all the
>> > nodes come back once again.  And the strange thing is that the folder
>> size
>> > remains the same.
>> >
>> > Any idea why this could be happening?
>> >
>> > Thanks,
>> > Sridhar Raman
>> >
>>
>

Mime
View raw message