Am Dienstag, 10. April 2007 14:35 schrieb Oliver Lietz: > Am Dienstag, 10. April 2007 schrieb Will Scheidegger: > [...] > > > I then wanted to try to register the node type as it is suggested in > > the post on the Jackrabbit list. Unfortunately I have to wait until > > the "module" documentation is back online since a modules "init()" > > method would probably the right place to do such things. > > IMHO this doesn't really work with vanilla Magnolia, please see > http://jira.magnolia.info/browse/MAGNOLIA-999 and Chris Miners' problems > with custom node types.
I suppose one has to agree that doesn't work with a vanilla magnolia. However, if you are developing a module anyway, then it isn't really cumbersome to register your namespace in the registerRepositories method of your Module subclass. > > > I guess I could "practice" with a plain java tool and a Jackrabbit > > repository. If I get things to work there... I might see why it's not > > working for me in Magnolia. > > You can of course open Magnolia's repository with a small program to add > namespaces and custom node types. I did this in the beginning of working > with custom node types and the program has only a few lines of code. Yeah, but that complicates the installation of your module. Assuming again that you have a module, it is straightforward to add the required code to your registerRepositories(ModuleDefinition) method. Cheers, Chris ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/developer.html ----------------------------------------------------------------
