开发者

Eclipse development in a group

I know that similar questions were already asked, but still I do not see a good solution.

Our group is developing using Eclipse (Java, C++, Groovy) on Linux. We are using ClearCase with dynamic views.

I want that people will be able to use full eclipse workspace, prepared and maintained for me. I need that list of projects (we generate eclipse proje开发者_运维技巧cts from maven pom), code style preferences, save actions and many other things will be shared between people.

I tried to put workspace to source control, but it contains a lot of file, most of which are not relevant and it is hard to maintain on every change.

In IDEA it is simple - just one xml file for workspace, which easily can be placed to source control.

How can I do it with Eclipse?

Thank you


If you want to share your project settings with source control, do not put the whole workspace to source control, use project-specific settings. If you select Properties from the context menu of a project you can see various preference pages where you can 'override' the workspace settings for this specific project. If you do this, a .settings folder is created within the project folder and you only have to commit this extra folder with the files within to share your project preferences.

For a java project you can share code templates, formatters, compiler settings, task tags and java editor save actions in this way. Combined this with the Team Project Sets lothar mentioned or with sharing only Maven POMs 'by hand' between developers can be a good start.

If you want more sophisticated 'workspace provisioning' you can try Yoxos 5. It is currently in beta, but it is very promising. You can try it free with creating local profiles to see the capabilities of their workspace provisioning feature (including Team Project Sets and Preferences). However, for sharing Yoxos profiles you have to pay a subscription fee after the beta period.


I found the following the simplest solution:

  1. Configure your workspace formatter, code style, etc.
  2. Use File->Export->General->Preferences
  3. Save those preferences to file
  4. On any new workspace you work with File->Import->General->Preferences
  5. You're done!


At the Eclipseday 2010 at Google SonaType presented Proviso, a tool for developer onboarding. It seems to do exactly what you are asking for, so you might want to contact them. AFAIK the tool is not public yet, but you may be able to get into some beta program.

In case you can not get Proviso you can use Project Set Files to define what projects are to be imported to your workspace.

You can also export and import preference settings, but be careful, as plugins may store file paths absolute in the preferences and these absolute paths may not work when imported by another user on another machine.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜