Version 5 (modified by dennisr, 8 years ago) (diff)


Using Elckerlyc in an Eclipse project

Setting up project structure

First, you need to set up projects in Eclipse for the various modules that you want to compile.

Setting up project structure via SVN in Eclipse

If you use the source releases from Elckerlyc, you need to set up SVN in Eclipse.

  1. Get the svn plugin from and install it
  2. Check out the source repository by hand (using SmartSvn, Tortoise, or any tool of your choice). Typical directory setup when you have checked out the SVN:
  3. Now you have to create separate Eclipse projects for a selection of the modules that are in SVN. Say, for example, that you want to make an Eclipse project of HmiDemo/MyFirstProject.
    1. In eclipse menu: window->open perspective->other->SVN repository exploring
    2. Click right mouse in the SVN Repository tab, choose "new repository location"
    3. Enter the URL of the repository (
    4. browse through the SVN tree to the project that you want to build in Eclipse (HmiDemo/MyFirstProject)
    5. Right mouse on that module; choose Checkout (again!)
    6. Select as new project configuration using the new project wizard
    7. In the "new project-select a wizard" dialog, select "Java Project" and choose 'next'
    8. In the "new project-create a java project" wizard dialog, uncheck use default location;
    9. as "location" you fill out the directory of the project (in our case, <svnroot>/HmiDemo/MyFirstProject). The project name will be automatically changed (to MyFirstProject)
    10. Press next
    11. set the output folder to MyFirstProject/build/classes

Setting up project structure in Eclipse from the binary release of Elckerlyc

Set build paths to include dependent libraries

you need the right versions (for your machine and operating system) of all dependent libraries in the project classpath;

Set build paths to include required resources

add the various resources to the project classpath;

set a few virtual machine variables

(lib path? memory stuff; ...

Project dependencies

The above explanation allows you to build one of the HMI modules in Eclipse. If you follow the above instructions, each module depends on a released version of the other modules. It is possible that you want to work on several of these modules at the same time, having each be dependent on the latest source versions of the other modules. You achieve this through the following steps.

  1. in the 'project properties' dialog, go to Java Build Path
  2. In the tab "libraries", remove the released jar version of the required project from the class path of the project
  3. in the tab "projects", add the required project

User contributions


If you need more details, or have additional suggestions: post a reply to this message.