Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "ETrice/Development/GettingStartedWithEtrice"

Line 3: Line 3:
 
# Download and run [https://wiki.eclipse.org/Eclipse_Installer Oomph installer]
 
# Download and run [https://wiki.eclipse.org/Eclipse_Installer Oomph installer]
 
# Switch to ''Advanced Mode''
 
# Switch to ''Advanced Mode''
 +
[[File:eTrice_oomph_advancedMode.png|thumbnail|upright|center]]
 
# Select desired Eclipse product + version, e.g. ''Eclipse IDE for Eclipse Committer''
 
# Select desired Eclipse product + version, e.g. ''Eclipse IDE for Eclipse Committer''
 +
# Optional for commiters: set your shh key
 +
[[File:eTrice_oomph_etrice_ssh.png|thumbnail|upright|center]]
 
# Download setup file [http://git.eclipse.org/c/etrice/org.eclipse.etrice.git/plain/team/ETrice.setup ETrice.setup]
 
# Download setup file [http://git.eclipse.org/c/etrice/org.eclipse.etrice.git/plain/team/ETrice.setup ETrice.setup]
 
# Add ''eTrice.setup'' to catalog
 
# Add ''eTrice.setup'' to catalog
 +
[[File:eTrice_oomph_eTriceSetup.png|thumbnail|upright|center]]
 +
# Configure your personal installation
 +
[[File:eTrice_oomph_etriceConfig.png|thumbnail|upright|center]]
  
 
TODO: add eTrice to official Eclipse catalog
 
TODO: add eTrice to official Eclipse catalog

Revision as of 12:29, 13 October 2017

Oomph eTrice Setup

  1. Download and run Oomph installer
  2. Switch to Advanced Mode
ETrice oomph advancedMode.png
  1. Select desired Eclipse product + version, e.g. Eclipse IDE for Eclipse Committer
  2. Optional for commiters: set your shh key
ETrice oomph etrice ssh.png
  1. Download setup file ETrice.setup
  2. Add eTrice.setup to catalog
ETrice oomph eTriceSetup.png
  1. Configure your personal installation
ETrice oomph etriceConfig.png

TODO: add eTrice to official Eclipse catalog

Deriving from an Existing Generator

There is a minimal example that shows how a generator can be derived from the existing eTrice Java generator. The example shows how the derived DetailCodeTranslator handles an additional tag.

The example consist of two plugins:

  • examples/my.etrice.generator
  • examples/my.etrice.generator.launch

You will find the examples in the eTrice GIT repository: http://git.eclipse.org/c/etrice/org.eclipse.etrice.git/tree/examples

The first one overrides the Java generator, the second one overrides the Java launch configuration to launch the derived generator. Please have a look at the comments marked with EXAMPLE: (you can add that as a Java task tag in the preferences and use the Tasks View to locate these comments).

Back to the top