jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Kiehl <ki...@subshell.com>
Subject Re: custom nodetypes
Date Fri, 04 Aug 2006 09:58:59 GMT
Ramesh Devaraj wrote:
> Hi
> 
>   I have custom node definition say
> 
>   [X] > nt: base
>    + Y 
> 
>   Using the above custom node definition I have create some node and saved in the database.
 But in the later stage I have changed the custom node definition to  
> 
>  [X] > nt: base
>    + Y 
>    + Z
> 
> Now how can I upgrade the node definition in the database according to new custom node
definition?

See: http://comments.gmane.org/gmane.comp.apache.jackrabbit.devel/7805

Basically you can use NodeTypeRegistry.reregister() to change existing node types.

Cheers,
Christoph


Mime
View raw message