Workspaces and CVS [message #54798] |
Tue, 19 April 2005 12:31  |
Eclipse User |
|
|
|
Originally posted by: cimmerian76.hotmail.com
I work for a small company that has decided to put its software package
developed with Eclipse 3.0.2 under configuration management and a few
general questions have come up.
The main question is how can someone check out the project's files for the
first time from the repository and be able to maintain any workspace
settings that are/were associated with that project in Eclipse (i.e. debug
options, ANT build scripts, .jar locations, etc.)?
Is it as simple as committing the .metadata folder and .project files along
with the resources so that when a someone checks out the files, the
workspace settings are checked out as well? Or is that unwise? Is it
possible to control which parts of .metadata go into the repository?
Basically, we are trying to make creating a new workspace/sandbox for the
package as painless as possible. We don't want to have to reset all the
workspace preferences every time someone new checks out the project since it
is fairly complex and would be time consuming.
|
|
|
|
|
Re: Workspaces and CVS [message #55899 is a reply to message #55577] |
Wed, 20 April 2005 17:51  |
Eclipse User |
|
|
|
Originally posted by: duncan.krebsnet.com
> First, is it possible to set up user specific privileges that limits some
> people's abilities to check in possible changes to .classpath or .project
> files, i.e. perhaps a user changed certain debug preferences that we don't
> want carried back into the repository?
I'm sure it is but that sounds like something that would have to be
configured inside the CVS server and not in eclipse. For example I'm sure
you could create two cvs logins. One that lets users commit .project and
class files and another account that does not.
> One idea we had for getting around that is branching off if someone needs to
> make changes to the workspace environment and then merging back once they
> finished what they are doing. So the next question, is it possible to merge
> ..classpath and .project files that have been branched? Is it a good idea
to
> do so?
Sounds too messy. I also would not really worry about it too much because
a lot of workspace specific configuration stuff including debugging is
stored in the users local workspace and not in the .classpath and .proejct
files. I'd suggest starting by committing one project to the repository
and have your developers get together and walk through the process of
checking out projects and see what breaks.
|
|
|
Powered by
FUDForum. Page generated in 0.13107 seconds