Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > cvs for java-projects

Reply
Thread Tools

cvs for java-projects

 
 
Hubert Grininger
Guest
Posts: n/a
 
      07-02-2003
Hi,

we are a group of four software developers working on a single Java project.
We are going to use CVS (client: Eclipse).

I used CVS before but I was never sure which files to upload and which not.
Source files are clear to me, but what's about property-files or libraries
(jar's)? Do you upload them alltogether in your CVS-server?

Just wanted to here your (best) practices and if there are any good
guidelines to hold on.

Thank you very much in advance.

greetings, Hubert
--


----------------------------------------------------
This mailbox protected from junk email by Matador
from MailFrontier, Inc. http://info.mailfrontier.com


 
Reply With Quote
 
 
 
 
Robert Olofsson
Guest
Posts: n/a
 
      07-02-2003
: I used CVS before but I was never sure which files to upload and which not.
: Source files are clear to me, but what's about property-files or libraries
: (jar's)? Do you upload them alltogether in your CVS-server?

Don't put binaries in CVS, its no good with them. It can handle them
but its some extra work for each binary file....

Store source, config files and language files in CVS, have the
Makefile/build.xml produce the jar files. Download needed 3:rd party
jars/libs from the file server.

/robo

 
Reply With Quote
 
 
 
 
Adam Maass
Guest
Posts: n/a
 
      07-02-2003

"Hubert Grininger" <> wrote in message
news:...
> Hi,
>
> we are a group of four software developers working on a single Java

project.
> We are going to use CVS (client: Eclipse).
>
> I used CVS before but I was never sure which files to upload and which

not.
> Source files are clear to me, but what's about property-files or libraries
> (jar's)? Do you upload them alltogether in your CVS-server?
>
> Just wanted to here your (best) practices and if there are any good
> guidelines to hold on.
>
> Thank you very much in advance.
>
> greetings, Hubert
> --


For what it's worth:

My preference is to put everything necessary to produce a build into the
repository. I'd put property files, libraries and .jars in there, but would
stop short of executibles like javac.

Conceptually, you want to be able to:

1) build your development environment: OS and basic toolset (such as javac
and cvs client)
2) pull your repository
3) execute a single script (maybe after making some configuration changes),
which should produce a releaseable (or deployable) product.


If the libraries aren't part of the repository, then they are necessarily
part of the development environment, and you may end up with a messy
versioning problem. How does one solve versioning problems? Use a version
control system like CVS!


CVS can store binaries, but it isn't very efficient about it (a complete
copy of each version is stored), and you can't do branch-and-merge
operations on them.

But this shouldn't be a problem; when a new version of a library is
released, you commit the updated version to the repository, and you're done.


-- Adam Maass


 
Reply With Quote
 
Hubert Grininger
Guest
Posts: n/a
 
      07-02-2003
thanks for your answers!

hubert


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Eclipse and CVS, Eclipse wipes out CVS directories xyzzy12@hotmail.com Java 1 08-31-2007 10:19 AM
Eclipse 3.2 and CVS - where and how to get and install CVS? ddog Java 3 08-04-2007 06:41 PM
[ANN] Ruby CVS IRC bot, and Ruby CVS RSS feed David Ross Ruby 5 12-05-2004 03:48 AM
Excel File Format of ".CVS" ASP .Net 1 08-18-2004 05:56 AM
ftp and cvs download of mozilla source? Gernot Hassenpflug Firefox 0 06-08-2004 02:35 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57