Changes between Version 5 and Version 6 of UsingElckerlycInEclipse


Ignore:
Timestamp:
07/14/11 12:39:57 (8 years ago)
Author:
dennisr
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UsingElckerlycInEclipse

    v5 v6  
    22 
    33== Setting up project structure == 
    4 First, you need to set up projects in Eclipse for the various modules that you want to compile. 
     4First, you need to set up projects in Eclipse for the various modules that you want to compile. The process is slightly different when you work from the source SVN or when you work from the released binaries. 
    55 
    66=== Setting up project structure via SVN in Eclipse === 
    7 If you use the source releases from Elckerlyc, you need to set up SVN in Eclipse. 
     7If you use the source releases from Elckerlyc, you need to set up SVN in Eclipse, check out the modules from the repository, and make them into an Eclipse project. 
    88 
    99 1. Get the svn plugin from http://subclipse.tigris.org/ and install it 
    1010 1. 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: 
    1111{{{ 
    12 <projectroot>/HmiShared/ant 
    13 <projectroot>/HmiShared/docs 
    14 <projectroot>/HmiShared/repository 
     12<svnroot>/HmiShared/ant 
     13<svnroot>/HmiShared/docs 
     14<svnroot>/HmiShared/repository 
    1515...etc 
    16 <projectroot>/HmiDemo/MyFirstProject 
    17 <projectroot>/HmiDemo/HmiAnimationDemo 
     16<svnroot>/HmiDemo/MyFirstProject 
     17<svnroot>/HmiDemo/HmiAnimationDemo 
    1818...etc 
    19 <projectroot>/Hmi/HmiBml 
    20 <projectroot>/Hmi/HmiAnimation 
     19<svnroot>/Hmi/HmiBml 
     20<svnroot>/Hmi/HmiAnimation 
    2121....etc 
    2222}}} 
     
    3333    a. Press next 
    3434    a. set the output folder to !MyFirstProject/build/classes 
     35    a. go to the next step to add required libraries to the build path 
    3536 
    3637=== Setting up project structure in Eclipse from the binary release of Elckerlyc === 
     38 1. We assume that you have downloaded the Elckerlyc release files, and have a directory structure as follows: 
     39{{{ 
     40<projectroot>/HmiShared/ant 
     41<projectroot>/HmiShared/docs 
     42<projectroot>/HmiShared/repository 
     43...etc 
     44<projectroot>/HmiDemo/MyFirstProject 
     45<projectroot>/HmiDemo/HmiAnimationDemo 
     46....etc 
     47}}} 
     48 1. In Eclipse menu: `file->new->new java project` 
     49 1. In the "new project-create a java project" wizard dialog, '''uncheck''' `use default location`;  
     50 1. as "location" you fill out the directory of the project (in our case, `<projectroot>/HmiDemo/MyFirstProject`). The project name will be automatically changed (to !MyFirstProject) 
     51 1. Press next 
     52 1. set the output folder to !MyFirstProject/build/classes 
     53 1. go to the next step to add required libraries to the build path 
    3754 
     55=== Adding Elckerlyc to your existing Eclipse project === 
     56Don't make new project; do the "resolve" step for myfirstproject (see below) --> everything you need is now in myfirstproject/lib 
     57copy it to your existing project, add it to the classpath; don't forget lib_ld_path and resourcez (see below) 
     58note that several of these libraries are machine or OS dependent --> e.g., to get the set of libraries for a mac64, resolve myfirstproject on a mac64 
    3859 
    3960== Set build paths to include dependent libraries ==