You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Michael Neale <mi...@gmail.com> on 2006/12/01 16:03:41 UTC

Re: modify a node type definition

Thanks Jukka.
When you say "don't use versioning" - can I use versioning in the "source"
repo, but dump it out without the history?

On 11/30/06, Jukka Zitting <ju...@gmail.com> wrote:
>
> Hi,
>
> On 11/30/06, Michael Neale <mi...@gmail.com> wrote:
> > So any hints on how best to design things to make "migration" as easy as
> > possible in future? any magic tricks?
>
> Good question. Some rules of thumb:
>
> * When developing your application, use an XML import or a simple
> builder application to set up your test content. This way you can
> easily scrap the entire test repository, make any modifications (node
> type changes, etc.) you need, and then recreate the test repository
> without worrying about migrating existing content.
>
> * Avoid putting things directly below the root node. Use a top-level
> node like /my:root or /my:content and place all your application
> content under that. This way you can easily export/import content
> using the standard XML mappings without having to worry about the
> protected /jcr:system subtree.
>
> * If your have lots of content, then you should structure it so that
> you can export and import it in smaller pieces. If you use references,
> make sure that you can import the parts being referenced before the
> referencing parts.
>
> * Don't use versioning. As of now Jackrabbit doesn't support migrating
> version histories across repositories. This will likely change sooner
> or later, but I wouldn't yet count on it.
>
> There is quite a lot of demand for more comprehensive backup/restore
> and migration tools so at least I'm quite confident that sooner or
> later (hopefully within next year :-) we'll have support for those use
> cases. Nicolas' GSoC project was a good start towards achieving that
> goal.
>
> BR,
>
> Jukka Zitting
>

Re: modify a node type definition

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On 12/1/06, Michael Neale <mi...@gmail.com> wrote:
> When you say "don't use versioning" - can I use versioning in the "source"
> repo, but dump it out without the history?

Yes. If you don't need the version histories in the target repository,
then there's no need to avoid versioning.

BR,

Jukka Zitting