This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Eclipse CVS help

 
Ranch Hand
Posts: 208
  • 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.
 
Sheriff
Posts: 6920
  • 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?
 
Ranch Hand
Posts: 148
  • 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
  • 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
  • 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
  • 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.
 
Author
Posts: 142
  • 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.
 
author
Posts: 14112
  • 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
Posts: 142
  • 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 miss the old days when I would think up a sinister scheme for world domination and you would show a little emotional support. So just look at this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!