Jump to: navigation, search

Difference between revisions of "ETrice/Development/PlatformSwitch"

(Switch of the Eclipse Platform)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Switch of the Eclipse Platform ==
+
== Switching the development platform to Kepler ==
  
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:
+
* download the modeling package of the new platform [http://www.eclipse.org/downloads/ download]
 +
* install following packages:
 +
** from Kepler update site:
 +
*** Xtext (includes Xtend automatically)
 +
*** Graphiti
 +
*** C/C++ Development Tools and C/C++ Development Tools SDK
 +
** from Google Guava update site: (Guava - http://guava-osgi.googlecode.com/svn/trunk/repository/)
 +
*** Google Guava: the old version 8.0 (needed by KIELER) - to see old versions uncheck "See only the latest version ..." - information: another version has already been installed as a dependency of Xtext
 +
** from eTrice KIELER update site: ( KIELER for eTrice http://download.eclipse.org/etrice/KIELER/kieler-0.7.1)
 +
*** KIELER: KIELER Layout - to see the plugins uncheck "Group items by category" - install Graphviz Support (both) and KIELER Layout for Graphiti (both) - information: plugin and source have the same name, Guava 8.0 has to be installed first
 +
* change the environment variable ETRICE_TARGET_PLATFORM point to new platform (e.g. .../kepler/eclipse)
  
'''all developers'''
+
== Only for the developers and release engineers that do the migration to a new eclipse version ==
* download the modeling package of the new platform
+
* install Buckminster (only as editor for resource map and component specifications needed)
* install
+
* make adjustments where necessary (e.g. API has changed)
** Xtext
+
* check the versions in make.xml, target convert of runtime.c.tests
** Xtend
+
* check the versions in make.xml, targets generate and convert of generator.java.tests and generator.c.tests
** Graphiti
+
* adjust the Buckminster resource map /org.eclipse.etrice.releng/build.rmap
** Guava (from Orbit) and Guava 8.0 from Google (needed by KIELER)
+
* launch and check the Hudson build
** KIELER
+
** Buckminter (only as editor for resource maps and component specifications)
+
* let ETRICE_TARGET_PLATFORM point to the new platform
+
* adjust the workspace settings for the compiler to 1.6
+
* choose a default 1.6 JRE (or even better a JDK)
+
 
+
'''has to be done once only and committed and pushed'''
+
* 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)
+

Latest revision as of 08:17, 3 July 2013

Switching the development platform to Kepler

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

  • download the modeling package of the new platform download
  • install following packages:
    • from Kepler update site:
      • Xtext (includes Xtend automatically)
      • Graphiti
      • C/C++ Development Tools and C/C++ Development Tools SDK
    • from Google Guava update site: (Guava - http://guava-osgi.googlecode.com/svn/trunk/repository/)
      • Google Guava: the old version 8.0 (needed by KIELER) - to see old versions uncheck "See only the latest version ..." - information: another version has already been installed as a dependency of Xtext
    • from eTrice KIELER update site: ( KIELER for eTrice http://download.eclipse.org/etrice/KIELER/kieler-0.7.1)
      • KIELER: KIELER Layout - to see the plugins uncheck "Group items by category" - install Graphviz Support (both) and KIELER Layout for Graphiti (both) - information: plugin and source have the same name, Guava 8.0 has to be installed first
  • change the environment variable ETRICE_TARGET_PLATFORM point to new platform (e.g. .../kepler/eclipse)

Only for the developers and release engineers that do the migration to a new eclipse version

  • install Buckminster (only as editor for resource map and component specifications needed)
  • make adjustments where necessary (e.g. API has changed)
  • 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