• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Configuring a CVS Server under Windows

 
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic