Setting Up Eclipse for SWeDE Plugins Development

  1. Avoid crowding your current workspace

    Everything in Eclipse is a plugin. Thus a single feature may involve multiple plugin projects. Your normal Eclipse workspace can quickly become crowded. To avoid this, it is best to setup a separate workspace for plugin development.
    1. Create a directory for your plugin workspace (e.g. C:\pi_workspace)
    2. Create a copy of your Eclipse shortcut that calls eclipse.exe -data pi_workspace_dir (e.g. c:\eclipse\eclipse.exe -data c:\pi_workspace)
    3. Start your normal Eclipse environment, select Preferences from the Window menu and Export your settings to a file.
    4. Start your new Plugin Eclipse environment, select Preferences from the Window menu and Import that file.
  2. Import Eclipse Core Plugins into Workspace

    The core plugins from Eclipse must be in your workspace so that your new plugins can see them.
    1. Switch to the Java perspective (Window->Open Perspective->Java)
    2. File->Import...->External Plug-ins and Fragments. Accept the defaults on the next page.
    3. Click Select All to import all plugins and click Finish. Your workspace should now be filled with about 67 projects.
    4. Select Filters from the pull-down menu on the Package Explorer and select Binary plug-in and feature projects in the subsequent dialog. This will hide all of the core eclipse plugins from your view.
  3. Import SWeDE Plugin Projects

    If you do not already have the SWeDE Plugin projects downloaded from CVS on SemWebCentral, do so now.
       Checking out the SWeDE source code should create the following directories:
          owl-eclipse/
             com.bbn.swede.core/
             com.bbn.swede.editor/
             com.bbn.swede.feature/
             com.bbn.swede.help/
             com.bbn.swede.library.dumpont/
             com.bbn.swede.library.kazuki/
             com.bbn.swede.library.vowlidator/
             com.bbn.swede.site/
             com.bbn.swede.ui/
             com.bbn.swede.ui.wizards/
             com.bbn.swede.view/
             com.bbn.swede.viz/
             homepage/
             org.daml.jena/
             org.daml.jena.feature/
             org.daml.jena.site/
       
  4. Run

    The projects are imported and ready to be tested.
    1. Test the plugins (Run->Run As->Run-time Workbench). This will start a second copy of Eclipse.
    2. Switch to the Semantic Web Perspective (Window->Open Perspective->Other->Semantic Web)
Copyright (c) 1999-2004, BBN Technologies, LLC. All rights reserved.