X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=releng%2Forg.simantics.sdk.build.targetdefinition%2FREADME.md;fp=releng%2Forg.simantics.sdk.build.targetdefinition%2FREADME.md;h=4b1730d71e06981d1219cee40409d653e0690a18;hp=f5b19fd7381fe0d49640efdfebb3c535d38b70ff;hb=1f2634fd8522bb00406c5c24d879ad954881a8bf;hpb=164eb03840587340e3ab2a4e8ad3c307a5fb19b2 diff --git a/releng/org.simantics.sdk.build.targetdefinition/README.md b/releng/org.simantics.sdk.build.targetdefinition/README.md index f5b19fd73..4b1730d71 100644 --- a/releng/org.simantics.sdk.build.targetdefinition/README.md +++ b/releng/org.simantics.sdk.build.targetdefinition/README.md @@ -3,7 +3,9 @@ Simantics 1.31.0 migrated to Eclipse 4.7 Oxygen platform. At the same time [Obeo's Target Platform Definition DSL and Generator tool](https://github.com/mbarbero/fr.obeo.releng.targetplatform) -was taken into use for target platform definition. +was taken into use for target platform definition. Later on the tool was moved to Eclipse +CBI (Common Build Infrastructure) as [Target Platform Definition DSL and Generator](https://github.com/eclipse-cbi/targetplatform-dsl) +which is what we are using right now. Please read the detailed installation and basic use instructions from the tool's website. @@ -47,4 +49,11 @@ This greatly simplifies target definition by removing duplication from the their publishing them online per platform branch is also highly useful. On the other hand legacy Buckminster builds can source `.target` files from a URL, which is why publishing them online -per platform branch is useful. \ No newline at end of file +per platform branch is useful. + +## Building .target files from the command line + +There is an example of how to do this with Maven at [build/pom.xml)(build/pom.xml). +Essentially it sources the TPD tool and its required Eclipse parts from public P2 +repositories and uses `tycho-eclipserun-plugin` to run the *tpd converter application* +to convert the `.tpd` file given as argument via `-Dtpd=tpd-path`.