study notes
  • Introduction
  • Oct 14, 2016
  • Oct 22, 2016
  • Oct 27
  • Nov1
  • j2ee context root(4.19.2017)
  • June 20, 2017(bTrade debug record)
  • Sep 5, 2017
  • Jan 4, 2018
  • Jan 5, 2018Deploy war file to Tomcat
  • Jan 13,2018, hibernate config
  • conflict caused by PR
  • using another project's class
  • intellij cannot resolve the symbols in target folder
  • keyboard symbol
  • Oct 31, 2018
  • tax build construction simplify &effecticent
  • line ending
  • memory leak
  • Serializable
  • To learn
  • What happens when you type 'google.com' into a browser and press Enter?
  • security scan for software
Powered by GitBook
On this page

Was this helpful?

line ending

Previoustax build construction simplify &effecticentNextmemory leak

Last updated 5 years ago

Was this helpful?

application.properties file each line ends with ^M. cause the problem can't find the file.

Windows line ending is \r\n(CRLF), while Unix is \n(LF). So when Unix read the Windows file may cause problem because of the different line endings.

^M==\r (in Unix)

git bash can use vim.

:set list //to see line-endings
:set nolist  // to go back to normal
http://colwil.com/using-the-correct-line-endings-in-eclipse-when-developing-scripts-for-unix/
https://netmikey.wordpress.com/2016/06/01/eclipse-git-mind-your-windows-line-endings/
https://adaptivepatchwork.com/2012/03/01/mind-the-end-of-your-line/