Setting up Eclipse to use Jigloo

The development tool Eclipse, which is set up in the CS domain, can be configured to use plugins installed in your own space. Whereas Java programs can be effectively created and run from the command line, using Eclipse makes things a lot easier. Make sure you source the file /local/config/cshrc.eclipse before you start. It' s a good idea to add this to your .cshrc startup file.

To set up your own Eclipse environment, follow these steps:

1. In your home directory use mkdir to create the following directory structure:

  • ~/eclipse-config
  • ~/eclipse-config/eclipse
  • ~/eclipse-config/eclipse/features
  • ~/eclipse-config/eclipse/plugins
  • ~/eclipse-config/workspace

2. In a file ~/eclipse-config/eclipse/.eclipseextension (note the . ), put the following (use you favorite text editor):

name=My Eclipse Configuration
id=my.eclipse.configuration
version=1.0.0

3. Start eclipse with the command:

eclipse -data ~/eclipse-config/workspace

This will start Eclipse with the workspace you just created.

4. Select Help/Software Updates/Manage Configuration. Click on "Add an Extension Location" and navigate to ~/eclipse-config/eclipse in the dialog. The settings for this end up permanently in you .eclipse directory. Exit from Eclipse.

5. Download the Jigloo Eclipse plugin from http://cloudgarden.com/jigloo and unzip it into your ~/eclipse-config/eclipse directory. The plugin will be placed in you plugins directory.

6. Run Eclipse with your new workspace, as above, and the plugin will be loaded from you own space.