Running The Tutorial Example

To run the tutorial example, please do the following in Eclipse:

  1. Select package “com.tensegrity.firststeps.repository” or “com.tensegrity.firststeps.swt.repository” with the left mouse button.

  2. Select the menu “Run”.

  3. Select the child menu “run as”.

  4. Select “Java Application

  5. The main method from the “RespositoryExample.java” compiled class will be executed.

Note

Running the SWT-based example as described above you will probably encounter an error of this type: “java.lang.UnsatisfiedLinkError: no swt-win32-3062 in java.library.path”. Please refer to the note in section “Running The Tutorial Example” of chapter “Hello Node” in order to see how to overcome this issue.

Figure 5.1. Repository Elements in a Document

Repository Elements in a Document

The repository elements shown above are defined in various xml files discussed in the remainder of this chapter.