On Apr 5, 2007, at 4:06 PM, François Déchelle wrote:
re-hello,
François Déchelle a écrit :
What I'm not sure though is why would we need SVN for this? My idea was to use the XWiki XML RPC API to send data to the XWiki server.
WDYT? That's true, SVN is on the side, it's just an optional choice if you want to store your code. It is not used in the path [IDE/ Editor] -> [Xwiki server]. I have not thought of using Xwiki XML RPC API, but it's a better choice than using HTTP POST request, you're right. I think that integrating it into ant should not be that difficult. May be having specific ant tasks for Xwiki would be usefull.
I'm currently writing this ant task to deploy xwiki pages from an ant build file, and I'm having trouble with the XML RPC API. I've tried both this: http://soal.xwiki.com/xwiki/bin/view/Code/XWikiXMLRpc and my own task that uses a different version of Apache XML-RPC client, and I got error HTTP 500 (internal server error) with both version.
Any clue?
I haven't tried it yet myself so I can't really help you but I know several users are successful in using it. I don't want to point any finger at anyone but Christian here on this list seems to be quite successful with it ;-) Once someone knows how to get it to work, it would be nice to document it on http://www.xwiki.org/xwiki/bin/view/UserGuide/XMLRPC Thanks -Vincent