Nick, > > I've got the patch to make move and copy possibly already programmed. > > We were still testing it in our current project before committing it > > to hippo to include it in a release. I can send you the patch if you > > want.
Although I didn't technically patch the Java Adapter I want to let you know that your provided code works beautifully. What I basically have done is created a Move class containing the exact code that is in your patch and then obtain the WebdavConfig instance through reflection. I had to fiddle with some dependencies, class loading issues and subsequent ClassCastExceptions but finally it all works without touching the original code of the Java Adapter. When I need to move a resource I simple call a method that does all the dirty hacking and returns an instantiated Move object which I can than call. I totally bypass the CmsService (hippo portal) and the WebdavService all together since I don't need them to execute a move. A snippet can of course be provided when requested. But I just hope this missing functionality is soon to be provided by a new release of the Hippo Repository Java Adapter. -- Æde _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/******************************************** Hippocms-dev: Hippo CMS development public mailinglist Searchable archives can be found at: MarkMail: http://hippocms-dev.markmail.org Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
