On Nov 11, 2008, at 9:44 AM, Eduard Moraru wrote:
Hi Paul!
You could easily make such a tool by using the available XML-RPC API.
That would be easy except for the object/class editor I think.
-Vincent
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…
).
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…
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