jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paco Avila <pav...@git.es>
Subject RE: Renaming node property
Date Thu, 17 May 2007 07:35:30 GMT
El jue, 17-05-2007 a las 07:27 +0100, Shaun Barriball escribió:
> We've found Node type modifications a little tricky to resolve.
> If you're changing a property name from X to Y then one solution is to:
>  * export the affected workspace(s) to XML using exportsysview
>  * empty the workspace(s)
>  * update the types used by your JackRabbit install which can be achieved by
> replacing the custom_nodetypes.xml file
>  * do a search and replace in your exported XML replacing X with Y.
>  * reimport.
> Another alternative could be to update your type so that X & Y temporarily
> co-exist. Create a script to copy X values to Y, and then remove property X.
> Modify your types to remove X. This would require some simple Java code to
> be written.

Actually you can't remove a property from a registered node type.
Paco Avila <pavila@git.es>

View raw message