Hi Andreas,
On Dec 27, 2009, at 1:16 AM, Andreas Schaefer wrote:
Hi
For the development of the Groovy based Blog I just developed the
code in IntelliJ, copied inside a browser and eventually exported
the content into a XAR file. Slowly but surely this is getting way
to much work especially when doing sweeping changes.
Because I don't use Eclipse I am not able to use the XEclipse tool
XEclipse is a standalone tool (it's a RCP application), you don't need
Eclipse to use it... :)
but I was wondering if anybody knows a way to XML
encode text
(within Maven2) so that it later could use Ant's copy and filter
tool to incorporate the developed code / content inside the XML file
that will build up the XAR file.
But then you need to load the XAR to test it. You need to automate
that part too. What you need is the full round trip:
- get a page content locally
- make changes to it
- save (which uploads it to the server)
- test
This is what Eclipse does indeed. However XEclipse has some current
limitations, one of which is that it doesn't work with XWiki Syntax
2.0 yet (there's some code for this in SVN I believe though).
Unfortunately not many devs have been working on XEclipse which is a
real pity since it has a huge potential.
Re encoding I'm not sure why you'd want to do that. You can just copy
paste the content in pages directly without going through XAR + import.
Thanks
-Vincent