This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse CVS help

 
rick collette
Ranch Hand
Posts: 208
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, guys:
I am using Eclipse IDE on Windows 2000, and I loaded a CVS repository from a remote machine. I am trying to add/remove individual files from this shared repository to update my files, it seems that all CVS documents support CVS on unix-ops. I am wondering how can I do the above actions?
And I will be very greatful if you guys can point me to the common guide line for CVS on Windows platform.
Thanks.
 
Frank Carver
Sheriff
Posts: 6920
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have Eclispe, why do you need to know about low-level manuipulation of CVS? Eclipse has a buit in "team" CVS client which I use all the time.
To delete a file from the project in the repository, just delete it from your working copy, click team >> synchronize with repository, and it does it.
Or am I missing the point of what you are trying to do?
 
Hung Tang
Ranch Hand
Posts: 148
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rick,
In Eclipse, it has its own CVS client which you can use to do your updates, commits, and other basic CVS commands that you are accustomed to in unix/linux.
Just add a CVS repository perspective, right click on the window and add a repository location. You can then checkout projects, and add, update, synchronize files through the Java perspective.
It takes a little of getting used to the various perspectives offered in Eclipse, and how the CVS synchronization features work, but it's not that difficult really.
Good luck
 
rick collette
Ranch Hand
Posts: 208
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Hung Tang:
Thank you very much for your input. I am a real newbie of Eclipse, I just started using that. I cannot imagine it is this easy like what you pointed out.
Originally posted by Hung Tang:
Rick,
In Eclipse, it has its own CVS client which you can use to do your updates, commits, and other basic CVS commands that you are accustomed to in unix/linux.
Just add a CVS repository perspective, right click on the window and add a repository location. You can then checkout projects, and add, update, synchronize files through the Java perspective.
It takes a little of getting used to the various perspectives offered in Eclipse, and how the CVS synchronization features work, but it's not that difficult really.
Good luck
 
rick collette
Ranch Hand
Posts: 208
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Frank:
team >> synchronize with repository, and it does it.

I cannot find team, should I create this menu for it already exists? Sorry, I am a real newbie.
 
Frank Carver
Sheriff
Posts: 6920
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you open a project in the left-hand "package explorer" pane, then right-click on the project name you should see "team" near the bottom of the menu that appears.
If you only see it "greyed out", it probably means you have not associated your project with a CVS repository as suggested above.
The best thing is to look up CVS in the built-in Eclipse help system. That's how I got started.
 
Ed Burnette
Author
Ranch Hand
Posts: 142
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by rick collette:

I cannot find team, should I create this menu for it already exists? Sorry, I am a real newbie.

You need to check the entire project out from CVS, using the built-in client, before you can do Team operations on it. You do this from the CVS perspective as a previous poster indicated.
Also note you should be using the full "SDK" version of Eclipse and not the smaller "Runtime" version.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ed Burnette:
Also note you should be using the full "SDK" version of Eclipse and not the smaller "Runtime" version.

Huh, why? I am using the Runtime version + JDT, and it works quite fine...
 
Ed Burnette
Author
Ranch Hand
Posts: 142
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ilja Preuss:

Huh, why? I am using the Runtime version + JDT, and it works quite fine...

Runtime + JDT would include no source code for the platform, no programming doc, and no plugin development system. These are all included in the SDK. So although it wouldn't affect whether or not CVS and generic Java programming work, it's what I recommend people get so that stuff will be available in case it's needed, for example if you ever decide to write a SWT program or a simple plugin.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic