Maybe what we need is a xar diff function ?? (compare my xar's source repo to the content of a wiki and say what needs to be changed) paul
Guillaume Delhumeau <mailto:[email protected]> 23 August 2016 at 10:51 To be extra-clear, let me explain my workflow when I design an application in XWiki.
- First, I write my code directly in an instance of XWiki. - When it's ready, I export all the pages related to my application in a XAR. - Then, I uncompress my XAR inside my repository. - I clean the XML files using mvn xar:format. - I commit.
And when I fix something, I do it directly in the wiki, then export the page in a XAR, uncompress it in my repository, clean the xml files manually (reverting the changed dates, etc...).
What I don't want is to be forced to manually remove the source code from the XML to put it in the other file every time.
Thanks,