This is the easiest method: http://jackrabbit.apache.org/api/2.1/org/apache/jackrabbit/commons/cnd/CndImporter.html#registerNodeTypes(java.io.Reader, java.lang.String, javax.jcr.nodetype.NodeTypeManager, javax.jcr.NamespaceRegistry, javax.jcr.ValueFactory, boolean)
Pass true as the last parameter. I should point out that this only works with Jackrabbit 2.0 and above. Justin On 9/28/10 5:04 PM, Zoltan Farkas wrote: > Cool, how can I achieve that? Can you point me to the API, or a sample? > > Thank you > > --zoly > > On Sep 28, 2010, at 4:27 PM, Justin Edelson <[email protected]> wrote: > >> Yes, although not if the property is mandatory. >> >> On 9/28/10 4:01 PM, Zoltan Farkas wrote: >>> Can a node type be updated ? (add a property) >>> >>> --zoly >>
