File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Netbeans file format problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Netbeans file format problem" Watch "Netbeans file format problem" New topic
Author

Netbeans file format problem

Eddie Sheffield
Greenhorn

Joined: Oct 23, 2002
Posts: 21
I'm having a wierd problem in Netbeans on Windows XP, JDK 1.3.1_08. Apparently new .java files I create are being saved using the Unix convention for line separation (\n) and new .jsp files are using the Mac convention (\r). The Unix thing doesn't seem to cause any problems, but when I try to deploy the JSPs on Weblogic 6.1, they won't compile. If I load the files into JEdit and resave them after setting the separator to MS-DOS convention (\n\r) then everything is fine.
Any ideas? Can you specify the separator to use? I've searched google and the netbeans sites, but haven't seen anything like this mentioned.
Thanks!


"When you find yourself in the company of a halfling and an ill-tempered Dragon, remember, you do not have to outrun the Dragon. You just have to outrun the halfling."
 
 
subject: Netbeans file format problem
 
Threads others viewed
Facing Problem with String replaceAll method
How to make each log entry start on a new line?
Weekend Crash Course on a mac; ascii problems?
Problem writing a string into a file
Counting blank lines in a file
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com