Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 573
  • Last Modified:

Netbeans 4.1 CVS and Binary files

I have a mySQL jar file in my project.  When I commit it to cvs through netbeans and then check it out later the .jar file is corrupt.  How do I tell netbeans to check this file in as a binary file?
  • 2
1 Solution
You can configure your CVS repository to consider .jar as binary by default.
This is how you do it in JForte (I think it should be similar to netbeans):
You tag the file as binary -> From the "Add" dialogue box, select "Binary (-kb)" from the drop-down menu to the right of "Keyword Substitution" (located under the "Description Message" textbox).
BTW, to modify your CVS repository to accept .jar as binary (without the need to specify the -kb in the add command) you just add:
*.jar -k 'b'  to your CVSROOT/cvswrappers file.

where can i change the repository to accept binary files ?
i have cv suite server.

thank you,
cotel ITS

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now