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 "Triquetrum/Target Platform Definition"
m (Cleaned up style.) |
(Link to Triquetrum/Releng/New_Eclipse_Version) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
The Triquetrum Eclipse configuration uses Target Platform Definition (.tpd) files to create the .target files | The Triquetrum Eclipse configuration uses Target Platform Definition (.tpd) files to create the .target files | ||
− | See https://github.com/mbarbero/fr.obeo.releng.targetplatform for details. | + | See https://github.com/eclipse-cbi/targetplatform-dsl (formerly https://github.com/mbarbero/fr.obeo.releng.targetplatform) for details. |
+ | |||
+ | == How to install the Target Platform Definition Facility == | ||
+ | As per https://github.com/mbarbero/fr.obeo.releng.targetplatform: <p>"Add the following p2 repository (update-site) in your update manager (in Eclipse, Help Menu > Install New Software..., Add... button on the top right corner):</p> | ||
+ | |||
+ | * For Eclipse 2019-09: paste in <p>http://download.eclipse.org/cbi/tpd/3.0.0-SNAPSHOT/</p> | ||
+ | <p>Then, select Eclipse CBI Release Engineering Tools and click on Next, Next, accept the license(s) and then Finish</p> | ||
+ | |||
+ | * OR for Neon: <p>http://mbarbero.github.io/fr.obeo.releng.targetplatform/p2/ or http://mbarbero.github.io/fr.obeo.releng.targetplatform/p2/latest/ for the latest version only.</p> | ||
+ | <p>Then, select the Target Platform Definition DSL and Generator feature and click on Finish."</p> | ||
== How to update the Triquetrum target == | == How to update the Triquetrum target == | ||
− | |||
# Right click on org.eclipse.triquetrum.target.platform/org.eclipse.triquetrum.target.platform.tpd and select "Create Target Definition File". This will create org.eclipse.triquetrum.target.platform.target | # Right click on org.eclipse.triquetrum.target.platform/org.eclipse.triquetrum.target.platform.tpd and select "Create Target Definition File". This will create org.eclipse.triquetrum.target.platform.target | ||
# Right click again on the .tpd file and select "Set Target Platform" (Or open the .target file that was just created and set the target platform there) | # Right click again on the .tpd file and select "Set Target Platform" (Or open the .target file that was just created and set the target platform there) | ||
Line 11: | Line 19: | ||
See [[Triquetrum/Building From Sources | Building From Sources]] for details. | See [[Triquetrum/Building From Sources | Building From Sources]] for details. | ||
− | Note that org.eclipse.triquetrum.target.platform/org.eclipse.triquetrum.target.platform. | + | Note that org.eclipse.triquetrum.target.platform/org.eclipse.triquetrum.target.platform.tpd includes org.eclipse.triquetrum.python.rpc.platform.tpd, so if you are [[Triquetrum/Releng/New_Eclipse_Version | updating the version of Eclipse that is used to build Triquetrum]], then you will need to update both .tpd files. See [https://github.com/eclipse/triquetrum/issues/104 Bug #104: Update Triquetrum to Neon]. |
− | tpd includes org.eclipse.triquetrum.python.rpc.platform.tpd, so if you are updating the version of Eclipse that is used to build Triquetrum, then you will need to update both .tpd files. See [https://github.com/eclipse/triquetrum/issues/104 Bug #104: Update Triquetrum to Neon]. | + |
Latest revision as of 13:19, 23 August 2020
The Triquetrum Eclipse configuration uses Target Platform Definition (.tpd) files to create the .target files
See https://github.com/eclipse-cbi/targetplatform-dsl (formerly https://github.com/mbarbero/fr.obeo.releng.targetplatform) for details.
How to install the Target Platform Definition Facility
As per https://github.com/mbarbero/fr.obeo.releng.targetplatform:"Add the following p2 repository (update-site) in your update manager (in Eclipse, Help Menu > Install New Software..., Add... button on the top right corner):
- For Eclipse 2019-09: paste in
Then, select Eclipse CBI Release Engineering Tools and click on Next, Next, accept the license(s) and then Finish
- OR for Neon:
http://mbarbero.github.io/fr.obeo.releng.targetplatform/p2/ or http://mbarbero.github.io/fr.obeo.releng.targetplatform/p2/latest/ for the latest version only.
Then, select the Target Platform Definition DSL and Generator feature and click on Finish."
How to update the Triquetrum target
- Right click on org.eclipse.triquetrum.target.platform/org.eclipse.triquetrum.target.platform.tpd and select "Create Target Definition File". This will create org.eclipse.triquetrum.target.platform.target
- Right click again on the .tpd file and select "Set Target Platform" (Or open the .target file that was just created and set the target platform there)
- Then go to the org.eclipse.triquetrum.repository/Triquetrum.product file and select Run.
See Building From Sources for details.
Note that org.eclipse.triquetrum.target.platform/org.eclipse.triquetrum.target.platform.tpd includes org.eclipse.triquetrum.python.rpc.platform.tpd, so if you are updating the version of Eclipse that is used to build Triquetrum, then you will need to update both .tpd files. See Bug #104: Update Triquetrum to Neon.