Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In Eclipse, we develop plug-ins that extend the basic functionality of Eclipse itself. As we do not always want to run Eclipse with all the functionality there is, we can use Run Configurations to precisely specify the functionality we want.

  1. Click Debug Run > Debug Run Configurations...
  2. Right-click Eclipse Application and click New. Set the configuration's name to Eclipse Test.
  3. On the Plug-ins tab, set Launch with to plug-ins selected below only.
    1. Click Deselect All.
    2. Check the Workspace item in the tree.
    3. Check the org.eclipse.ui.ide.application plugins under Target Platform
    4. Click Add Required Plug-ins. Press it twice (just to be sure!).
  4. Click Apply to save your changes and then Debug to start an Eclipse instance to test with.
  5. In the newly started Eclipse, open the context menu of the Project Explorer.
  6. You should see a Hello Shouter entry which shouts out Hello if you press it.

...