User Tools

Site Tools


middleware:eclipse

Eclipse

For version 3.6.0 - Helios

Download

Configure

  • Select a workspace directory
    • We import existing projects, so this directory is not used. Set it to anything you want.
  • When the application starts for the first time, select 'Go to the workbench'

Plugins

Subclipse

For subversion client 1.6.x

  1. Select 'Help→Install New Software…'
  2. Click 'Add'
  3. Select 'all libraries except JavaHL and click 'Next'
  4. Click 'Next' after reviewing the install details
  5. Accept the license terms and then click 'Finish'
  6. Ignore any unsigned content warnings

m2eclipse

  1. Select 'Help→Install New Software…'
  2. Click 'Add'
  3. Select 'Maven Integration' and click 'Next'
  4. Click 'Next' after reviewing the install details
  5. Accept the license terms and then click 'Finish'

eclipse-cs

  1. Select 'Help→Install New Software…'
  2. Click 'Add'
  3. Select 'Eclipse Checkstyle Plug-in', check only the 5.x version, and click 'Next'
  4. Click 'Next' after reviewing the install details
  5. Accept the license terms and then click 'Finish'

SVN Configuration

Subclipse can be used to browse the subversion repository.

  1. Select 'Window→Open Perspective→Other…'
  2. Select 'SVN Repository Exploring'
  3. Right click in the 'SVN Repositories' window and select 'New→Repository Location…'
  4. Enter your password when prompted

Importing Projects

These instructions assume you are not managing your source code with Eclipse. Consequently you'll be importing the source code from it's already checked out location.

  1. Select 'File→Import…'
  2. Select 'General→Existing Projects into Workspace'
  3. Select a root directory by browsing to the source location
  4. Click 'Finish'

Code Style

To create a custom coding style:

  1. Select 'Preferences→Java→Code Style→Formatter'
  2. Click 'New' and create a Middleware formatter based on the built-in eclipse formatter.

Tab Width

  1. Select 'Preferences→Java→Code Style→Formatter→Edit' the Middleware style
  2. Under 'Indention':
    • Tab Policy: 'Spaces Only'
    • Indentation Size: 2
    • Tab Size: 2

Line Numbers

  1. Select 'Preferences→General→Editors→Text Editors
  2. Check 'Show line numbers'
middleware/eclipse.txt · Last modified: 2015/06/01 12:02 (external edit)