File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Configuring a CVS Server under Windows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Configuring a CVS Server under Windows" Watch "Configuring a CVS Server under Windows" New topic
Author

Configuring a CVS Server under Windows

Cyrus Serrano
Ranch Hand

Joined: Sep 29, 2003
Posts: 137
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30353
    
150

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Cyrus Serrano
Ranch Hand

Joined: Sep 29, 2003
Posts: 137
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30353
    
150

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

Joined: Sep 29, 2003
Posts: 137
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30353
    
150

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

Joined: Sep 29, 2003
Posts: 137
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
 
 
subject: Configuring a CVS Server under Windows