aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes can i use cvs without using any ide??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "can i use cvs without using any ide???" Watch "can i use cvs without using any ide???" New topic
Author

can i use cvs without using any ide???

saikrishna cinux
Ranch Hand

Joined: Apr 16, 2005
Posts: 689
I have 5 systems with 10 java developers sombody uses normal editplus,notepad,textpad and somebody uses netbeans IDE,jbuilder



i want to implement cvs here
so, can i implement cvs with the above environment?



or shall i ask every use one particular ide?

please reply me someone with nice suggestion needed


Thanking You


cinux


A = HARDWORK B = LUCK/FATE If C=(A+B) then C=SUCCESSFUL IN LIFE else C=FAILURE IN LIFE
SCJP 1.4
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42946
    
  70
CVS is independent of any IDE, but it does work with all the major ones. A standalone Windows frontend is WinCVS, and for Explorer integration take a look at TortoiseCVS. It also comes with a command line tool, if you prefer not to have a GUI on top of CVS at all.
Matt Harrah
Ranch Hand

Joined: Aug 05, 2006
Posts: 54
Absolutely! At my client's worksite, they use WinCVS as their CVS client, outside the IDE. They also access CVS from shell scripts and from Ant to accomplish their nightly builds.

Note that I do not claim that this is the BEST way to do things, only that it can be done that way, and it can be effective.
saikrishna cinux
Ranch Hand

Joined: Apr 16, 2005
Posts: 689
But Mr Ulf, here some people are not using IDE's
beacuse they dont know how to use it..
they are still using old textpad and editplus for coding

and somebody are perfect with eclipse and netbeans IDE so now i want all of them to connect CVS server

can i do that ? :roll:
is it possible?


if possible can you please suggest me some way's to implement and can you provide me some resources

It's urgent help me soon

thanks
cinux
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

The original cvs client is a command-line tool for UNIX. There are Windows ports of that; there are Windows GUI clients as well (one called "TortoiseCVS", I think, is rather popular.)

Here is one place to start looking for info.
[ August 09, 2006: Message edited by: Ernest Friedman-Hill ]

[Jess in Action][AskingGoodQuestions]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42946
    
  70
To sum up the above posts, there are multiple ways to access CVS without an IDE:
  • WinCVS
  • TortoiseCVS
  • command line client ("cvs")
  • Ant


  • There is nothing much to implement, you can just start using these (assuming that the CVS server is in place). Does this answer your question?
    [ August 09, 2006: Message edited by: Ulf Dittmer ]
    saikrishna cinux
    Ranch Hand

    Joined: Apr 16, 2005
    Posts: 689
    sorry Mr Ulf for starting another discussion ....

    ok so i can use textpad also for using winCVS in my system..
    yes i have downloaded the software and installed in my system and i am trying to configure it by selecting create new repository in from remote menu item in wincvs applicationb and for now i am using my local system path as CVSROOT

    some thing like this server;username=anonymous :\repos1

    and in the output window i got this message
    ***** CVS exited normally with code 1 *****


    so how can i congigure it correctly.. and how can i stor my source files in the repository the source files which are developed with using textpad



    please help me out
    Ulf Dittmer
    Marshal

    Joined: Mar 22, 2005
    Posts: 42946
        
      70
    CVSROOT is not a normal PATH; it looks something like

    [username]@[hostname]:[directory]

    Do you have a CVS server running on your local machine?
    Tim Holloway
    Saloon Keeper

    Joined: Jun 25, 2001
    Posts: 16305
        
      21

    CVS doesn't care what editor you use. It doesn't even care what formats the files it manages are in. CVS can work with DOS text, Unix text, GIF files, Word Documents, etc. etc. etc.

    How you talk to the CVS server and its repository are up to you. Many IDEs such as Eclipse and IntelliJ have the ability to interact with the CVS repository built right into them. TortoiseCVS is a Windows Shell plugin that allows you to do the same things but using the Windows File Manager (explorer) for the same purpose.

    At the lowest level is the CVS command line:



    This is a cygwin version of command-line interaction. Unix/Linux interaction is almost identical.

    CVS doesn't know, care, or even want to know what tools you use to interact with its repository anymore than a good website knows what web browser you use. Its only purpose is to hold the authoritative copies of the projects, to maintain a history of their changes, and to provide copies of the projects when requested.

    The seminal work on CVS, BTW is the "Cedarqvist" book. Although it's been around a few years, it still covers CVS quite well, though it considers CVS only from a command-line point of view.


    Customer surveys are for companies who didn't pay proper attention to begin with.
    saikrishna cinux
    Ranch Hand

    Joined: Apr 16, 2005
    Posts: 689
    Originally posted by Ulf Dittmer:

    Do you have a CVS server running on your local machine?



    well for now i am using my local system as server and i have installed wincvs software in my local system and ther is only one application (i.e wincvs)

    i dont know about server and client

    can you please tell me more on it :roll:

    waiting for your reply message
    Ulf Dittmer
    Marshal

    Joined: Mar 22, 2005
    Posts: 42946
        
      70
    CVS is client/server software. WinCVS is just the client - you need to install the server as well. Follow the link Ernest posted earlier, and you will find the server.
    saikrishna cinux
    Ranch Hand

    Joined: Apr 16, 2005
    Posts: 689
    Originally posted by Ulf Dittmer:
    CVS is client/server software. WinCVS is just the client - you need to install the server as well. Follow the link Ernest posted earlier, and you will find the server.


    yes i got it now i have installed the cvsnt server in my local system

    and now i want to link this server to clint software (wincvs)

    for this i tried to run server (opened cvs.exe) but i cn't see it in gui mode i think it's internally running in the background (refered it thru task manager)

    apart from this cvs.exe i saw some more exe files cvsagent.exe , cvslock.exe , workplaceviewer.exe files

    what are all these files should i need to run these files tooo for running the server?

    Ulf Dittmer
    Marshal

    Joined: Mar 22, 2005
    Posts: 42946
        
      70
    I'm pretty sure the server doesn't have a GUI - that's what the client is for. Refer to the documentation that came with the server to figure out how to start it. It's probably a Windows service, but that's just a guess.
    saikrishna cinux
    Ranch Hand

    Joined: Apr 16, 2005
    Posts: 689
    yes, i am now referring to user manual
    everything is ok but..how can i configure my web application folder as a repository in cvs server

    and one more help needed i have tried a lot for connecting to the server from wincvs
    i have used these commands for connecting to server

    cvs -d : local : sai@cvs.project05.com : c: \cvs login
    cvs -d : local : sai@cvs.project05.com : /cvs/Archive login



    but unable to connect in cvs server manual it is like this cvs -d /usr/local/cvsroot checkout yoyodyne/tc


    but it doesn't work at all

    so can you please tell me how to connect to the server (local sever) can you pass me the command

    thanking you

    cinux
    Ulf Dittmer
    Marshal

    Joined: Mar 22, 2005
    Posts: 42946
        
      70
    Don't use your web app directory as CVS repository. That's a recipe for disaster. Use a directory that's completely separate and not used for anything else.

    The command line generated by WinCVS for a login for me looks like:

    cvs -d :pserver:[username]@[server]:[directory] login

    so I'd say all the spaces you have in there are incorrect.

    By the way, why are you repeatedly using the icon that sticks the tongue out at us? You're using too many smileys anyway, but that one really makes no sense.
    [ August 10, 2006: Message edited by: Ulf Dittmer ]
    saikrishna cinux
    Ranch Hand

    Joined: Apr 16, 2005
    Posts: 689
    nothing intentionally shown my tounge to any of the member in this forum
    it's my hobby to use emotions and habituated using yahoo messenger

    anyways i want some more help from you ,
    how can i set the webapplication folder in cvsnet server :roll:
    saikrishna cinux
    Ranch Hand

    Joined: Apr 16, 2005
    Posts: 689
    somebody help me please

    i am unable to implement winCVS in my system..

    please can any one explain me the steps from the first i have got everything (software related to CVS)


    plase help me out

    thanks in advance

    cinux
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: can i use cvs without using any ide???