Hi Paul!

You could easily make such a tool by using the available XML-RPC API.

Just use these the jars in the org.xwiki.eclipse.xmlrpc package from 
XEclipse ( 
http://svn.xwiki.org/svnroot/xwiki/xeclipse/trunk/plugins/org.xwiki.eclipse.xmlrpc/
 
).

For an example of using the XML-RPC API, you could look at the 
RemoteXWikiDataStorage.java file at 
http://svn.xwiki.org/svnroot/xwiki/xeclipse/trunk/plugins/org.xwiki.eclipse.core/src/main/java/org/xwiki/eclipse/core/storage/RemoteXWikiDataStorage.java

Of course, you do have the 
http://platform.xwiki.org/xwiki/bin/view/Features/XMLRPC link which you 
should check out, but I think that if you are already a bit familiar 
with XEclipse, you might find that the Java file I specified offers more 
specific examples of handling content.

Let us know how it turns out. :)

Paul Libbrecht wrote:
> Hello fellow developers,
>
> The usage of a bunch of command-line tools for checking-out the (XML 
> of) xwiki pages and checking them in would be really useful.
>
> The xar approach is not really practical: there's no merge, it's 
> problematic when it gets big, and it still doesn't have a command-line 
> to integrate within a build-flow.
>
> I am convinced it would be easy, for example, to use the XEclipse code 
> to make checkout, update, and checkin ant-tasks or command-line tools.
>
> Did anyone try?
>
> thanks in advance
>
> paul
> ------------------------------------------------------------------------
>
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>   
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to