Jump to: navigation, search

Difference between revisions of "ETrice/Development/PlatformSwitch"

(Switch of the Eclipse Platform)
Line 1: Line 1:
 
== Switch of the Eclipse Platform ==
 
== Switch of the Eclipse Platform ==
  
Recently we developed eTrice on the base of the Juno platform. Now we switched to Kepler.
+
Previously eTrice was developed against Juno.
 +
Now we switched to Kepler.
  
There are a couple of things that should be carefully done and checked to make the transition as smooth as possible:
 
 
'''all developers'''
 
 
* download the modeling package of the new platform
 
* download the modeling package of the new platform
 
* install
 
* install
Line 11: Line 9:
 
** Xtend
 
** Xtend
 
** Graphiti
 
** Graphiti
** Guava (from Orbit) and Guava 8.0 from Google (needed by KIELER)
+
** Google Guava (from Orbit) and also the old version 8.0 (needed by KIELER) from Google
 
** KIELER
 
** KIELER
** Buckminter (only as editor for resource maps and component specifications)
+
** Buckminster (only as editor for resource map and component specifications needed)
* let ETRICE_TARGET_PLATFORM point to the new platform
+
* make adjustments where necessary (e.g. API has changed)
* adjust the workspace settings for the compiler to 1.6
+
* let ETRICE_TARGET_PLATFORM point to new platform
* choose a default 1.6 JRE (or even better a JDK)
+
* check the versions in make.xml, target convert of runtime.c.tests
* switch off Team->Git->Projects-> Auto ignore derived resources... (because this clutters xtend-gen with .gitignore files)
+
* check the versions in make.xml, targets generate and convert of generator.java.tests and generator.c.tests
 
+
* adjust the Buckminster resource map /org.eclipse.etrice.releng/build.rmap
'''has to be done once only and committed and pushed'''
+
* launch and check the Hudson build
* adjust the class path version numbers of
+
** /org.eclipse.etrice.runtime.c.tests/make.xml, target convert
+
** /org.eclipse.etrice.generator.java.tests/make.xml, targets generate and convert
+
** /org.eclipse.etrice.generator.c.tests/make.xml, targets generate and convert
+
* adjust the Buckminster resource map /org.eclipse.etrice.releng/build.rmap to the new platform
+
* push to Hudson and test the build
+
 
+
[[User:Hrr.protos.de|Hrr.protos.de]] 08:37, 2 July 2013 (UTC)
+

Revision as of 05:53, 2 July 2013

Switch of the Eclipse Platform

Previously eTrice was developed against Juno. Now we switched to Kepler.

  • download the modeling package of the new platform
  • install
    • Xtext
    • Xtend
    • Graphiti
    • Google Guava (from Orbit) and also the old version 8.0 (needed by KIELER) from Google
    • KIELER
    • Buckminster (only as editor for resource map and component specifications needed)
  • make adjustments where necessary (e.g. API has changed)
  • let ETRICE_TARGET_PLATFORM point to new platform
  • check the versions in make.xml, target convert of runtime.c.tests
  • check the versions in make.xml, targets generate and convert of generator.java.tests and generator.c.tests
  • adjust the Buckminster resource map /org.eclipse.etrice.releng/build.rmap
  • launch and check the Hudson build