or the template of licence contain DOS end of line ...
* This is free software; you can redistribute it and/or modify it^M
* under the terms of the GNU Lesser General Public License as^M
* published by the Free Software Foundation; either version 2.1 of^M
* the License, or (at your option) any later version.^M
De : Clemens Klein-Robbenhaar <c.robbenhaar(a)espresto.com>
À : devs(a)xwiki.org
Envoyé le : Vendredi 9 janvier 2015 15h31
Objet : Re: [xwiki-devs] [xwiki-users] Howto use mvn xar:format ?
On 01/09/2015 02:11 PM, Pascal BASTIEN wrote:
My editor is vi on Linux then I use unix end of
line...
I launch mvn -e xar:format for the second time and ^M disapeared... (X-files case? :-) )
Same here. Usually I run "mvn xar:format" twice before commiting.
The first run fixes the indentation, comment headers, etc, but adds these ^M line endings
(it might convert 
 present in the *.xml file from the original XAR export)
and the second one keeps the formatting and removes the ^M ... I guess that should be done
in one run, too, but I have not bothered to check out the formatter code how todo it.
Clemens
NB: and the download is not launched at the second
time
Thxs a lot both.
Pascal B
De : Eduard Moraru <enygma2002(a)gmail.com>
À : Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>fr>; XWiki Users <users(a)xwiki.org>
Envoyé le : Vendredi 9 janvier 2015 13h50
Objet : Re: [xwiki-users] Howto use mvn xar:format ?
On Fri, Jan 9, 2015 at 2:41 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> wrote:
... erratum
The wrong end of line is not on all TagCloud.xml file lines:I must remove them before to
commit: with :set ff=unix with vi ?
Not sure about this one. I think it might help if you configure your editor to use unix
line ending.
In any case, I think it does not matter because when you commit on git, the line endings
will be converted to unix automatically.
Thanks,
Eduard
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs