jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: Recovering repository (or combining two repositories)
Date Thu, 09 Jul 2009 12:08:37 GMT
On Thu, Jul 9, 2009 at 1:52 PM, Harri T.<haba713@gmail.com> wrote:
> Do you mean like this?
>
>   private static void traverseNodes(Node node) throws Exception {
>       if ("jcr:system".equals(node.getName())) {
>           return;
>       }
>       System.out.println(node.getPath());
>       NodeIterator children = node.getNodes();
>       while (children.hasNext()) {
>           traverseNodes(children.nextNode());
>       }
>   }
>
> Now the output is just a single line:
>
> /

Well, then I guess the problem must be that you connect to the wrong
repository. Is "rmi://localhost:1099/jackrabbit.repository" really the
liferay repo?

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message