Hi,

On Fri, Aug 1, 2008 at 12:43 AM, Betty Chang <[EMAIL PROTECTED]> wrote:
> Am I supposed to be able to export and import my complete repository using 
> JCR calls?
> I used Session.exportSystemView() to save everything to a file,
> but when I use Workspace.importXML(),  I get a ConstraintViolationException 
> about
>  "/jcr:root/jcr:system: mandatory child node (http://www.jcp.org/jcr/1.0) 
> versionStorage does not exist"

You can't import the jcr:system subtree, so you'll need to ignore it
when exporting content from your workspace. The best practice is to
put all your content within an application root node like /my:content.

BR,

Jukka Zitting

Reply via email to