Hi Francois, On Apr 5, 2007, at 10:21 AM, François Déchelle wrote:
Hello,
Following the recent discussion on using SVN as a backend for Xwiki, I'd like to discuss something symetrical, i.e. to use SVN and Eclipse as a front-end. The idea is to write Xwiki pages containing Groovy code in Eclipse (or Emacs), store it in SVN and deploy it automatically on an Xwiki.
Yes, this is an excellent idea. We have created a GSoc project for this here: http://www.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/IDE+Editor +Integration (of course anyone is welcome to collaborate on this project) 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?
My idea is to use Ant as a deployment tool, with the Ant POST task for instance: http://antelope.tigris.org/nonav/docs/manual/bk03ch17.html
This way, the project can be easily integrated into Eclipse. I'm wondering how the Groovy Eclipse plug-in can be used: http:// groovy.codehaus.org/Eclipse+Plugin My guess is that the editing part can be usefull, but that running Groovy inside Eclipse wont do it for now.
I think it's pretty easy to benefit from auto complete and syntax coloring and that's already quite good. Thanks -Vincent