Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Version control in eclipse indigo

 
Govinda Gopala
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am new to eclipse
but it is a fab tool
i heard there are many plugins available which makes working in eclipse easy

just wanted to know how to do the version control in eclipse

i use indigo
inorder to take backup

i copy my workspace everytime is there any tool which makes this thing happen in eclipse itself


also

everytime i design/modify a jsp i have to run inorder to see the changes

is there any way to see the changes instantly(like a preview function)

hoping you guys will help

thanks
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
CVS integration is built into Eclipse. In addition, there are plugins for many open-source and commercial source control systems including Subversion, Mercurial and git.

And regarding the JSP viewer, I think you are looking for a WYSIWYG editor for JSPs. I know that JBoss Tools provides such an editor, there might also be others.
 
Govinda Gopala
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much peter

atleast now i know what i have to search for

you said CVS is inbuilt how to use/access that in indigo?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18009
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most version control systems are client/server systems. That is because version control goes hand-in-hand with team-based software development. So, in most - but not all - cases of version control, you need a version control server. CVS is one such system. You can run the server on a shared machine, or on your own local machine (it's not very big).

Actually, although CVS is built in, it's no longer as popular as it used to be, since CVS has a few limitations - you cannot archive empty directories, and CVS is totally incapable of tracking renamed files or deleted directories. So for the most part, people use Subversion (svn) these days. Subversion is a lot like CVS, but knows about the items I just mentioned. There are 2 different plugins to choose from for svn, but you do have to download and install one of them yourself, since they're not integrated into Eclipse. And, of course, you also would need to download and install the Subversion server.

There are other choices as well. Some open-source software projects (such as Xen) use Mercurial. Linus Torvalds developed Git, which is what the master source code for the Linux operating system uses.

And, of course, there are still a few people who use commercial source-code management systems such as SourceSafe and PVCS.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll echo Tim's comments, I wouldn't bother setting up CVS. But if you don't want to set up a Subversion server, Git or Mercurial would be better. They maintain their repository on your PC in a hidden directory right next to the code you are working on. I usually use git for my toy and experimental projects, where I want to keep track of versions of code, because then I don't need access to a Subversion server.
 
Ravi Shankarappa
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can SVN be setup on a same machine that I use for development?

-Ravi
 
Paul Clapham
Sheriff
Pie
Posts: 20757
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic