This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[ BUILD # : 200711060000 ] [ JDK VERSION : 1.5.* ] On Windows it is problematic if \r\n is ever expanded to \r\r\n because then every other line is a blank line. I have raised this issue on the back of an email conversion in NetCAT6.0, a crucial snippet of which I repeat below: >> From: Maros Sandor <Maros.Sandor@Sun.COM> >> Date: 2007/11/07 Wed PM 12:12:32 GMT >> To: netcat@netbeans.org >> Subject: Re: [60cat][tools] CVS giving odd files >> >> Well, I think the problem with Java files is that they are committed to >> CVS having \r\n line endings. Windows clients then expand those \n to >> \r\n thus your Windows checkouts have \r\r\n line endings. It happens if >> files with \r\n (Windows) line endings are checked-in (committed) from >> some other OS than Windows ... because Unix clients do not convert \r\n >> to \n before commit as Windows clients do. >> >> Maros >> >> Daniel Sheppard wrote: >>> I'm not sure. It depends upon why Java files are getting the extra blank line. If it overcomes that problem, then yes as I could then use NetBeans exclusively as my CVS interface. My concern is that I don't know where the extra lines are coming from. >>>
Problem with Win/Unix line endings discussed also here #25430 http://www.netbeans.org/issues/show_bug.cgi?id=25430