Search code examples
eclipseworkspace

Enterprise Configuration of Workspace mechanic


I am using Google's Workspace Mechanic to configure my eclipse environment. All seems to work fine, except that for any fresh installation, the workspace mechanic opens up with a default location of its own (~/.eclipse/mechanic) to look for preference files.

As given in their documentation i tried including their code

(/instance/com.google.eclipse.mechanic/mechanicSourceDirectories=/shared/eclipse/tasks\:${user_homedir}/.eclipse/mechanic)

in my plugin_customization.ini , but it does not work for me.

Does anyone have any other idea as to how to achieve this?


Solution

  • Under Windows, I found that when using the recent Eclipse Juno and the latest Workspace Mechanic I had to do the following:

    Edit the (Java EE):

    ...\Eclipse_Juno_SR1\plugins\org.eclipse.epp.package.jee_1.5.1.20120828-0743\plugin_customization.ini
    

    and add the following line at the end:

    com.google.eclipse.mechanic/mechanicSourceDirectories=c:\\...\\eclipse_extensions\\WorkspaceMechanics
    

    in order for the plugin to recognize the above directory as the shared folder... The plugin preferences now correctly references the folder !