- This topic has 8 replies, 4 voices, and was last updated 16 years, 10 months ago by Riyad Kalla.
-
AuthorPosts
-
bortMemberHi all
This question doesn’t have to do with MyEclipse in particular, but rather has to do with development procedure within a team environment. There seem to be a bunch of you who know what you’re talking about, so I thought I’d post my query here.
I’m on a large project with a team of developers, all working off the same CVS branch. Each of us is working on different parts (ie. different src files) which may or may not overlap. After we complete some (or all) of our development, we are to committ our code to the CVS for everyone to have access to.
My question is, aside from keeping handwritten notes, is there a way to flag the files that I’ve modified, so I know which files to check back into the CVS? What process/procedure do you guys use?
bort
Scott AndersonParticipantbort,
First, it’s typically best simply to sychronize the entire project so all outgoing and incoming changes can be viewed at once. If there are incoming changes we recommend taking them then verifying that your functionality is still good before committing outgoing changes.
However, sometimes it’s really convenient just to sync a few files and Eclipse will show you which ones you’ve modified at any time if you tell it too. Just turn on the option at: Window > Preferences > Team > CVS > Label Decorations > Icons > “Indicate is Outgoing”. Then you’ll see a little ‘>’ as a decorator for each modified file.
Riyad KallaMemberbort,
Scott has a great suggestion (marking outgoing files), but its usually good practice to develop like:1) Sit down at beginning of day
2) Update from CVS to get any and all changes
3) Work for a few hours, or all day
4) Update again from CVS to get all changes that occured while you were working
*5) (optional) fix any breaks that occured due to new code
6) Commit all your code changes to CVS
7) Go home.Scott also brought up using “Synchronize” which will do a quick diff against the repository and your local machine, then show you a view with all files that need to be updated (from CVS to your machine) and all changes that need to be commited (from your machine to CVS).
If your server is a Linux/Unix CVS server, Synchronize will work nicely, if you are using a CVSNT CVS server on Windows, then Synchronize will barf when it can’t pull down proper file revisions for non existant files (for example, you added a new file to your project that you haven’t committed yet).
bortMemberScott & Riyad
Thanks for the suggestions. I like the schedule that you laid out Riyad… may be a good way to do things. I also set the “Indicate as Outgoing” flag on so that should help as well. The idea of synchrozied also sounds like a good way to do things. I’ve never actually tried it, but if it works the way you’ve described it may be the solution to all my woes.
Fortunately, we’re using CVS on LINUX/UNIX… so we’ll be ok.
bort
bortMemberHmmm… I just changed a file and saved it, but I didn’t get the ‘>’ beside the filename. I’m looking at everything in the Package Explorer….
do I need to set something else up?
bort
bortMemberAh… never mind… found the problem…
Window > Preferences > Workbench > Label Decorations > CVS wasn’t checked… it is now, and I have a crap load of stuff.
Riyad KallaMemberit is now, and I have a crap load of stuff.
Haha, I know what you mean, it might get distracting after a while. But after you guys have your CVS dev strategy in place, it might not be as important to keep the decorations around.
Anyway, glad you are up and running with it.
Richard W. EllisMemberIn MyEclipse 6.0 Preferences>General>Appearance>Label Decorations I see text descriptions of quite a few possible label decorations. Then on my icons I see decorations such as “S” or “J” etc. Is there anywhere I can go to see what a visual indicator of “S” or “J” means? i.e., is there anywhere all the possible label decorations appear both visually and with text descriptions?
Thanks,
Dick Ellis
Riyad KallaMemberDick,
I don’t have a single matrix of all the decorators available, because each plugin and feature might contribute it’s own, but the quickest way to get ahold of most of them is to pop open helpHelp > Help Contents
then search for “decorators”, and you’ll get a list of the pages that describe them and give examples of them, see an example below:
Attachments:
You must be logged in to view attached files. -
AuthorPosts