Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Configuring a CVS Server under Windows

 
Cyrus Serrano
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

im currently developing java applications under the windows platform using WebLogic approximately there about ten developers also uses windowsXP OS on each machine. Is it possible for me to install a CVS Server runnning on Windows and set this to one of the developers machine? Or set this up in a separate machine?

Can you guide me on how to setup or point to some notes that i can read to setup CVS on my team.

thanks everyone.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34671
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cyrus,
It is traditional to use a separate machine for CVS. You don't want the repository to go down if a developer needs to reboot. The official manual is very good for CVS.
 
Cyrus Serrano
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jeanne.....

Well i have read some of the documents that you have told me. In another PDF file that i have downloaded authored by Moshe Bar and Karl Fogel, they have stated that the CVS Server should be in a Unix Box. and the client can use any OS.

is this correct. My problem as of the moment is that our company does not use Linux OS.

thanks again.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34671
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cyrus,
It is not necessary for the CVS server to be on a UNIX box. Many people do this because it easier to setup permissions and they tend to be cheaper/more powerful.

Many people have successfully run a CVS server on Windows (try searching CVS NT for examples.) And if you don't have many users accessing the CVS server, you can use somebody's old PC.
 
Cyrus Serrano
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Jeanne,

i tried using wincvs as the client and cvsnt as the server.

this what i have so far:

i have succesfully create a repository located on c:\cvssample
- for this i have used WinCVS to create , but can issue this command
cvs -d c:\cvssample init

next i tried to create a copy of my source to the repository using :
c:\cvs -d c:\cvssample import -m "initial import into CVS" TPS
Cyrus start

i've checked the c:\cvssample folder and a TPS folder was created


next i created a folder --> c:\mySource and performed a checkout command so i grab a copy on the repository using this command :

c:\mySource\cvs -d c:\cvssample checkout TPS

a TPS folder was created --> c:\mySource\TPS, all files exists

Now this is my new problem, ive added a new file and thru wincvs browse the file and see it with a ? (question mark) in front, its actually a JSP file.

now i tried to right click the folder where it exists and performed a commit, correct me if im wrong , my idea of commit is to update the repository,does it mean the new files will be added when i performed commit or update??

thanks for reading.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34671
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Cyrus Serrano:

now i tried to right click the folder where it exists and performed a commit, correct me if im wrong , my idea of commit is to update the repository,does it mean the new files will be added when i performed commit or update??

Yes. An add has two parts. The first informs the repository that your file exists. The second actually commits the contents of the file. Until you do both parts, it is normal to see a ?.
 
Cyrus Serrano
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeaane,


i tried to commit it and noticed that a ? was in front of the file. but will that mean it has added that file on the repository.

i tried to check the repository but i cant seem to find the file.

a little help.. thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic