Changes between Version 4 and Version 5 of UsingAsapRealizerInEclipse


Ignore:
Timestamp:
04/25/12 11:04:34 (7 years ago)
Author:
welberge
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UsingAsapRealizerInEclipse

    v4 v5  
    4141    a. Now, all required libraries, in the version for your OS and machine, are in `HmiDemo/MyFirstProject/lib` 
    4242 2. Second, create the eclipse project files, again using an ant script 
     43    a. Sane people: {{{ant eclipseproject}}} 
     44    a. Herwin: {{{ant eclipsesourceproject}}} 
     45The first will create an independent eclipse project file with dependencies on the jar files that were resolved in the lib directory. The second will create an eclipse project file in which the rebuild.list is linked to other eclipse projects. This option is only useful if you are very deeply involved in the development of AsapRealizer. 
    4346 
    44 ==== Variant B.1 (Sane people) 
     47== STEP 3: Adding libraries, resources, etc. == 
     48It is strongly recommended that you do not manually edit your project configuration in eclipse, but instead regenerate the project using step 2 whenever library dependencies change and/or new resource dependencies are added.  
     49After recreating the project file, you can simply refresh the project in eclipse. 
    4550 
    46 ==== Variant B.2 (Herwin) 
     51== STEP 4: set a few virtual machine variables == 
     52For running your project, you need to set a few additional settings in "run configuration" dialog for your main class 
     53 1. tab "arguments", VM arguments, add  
     54{{{ 
     55-Djava.library.path="lib" 
     56-Xms128m  
     57-Xmx512m   
     58-Xss5M 
     59}}} 
     60 1. add {{{-Dlogback.configurationFile=LogbackConfigs/warnlogstdout.xml}}} or any other config file to specify your logging (see ProgrammingGuidelines) 
     61 1. Add a relative path from you project directory to the proejct root: {{{-Dshared.project.root="../.."}}} 
    4762