Community
Participate
Working Groups
Created attachment 208101 [details] An Acceleo project reproducing the bug When using separator('\n') in a for loop, the separator applies to each line generated inside of the loop. The issues happens when: - the .mtl file use \r\n line separators - the loop is embedded in a template or a let I attached a project which reproduces the bug. Workaround: replacing separator('\n') by separator('\r\n')
The problem comes from the use of a line separator of a different platform (ie \r\n on unix or \n on windows), Acceleo 3.3.0 will feature a way to get the line separator of the currently used platform, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=357202 *** This bug has been marked as a duplicate of bug 357202 ***
Closing resolved bugs