Book a Demo

Author Topic: Empty line at end of file  (Read 3569 times)

Wolfgang Trog

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Empty line at end of file
« on: October 17, 2006, 05:24:21 am »
Hello,

I'm genereating C# sharp code from my model using MDG Integration vor VS (2.0). Every time after I do a "Generate Code" on a class, an empty line is added to my code file. I've checked the file template, but it seems OK for me. The empty line is added after the end of the template.

This empty line wouldn't hurt much, if my version control (subversion) wouldn't consider the file as "modified", which means, that after each engineering cycle, all files are marked as modified.

Any help is appreciated,

Best Regards,
Wolfgang

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Empty line at end of file
« Reply #1 on: October 17, 2006, 05:32:41 am »
Long shot here Wolfgang, but I think there is an option to add a trailing ctrl-Z to files someplace. This might get rendered as a trailing carriage return on text files.

I'm really not sure if this is the problem, but you could hunt around the code engineering and other option dialogs and clear the option. If that clears things up you're in business.

Otherwise I suggest you report this to Sparx. While not a 'biggie' it should be corrected.

David
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Empty line at end of file
« Reply #2 on: October 17, 2006, 03:05:19 pm »
Hi Wolfgang,

We have had a previous report of this problem, it should be corrected for our next patch release.