Hi,

On 3/21/06, Brian Moseley <[EMAIL PROTECTED]> wrote:
> to do in-place migrations, jackrabbit would have to support alteration
> of existing node types (adding and removing property types and child
> node types). having looked through the javadoc for
> o.a.j.core.nodetype, i don't see any such api. am i looking in the
> wrong place, or does it truly not exist? seems like a pretty
> complicated feature to add, if it's not already there.

It doesn't exist. There currently isn't even support for removing
unused node types. There's a Jira issue JCR-322 for adding these
features, but nobody is working on it at the moment.

I think the only way to remove or modify an *unused* node type at the
moment is to shutdown the repository and manually edit the
custom_nodetypes.xml file. Just remember to keep good backups...

BR,

Jukka Zitting

--
Yukatan - http://yukatan.fi/ - [EMAIL PROTECTED]
Software craftsmanship, JCR consulting, and Java development

Reply via email to