Best Practice to distribute a Eclipse setup for a project?

I'm looking for some best practices to rollout/setup a complete project setup with Eclipse to my dev team.

It's a maven based project that will work without Eclipse. But we want to distribute a preconfigure Eclipse version that have all plugins installed, we want to have a local update site to rollout update of this setup and so on.

Is there any good way to achieve this kind of setup? I know that i can provide a update site which contain some plugins, but can i define a set of plugins?

Is it possible that Eclipse pmd, Checkstyle, Findbugs and the code formatter use the settings from Maven?

Here are the two most important questions for me:

  • How to define a plugin set for an Eclipse installation, so that all developers have the same set of plugins installed.
  • Any way to use the configurations from pmd, Findbugs, Checkstyle and code formatter from Maven to be used inside eclipse

  • Beside of your Eclipse installation via update site, here a possible plugin to manage configurations (question 2):

    To distribute any settings of 'window-preference' to your whole dev team I can recomment 'workspace mechanics'.

    You can record your settings and then provide them via your dev server.

    If you distribute a shared Eclipse it's also easy to provide the proper workspace mechanics URL for any Eclipse installation (see Enterprise Configuration of Workspace mechanic).

    Changes to the settings are checked on startup and the developers are always up to date.

    Further information can be found on the official project page: https://code.google.com/a/eclipselabs.org/p/workspacemechanic/



    This is part of a Development-Handbook in your Team!

    All important plugins contains support for external configuration, also checkstyle, code-formatter and findbugs.

    Distribute those configurations in a single website.

    code-formatter: Open window -> preferernces Java > Code-style > formatter -> Import and specify the configuration from a website you created (its a file dialog but you can specify uri's also).

    Checkstyle: Open window -> preferernces > Checkstyle and press New ... then choose External Configuration File

    Findbugs: similar to Checkstyle.

    There is no other way. We use a wiki to distribute the Development-Handbook and the Configuration.

    链接地址: http://www.djcxy.com/p/50738.html

    上一篇: 我该如何整合phpunit和Hudson CI?

    下一篇: 为项目分发Eclipse设置的最佳实践?