1 # Target platform definitions
\r
3 Simantics 1.31.0 migrated to Eclipse 4.7 Oxygen platform.
\r
5 At the same time [Obeo's Target Platform Definition DSL and Generator tool](https://github.com/mbarbero/fr.obeo.releng.targetplatform)
\r
6 was taken into use for target platform definition.
\r
8 Please read the detailed installation and basic use instructions from the tool's website.
\r
10 To summarize, the basic idea is that the `.tpd` files are the canonical source
\r
11 files for the actual target definition `.target` files. Always modify the `.tpd`
\r
12 files and use *ALT+R* in the `.tpd` file editor or *CTRL+R* to generate the new
\r
13 .target file and take it into use immediately.
\r
15 ## org.simantics.sdk.build.targetdefinition.tpd
\r
17 This is the platform definition used for building the Simantics SDK itself.
\r
18 It does not include any of the parts of the org.simantics.sdk feature which
\r
19 defines the contents of the Simantics SDK.
\r
21 Essentially it includes all required Eclipse components and other third-party
\r
22 external components required for building the Simantics SDK.
\r
24 See ../org.simantics.sdk.build.p2.site/ for how some of the external third-party
\r
25 libraries are bundled for use with the Simantics SDK.
\r
29 Includes *org.simantics.sdk.build.targetdefinition.tpd*
\r
30 and the Simantics SDK (i.e. org.simantics.sdk.feature.group & org.simantics.sdk.source.feature.group)
\r
31 which is sourced from [http://www.simantics.org/download/<branch>/sdk/](http://www.simantics.org/download/<branch>/sdk/),
\r
32 where `<branch>` is `master`, `release/x.y.z`, etc.
\r
34 Each platform repository branch can have its own separate download location online, e.g:
\r
35 * [http://www.simantics.org/download/master/sdk/](http://www.simantics.org/download/master/sdk/)
\r
36 * [http://www.simantics.org/download/release/1.28.0/sdk/](http://www.simantics.org/download/release/1.28.0/sdk/)
\r
37 * [http://www.simantics.org/download/feature/scl/sdk/](http://www.simantics.org/download/feature/scl/sdk/)
\r
40 which the simantics.target definition then references to get the SDK bundles.
\r
42 Notice that the download site root location, e.g. [http://www.simantics.org/download/master/](http://www.simantics.org/download/master/) contains these same `.tpd` and `.target` files to
\r
43 enable sourcing both files directly from an HTTP URL.
\r
45 `.tpd` files can contain `include` statements that include other `.tpd` files from a URL.
\r
46 This greatly simplifies target definition by removing duplication from the their definitions. This is why
\r
47 publishing them online per platform branch is also highly useful.
\r
49 On the other hand legacy Buckminster builds can source `.target` files from a URL, which is why publishing them online
\r
50 per platform branch is useful.