jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Guggisberg <stefan.guggisb...@gmail.com>
Subject Re: Jackrabbit workspace copy
Date Thu, 25 Aug 2011 08:24:50 GMT
On Thu, Aug 25, 2011 at 9:43 AM, vikash <vikash.kontia@gmail.com> wrote:
> Hi,
>
> I have 2 different jackrabbit instances running at staging and production
> machine and I am using workspaces.
> Can I copy a staging workspace to production workspace and how?

no, you'll have to export/import the content. see e.g.  [1], [2].

> Is workspace copy method works inside the same instance only?

yes

cheers
stefan

[1] http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/Session.html#exportSystemView(java.lang.String,
java.io.OutputStream, boolean, boolean)
[2] http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/Workspace.html#importXML(java.lang.String,
java.io.InputStream, int)

>
> -Vikash
>
> --
> View this message in context: http://jackrabbit.510166.n4.nabble.com/Jackrabbit-workspace-copy-tp3767571p3767571.html
> Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.
>

Mime
View raw message