wiki:UsingElckerlycInEclipse

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

--

Using Elckerlyc in an Eclipse project

Setting up project structure

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  http://subclipse.tigris.org/ 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:
    <projectroot>/HmiShared/ant
    <projectroot>/HmiShared/docs
    <projectroot>/HmiShared/repository
    ...etc
    <projectroot>/HmiDemo/MyFirstProject
    <projectroot>/HmiDemo/HmiAnimationDemo
    ...etc
    <projectroot>/Hmi/HmiBml
    <projectroot>/Hmi/HmiAnimation
    ....etc
    
  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 ( http://hmisvn.ewi.utwente.nl/elckerlyc)
    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; ...

User contributions

Discussion

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