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.
Difference between revisions of "ETrice/Development/GettingStartedWithEtrice"
(→Oomph eTrice Setup) |
|||
Line 1: | Line 1: | ||
= Oomph eTrice Setup = | = Oomph eTrice Setup = | ||
− | + | 1. Download and run [https://wiki.eclipse.org/Eclipse_Installer Oomph installer] in ''Advanced Mode'' | |
− | + | ||
[[File:eTrice_oomph_advancedMode.png|thumbnail|upright|center]] | [[File:eTrice_oomph_advancedMode.png|thumbnail|upright|center]] | ||
− | + | ||
− | + | ||
+ | 2. Select desired Eclipse product + version, e.g. product ''Eclipse IDE for Eclipse Committer'' and version from build config in git: [http://git.eclipse.org/c/etrice/org.eclipse.etrice.git/tree/releng/org.eclipse.etrice.parent/pom.xml Tycho/Maven pom.xml] | ||
+ | |||
+ | 3. Optional for commiters: set your git ssh key | ||
[[File:eTrice_oomph_etrice_ssh.png|thumbnail|upright|center]] | [[File:eTrice_oomph_etrice_ssh.png|thumbnail|upright|center]] | ||
− | + | ||
− | + | ||
+ | 4. Download the eTrice setup file [http://git.eclipse.org/c/etrice/org.eclipse.etrice.git/plain/team/ETrice.setup ETrice.setup] and add & select it in the oomph catalog | ||
[[File:eTrice_oomph_eTriceSetup.png|thumbnail|upright|center]] | [[File:eTrice_oomph_eTriceSetup.png|thumbnail|upright|center]] | ||
− | + | ||
+ | |||
+ | 6. Configure your personal installation | ||
[[File:eTrice_oomph_etriceConfig.png|thumbnail|upright|center]] | [[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 13:09, 13 October 2017
Oomph eTrice Setup
1. Download and run Oomph installer in Advanced Mode
2. Select desired Eclipse product + version, e.g. product Eclipse IDE for Eclipse Committer and version from build config in git: Tycho/Maven pom.xml
3. Optional for commiters: set your git ssh key
4. Download the eTrice setup file ETrice.setup and add & select it in the oomph catalog
6. Configure your personal installation
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).