Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Problem with line endings in code

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 808 Views
  • HarryKC
    Avatar
    Community Member
    8 Posts

    Problem with line endings in code Link to this post

    I tried to go trough the tutorials and the moment I created a new file (ArticlePage) I run into problems with line endings in that file. (Also tried out Aptana Studio - and still cand find where to set the default line ending type)

    The editor created a new file with mac line endings and soon as I tried to do db/build nothing happend. And after a while and many ways to hunt down the problem I stumbled upon the line endings. As soon as I converted them into unix or windows type all worked well.

    If your code refuses to build and there should be no syntax on other errors and you're a developer on Mac try to convert the line endings.

    Happy SilverSriping and coding

    Harry

    808 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.