jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harri T." <haba...@gmail.com>
Subject Re: Recovering repository (or combining two repositories)
Date Wed, 08 Jul 2009 21:19:05 GMT
On 02.07.2009 00:36 Alexander Klimetschek wrote:
> I'd suggest you'd upgrade to the newest Jackrabbit (1.5.x) and use a 
> bundle database persistence manager + the data store for binary data 
> (I just noted it was introduced with 1.4, so you couldn't be using it 
> ;-)).

Does this help now, when I already have those too "old fashioned" 
repositories? I mean... can I merge them after taking data stores in use?

Jackrabbit Standalone 1.5 seems to be backwards compatible with 1.3.1 
repository. Can I merge two repositories by running two different JCRs 
and implementing a Java application for merge operation?

    java -jar jackrabbit-standalone-1.5.5.jar -p 8080 -r 
    java -jar jackrabbit-standalone-1.5.5.jar -p 8081 -r 

public static void main(String[] args) throws Exception {
    Repository dstRepository = new 
    Repository srcRepository = new 
    // TODO: Traverse recursively through the source repository and add 
nodes to the destination repository.



View raw message