Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2007

Tip: Looking for answers? Try searching our database.

Revision control for workspaces/projects

Thread view: 
Dylan Nicholson - 15 May 2007 02:55 GMT
Given that many if not most Java IDEs don't make use of a file to keep
track of what classes are actually part of a project or workspace, and
instead simply include all the .java files in a given directory, how
do most folks manage revision control for projects?  That is, say I
need to rewind back to an older version of a project which didn't
include a particular .java file: indeed, it wouldn't compile under
that version.  How do I avoid having to manually delete files every
time I do this?  And how would I be able to get an idea of what files
were added to the project at what points?  The CVS-based revision
control systems I've looked at don't seem to support this very well.
Sanjay - 15 May 2007 13:37 GMT
> The CVS-based revision
> control systems I've looked at don't seem to support this very well.

Which CVS based system did you use? I use CVS and I can do all the
things you mentioned here.
Lew - 15 May 2007 13:41 GMT
>> The CVS-based revision
>> control systems I've looked at don't seem to support this very well.
>
> Which CVS based system did you use? I use CVS and I can do all the
> things you mentioned here.

To the OP: Perusal of
<http://ximbiot.com/cvs/wiki/index.php?title=CVS--Concurrent_Versions_System_v1.1
2.12.1
>
should give you the information you need to accomplish your goals.

Signature

Lew

Dylan Nicholson - 16 May 2007 00:34 GMT
> > The CVS-based revision
> > control systems I've looked at don't seem to support this very well.
>
> Which CVS based system did you use? I use CVS and I can do all the
> things you mentioned here.

Looks like I was using the wrong command.  I'm using Eclipse
+Subversion and it seems that you can safely revert back to an older
version of a project (=directory), and the files will be deleted as
expected...just not by using the "Revert" command!  I *think* the
version comparison is working, although I can't seem to be able to
select any two revisions of the project/workspace from the history and
do a compare...it will only let me compare the current version with a
particular revision (I can get a diff between any two revisions of a
given file inside the workspace just fine).
Sanjay - 16 May 2007 06:25 GMT
> Looks like I was using the wrong command.  I'm using Eclipse
> +Subversion and it seems that you can safely revert back to an older
[quoted text clipped - 5 lines]
> particular revision (I can get a diff between any two revisions of a
> given file inside the workspace just fine).

Well, I am not really an expert using  Subversion. I just recently
installed and added a project to it. I would suggest you use frontend
tools like TortoiseSVN (in case you are using Windows).


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.