Home
   News
   About the project
   Language
   Compiler download
   Test suite
   Source Code @ CodePlex
   Blog on the programming model
   Zonnon @ OCP Forum
   Collection of examples

Zonnon plugin for Eclipse

Plugin includes Zonnon compiler for Rotor/Mono. If you do not need plugin unpack the archive and use command-line compiler from compiler folder. Go to download page to get the compiler.

Installation

  • Intsall Eclipse IDE
    http://download.eclipse.org/eclipse/downloads/
    Just unpack it. Please use Eclipse 3.0.1 (3.2.1 - recommended) or higher. You will need a 1.4.2 level or higher Java runtime or Java development kit (JDK) installed on your machine in order to run Eclipse. Get Java runtime.
  • Install Mono
    http://www.mono-project.com/Downloads
  • The archive ch.ethz.zonnon_x.x.x.zip contains one folder ch.ethz.zonnon_x.x.x You should unpack this folder into eclipse/plugins folder. So it should be eclipse/plugins/ch.ethz.zonnon_x.x.x
    Zonnon plugin already includes Zonnon Compiler for Rotor/Mono.
  • Restart Eclipse.
Please note that Zonnon plugin depends on the following other plugins:
org.eclipse.core.runtime
org.eclipse.ui
org.eclipse.jface.text
org.eclipse.ui.workbench.texteditor
org.eclipse.ui.editors
org.eclipse.ui.views
org.eclipse.debug.core
org.eclipse.jdt.launching
org.eclipse.debug.ui
org.eclipse.jdt.core
org.eclipse.core.resources
org.eclipse.ui.ide
org.eclipse.jdt.ui

If one of them is missing the Zonnon plugin will not work.

Please also note that in distribution, Debian-based Ubuntu, Eclipse is located at: /usr/lib/eclipse. There is a plugins subdirectory located here where all the plugins are placed that come packaged with Eclipse when it is installed. These get wiped clean and rewritten when Eclipse is updated. To avoid this process from wiping away user-installed plugins, like zonnon, there is a separate location to place them; it is: /usr/local/lib/eclipse/plugins In this subdirectory that you can place the zonnon compiler.

Usage notes

  • Turn off Project -> Build Automatically (otherwise compiler will be executed after each "save")
  • To create new project: File -> New -> Project ...
    Zonnon -> Create a new Zonnon project
  • To compile: Project -> Build All.
  • If there are compile errors use "Problems" view.
  • To run the example: Run -> Run...
    then select Zonnon Project and click "New" to create a new launch configuration.

To see how it should work download the version of this guide in PDF with screenshots.
Copyright © 2010 ETH Zurich, Switzerland