jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg" <stefan.guggisb...@gmail.com>
Subject Re: Easy way to migrate to externalBlobs?
Date Thu, 02 Aug 2007 13:24:16 GMT
On 8/1/07, Bram de Kruijff <bramk@gx.nl> wrote:
> Hi,
>
> we need to convert a JackRabbit repository using bundle
> persistencemanagers to use externalBlobs. I found that simply changing
> the boolean in the workspace.xml does not work resulting in IOExceptions
> when the files are accessed. Maybe I was too optimistic, but it could be
> a feature right?
>
> Fortunalty, using the import/export tool from the contrib section in svn
> does the trick (export with externalBlobs=false and import on a fresh
> repository with externalBlobs=true), but it takes a lot of time even an
> a relatively small repository. Is there an easier way I may have
> overlooked?

how about creating a new workspace (using externalBlobs=true)
and then cloning the workspace?

http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/Workspace.html#clone(java.lang.String,%20java.lang.String,%20java.lang.String,%20boolean)

cheers
stefan

>
> regards,
> Bram
>
> --
> Bram de Kruijff
> <GX> creative online development B.V.
>
> t: 024 - 3888 261
> f: 024 - 3888 621
> e: bramk@gx.nl
>
> Wijchenseweg 111
> 6538 SW Nijmegen
> http://www.gx.nl/
> KvK: 10044410
>

Mime
View raw message