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.

Bug 68193

Summary: CVS incorrectly transfers binary files
Product: versioncontrol Reporter: kitfox <kitfox>
Component: CVSAssignee: issues@versioncontrol <issues>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description kitfox 2005-11-07 02:01:42 UTC
I'm working on a CVS tree off of sourceforge and have recently upgraded from NB
4.1 to NB 5.0.  I've noticed thta CVS no longer downloads finary files, such as
JAR files correctly.  When I clean my repository and use Cygwin to checkout a
source tree, the compiled jar files in the tree download correctly.  When I
clean again and attempt to do the same thing with NB 5.0, the jar files are
several bytes longer and are corrupt.

Is CVS somehow interpreting these files as text?
Comment 1 Maros Sandor 2005-11-07 10:59:26 UTC
I assume the project is freely accessible so can you give us cvsroot and paths
of files that get corrupted so we can reproduce it?
Comment 2 kitfox 2005-11-07 14:00:15 UTC
The project is at

http://sourceforge.net/projects/joode

To get it:

cvs -d :ext:<yourSourceForgeLogin>@cvs.sf.net:/cvsroot/joode checkout

(you can also login anonymously over pserver, but I'm not sure if the bug can be
duplicated that way).

All *.jar files in the /lib directory will download corrupted.
Comment 3 Maros Sandor 2005-11-07 15:00:58 UTC
I checked it and found that almost all .jar files are stored in CVS as text
files. You can see in CVS/Entries file that only junit.jar was added correctly
with -kb option. All other libraries were added as text files and you should
contact the person who maintains the project to correct that.