jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Buchmann <da...@liip.ch>
Subject jcr remoting davex: register node type
Date Mon, 28 Mar 2011 19:54:40 GMT
hi,

i tried to use the NodeTypeManager registerNodeType method with the
davex remoting part. this throws the exception

java.lang.UnsupportedOperationException: JCR-2003. Implementation missing
org.apache.jackrabbit.spi2dav.RepositoryServiceImpl.registerNodeTypes(RepositoryServiceImpl.java:2244)
...

from there i find this
https://issues.apache.org/jira/browse/JCR-2454

now i would be really glad to have this feature.
i would be ok to implement it myself as apparently nobody else needed it
desperatly enough to invest time in it.
finding the client side of this is trivial of course. but i just spent 2
hours trying to understand the server side code without much success. i
am not even sure if i look in the right place.
i tried to follow org.apache.jackrabbit.server.io.PropertyManagerImpl

it would be great if somebody could give me some pointers where to start
this task.
* is there a definition what xml has to be sent to the server?
* what is the workflow on the server side? is there any documentation on
this?
* where do i start on the server side? is there maybe an other example
like registering a namespace that i can follow as a guideline? how can i
trace what is done for that example?

the code to demo the issue is at
https://github.com/jackalope/JavaDavexClient/blob/master/examples/RegisterNodeTypes-Client.java

cheers,david
-- 
Liip AG // Agile Web Development // T +41 26 422 25 11
CH-1700 Fribourg // PGP 0xA581808B // www.liip.ch

Mime
View raw message