|Re: [Acceleo] Inconsistent Line Ending Style [message #510984 is a reply to message #510364]
||Fri, 29 January 2010 12:43
| Markus Herrmannsdoerfer
Registered: July 2009
I do not explicitely use line endings in my templates. However, I have
used the wizard to create the project. Can it be that this wizard
imports files that have been created with another operating system?
Laurent Goubet schrieb:
> Hi Markus,
> I have never seen this error, yet it is fully possible that you end up
> with inconsistent line endings if you generate code under windows while
> explicitely using "\n" in your templates (or generating under unix with
> "\r\n" in your templates) as for "regular" line ends, Acceleo takes the
> system default while explicitely defined line ends in the templates are
> We are thinking of a way to allow users to define the line ending style
> Acceleo should use for generations (converting both explicit and
> implicit line ends along the way), but haven't made any plans for it yet.
> Laurent Goubet
> Markus Herrmannsdörfer wrote:
>> I tried out Acceleo for the first time and was pretty happy that it
>> worked very smoothly. I generated some Java code with Acceleo and
>> wanted to check in the code into an SVN repository. However, the
>> commit failed due to the "Inconsistent Line Ending Style" error.
>> Apparently, Acceleo generates code with inconsistent line endings. I
>> assume this is a bug? Or am I doing something wrong? By the way, I am
>> using Acceleo 2.8.1 on Galileo running on Windows XP.
Powered by FUDForum
. Page generated in 0.01783 seconds