Changes between Version 6 and Version 7 of UsingAsapRealizerInEclipse


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

--

Legend:

Unmodified
Added
Removed
Modified
  • UsingAsapRealizerInEclipse

    v6 v7  
    4040    a. now use resolve the libraries for your project, using {{{ant resolve}}}, {{{ant compile list}}}, etc (see also http://asap-project.ewi.utwente.nl/wiki/BuildSystem) 
    4141    a. Now, all required libraries, in the version for your OS and machine, are in `HmiDemo/MyFirstProject/lib` 
    42  2. Second, create the eclipse project files, again using an ant script 
     42 
     43== STEP 3: Generate eclipse project files  == 
     44 1. Second, create the eclipse project files, again using an ant script 
    4345    a. Sane people: {{{ant eclipseproject}}} 
    4446    a. Herwin: {{{ant eclipsesourceproject}}} 
    4547The 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. 
    4648 
    47 == STEP 3: Adding/changing library dependencies, resources, etc. == 
     49== STEP 4: Opening the project in eclipse 
     50The generated project file can now be opened in eclipse, using either file->import->general->existing projects into workspace.  
     51Alternatively, if you'd like to use git in eclipse, open the Git Repositories view, right-click on the working directory of the git repository of your project, select import project, select the directory of your project and click finish. 
     52 
     53== STEP 5: Adding/changing library dependencies, resources, etc. == 
    4854It 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.  
    49 This way your project will also work with ant, and others can easily reconstruct eclipse project files for it. After recreating the project file, you can simply refresh the project in eclipse. You can also easily switch between resolved alpha dependencies and release dependencies in this way.  {{{ant eclipseproject/eclipsesourceproject}}} will automatically put resources specified in resource.path and test.resource.path in the project's build.properties on the project's classpath. 
     55This way your project will also work compile and run in ant and others can easily reconstruct eclipse project files for it. After recreating the project file, you can simply refresh the project in eclipse. You can also easily switch between resolved alpha dependencies and release dependencies in this way.  {{{ant eclipseproject/eclipsesourceproject}}} will automatically put resources specified in resource.path and test.resource.path in the project's build.properties on the project's classpath. 
    5056 
    51 == STEP 4: set a few virtual machine variables == 
     57== STEP 6: set a few virtual machine variables == 
    5258For running your project, you need to set a few additional settings in "run configuration" dialog for your main class 
    5359 1. tab "arguments", VM arguments, add  
     
    6066 1. add {{{-Dlogback.configurationFile=LogbackConfigs/warnlogstdout.xml}}} or any other config file to specify your logging (see ProgrammingGuidelines) 
    6167 1. Add a relative path from you project directory to the proejct root: {{{-Dshared.project.root="../.."}}} 
    62