Hi Paul,
If you mean transforming from XML to plain text and vice-versa yes
that's currently a pain when you want to update a page. We can't
transform a page content in plain text easily since we have objects/
classes into page definitions and there's no wiki syntax for these (I
had this idea of defining such a syntax using macros for example but
that's another story...)
The current way to do this is to use a live installation and export
the page as a XAR. It's not a bad choice I think since it allows you
to visualize your change through the rendering and ensure it's correct.
We could do the same with XEclipse since it now has the ability to
edit objects (and classes?).
Now I agree it would be nice to also have the ability for XEclipse to
read XML definitions from the file system. However it would still need
to send it to the serve for rendering it somehow (that's till we have
an XE packaged in XEclipse).
Any ideas? Did I understand what you mean Paul?
Thanks
-Vincent
On Nov 11, 2008, at 7:08 AM, 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