Share

CVS client interface in Java

File Release Notes and Changelog

Release Name: 0.4.1

Notes:
INTRODUCTION

Welcome to another alpha release of JavaCVS (version 0.4.1)! As the version number indicates this is a very early realease.
Please do not use it on your mission critical projects! I'm trying to follow the open source release stratergy of release
early and often. Unfortunately, I have been very busy at work for the last year and have only just started to work on the project again. It is still alive so don't worry. Please send feedback through the sourceforge website:

        http://sourceforge.net/projects/javacvs

JavaCVS is liscensed under the GPL and a copy of this liscense can be found in the LICENCE file in this directory.

INSTALLING

Using a 1.4 Java VM run java -jar JavaCVSSetup.jar and then follow the instructions.

RUNNING JAVACVS

JavaCVS requires a 1.4 or better JVM. This is because it uses the new java.util.prefs package to manage
user preferences. Currently, JDK1.4 is in beta (I recommend 1.4.0beta3). This is available from Sun's website:

        http://java.sun.com/products

If you installed JavaCVS using the installer files then a script will be generated to launch JavaCVS for you.

Alternatively, if you want to manually run JavaCVS do the following:

To execute JavaCVS with the Swing GUI:

        java -cp javacvs.jar allensoft.javacvs.client.ui.swing.Main

To execute the command line version you may like to set up an alias or shell script, for example:

        alias jcvs java -D"user.env.cvsroot=$CVSROOT" -D"user.env.cvsrsh=$CVS_RSH" -cp javacvs.jar allensoft.javacvs.client.ui.command.Main

Now you should just be able to use jcvs instead of cvs on the command line. Please note I have done even less development on the command
line version as the Swing was so much more fun to code!

Enjoy....

Changes: From 0.4 to 0.4.1 * Fix so that annotate and diff are not enabled on binary files (file added with -kb). * Fix where a file which has been added as text but is really binary does not throw exception but now warns the user * Fix where the size of a text file computed could be wrong causing the server to hang waiting for more data. This was because \r\n and \r are changed to \n and this can change the size of the file (duh!). * Improved detection of binary files. JavaCVS will now look at the contents of a file if the file has not been added with -kb and does not match a binary pattern. This makes it much more reliable. * Icons for toolbar are now scaled in Java so only one icon needs to be provided to get all sizes. This is also fixes many of the warning messages that occurr when JavaCVS is started up. It also makes sure that small, medium and large icons have consistent sizes. * Added ability to customize end of line conversion on a per repository basis and decide which end of line should be used on local and repository files. The user can specify explicit patterns for files to perform conversion on.