Netbeans 4.1 CVS and Binary files

Posted on 2005-05-05
Last Modified: 2013-12-14
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?
Question by:turtletimer
    LVL 15

    Accepted 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).
    LVL 15

    Expert Comment

    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.

    Expert Comment


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

    thank you,
    cotel ITS

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Suggested Solutions

    Title # Comments Views Activity
    Java 1603 Error 2 26
    Problem to setup 18 65
    Running Jira on Raspberry PI 2? 3 44
    @SBGen Method 3 16
    Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
    Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
    The viewer will learn how to implement Singleton Design Pattern in Java.
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now