- This topic has 4 replies, 2 voices, and was last updated 19 years, 3 months ago by
Scott Anderson.
-
AuthorPosts
-
DisgruntledMemberOur development team is just getting started with MyEclipse. We use Microsoft SourceSafe for source control. We are confused on how developers can add files to a MyEclipse project and get them into the other developers copies of the project.
It’s easy to add a file to a MyEclipse project, then add that file to SourceSafe. When another developer gets the latest version of the project the new files are copied to their source folder (Eclipse workspace). However, it seems that the only way to get the new files recognized as being part of their MyEclipse project is to use the Import tool. The import tool won’t let you add a file that’s already under the source tree though meaning we would have to move the files somehwere else first then import then. This seems so cumbersome. There must be an easier way that we are just not seeing. A big problem with this too is that we would need to communicate the fact that new files have been added so the other developers can Import them into their copy of the project.
Does MyEclipse have a project file that lists the modules in each project that can be added to SourceControl?
Thanks,
Bryan
Scott AndersonParticipantBryan,
I’ll see if I can help out and change you from ‘disgruntled’ back to ‘perfectly gruntled’. 🙂
MyEclipse comes with built in support for the CVS version management system but does not support VSS out of the box. From your description it sounds like you’re using an external VSS client to update your projects and since this happens outside of MyEclipse it isn’t aware of the changes, which is necessitation the need for an Import… (or at least a Refresh of the project). The best way to resolve the issue is to install a VSS client plugin written for Eclipse. Although we don’t provide one, there is one listed on EPIC here: http://www.eclipseplugincentral.com/Web_Links+index-req-viewlink-cid-266.html Our consulting group has used it in the past with good results. Just navigate to the homepage and follow the installation instructions for connecting to your VSS repository and that should resolve the issue. (Or, if you can change from VSS to CVS, that would work well too).
DisgruntledMemberThanks for the suggestion Scott. I’ll take a look at the VSS plugin today.
Out of curiosity, where is the magical place that Eclipse project info is stored? None of the files in my workspace seem to change when I add files to a project. I see there is a file named .project that I would have guessed stored this info, but it doesn’t seem to change when the project settings are changed.
Bryan
DisgruntledMemberI can see now that the Refresh tool in the Package Explorer accomplishes what we need. It adds any new files or folders to the workspace. We just have to remember to refresh after getting the latest version of the project from VSS. This will work fine.
Bryan
Scott AndersonParticipantBryan,
I’m glad you found the “Refresh” functionality. I aluded to it in my first post, but didn’t really explain how it was used. As you’ve found, Eclipse doesn’t automatically find additions / deletions to projects that are done externally from it. Refresh is what makes it go and check. If that’s an acceptable model for you then I suppose you can hold off on the VSS plugin, but you might want to give it a go when you have a little free time just to see if it improves your work experience enough.
In any event, glad we got you were you needed to be (ie. gruntled). 😉
-
AuthorPosts