Getting started

From SemanticLab

Jump to: navigation, search

Prerequisites for this tutorial

  • Eclipse with subversive plugin installed
  • The course instructor has already created your plugin.s12.projectname directory.

Step by step

  1. Check out the source code (svn project)
  2. Start the program -- use the main method from Manager.java
  3. De-Select ALL plugins in the selection menu. We want a clean start. (You can and should later experiment with activating existing plugins to get inspiration and learn from other students effort and experience).
  4. Only select the "test" plugin -- have a look at the "plugin.xml" file and the source code (Chickie.java)
  5. Start your own project with a mini example
    1. Copy the sample plugin.xml + Java-Code from Configuration Files for NPC, or Chickie.java for PC
    2. Import images (if necessary) with (right mouse button on your project) -> Import -> General -> File System
    3. Adapt the files (directories, Java class name, etc)
    4. Make it run
  6. Have a look at the Surfman plugin to see some additional basic features

Next steps After your simple mini-plugin runs,

  1. Have a look at other plugins from former semesters
  2. Study wiki documentation etc.
  3. Adapt and experiment ...
Personal tools