Use TargetPlatform and TPD dsl generator to simplify and speed up the build
Opened this issue · 1 comments
Motivation
currently, the studio uses pom.xml repository definition in order to specify the update site where to look for additional plugin and features.
The plugin dependency resolution is slow due to the huge amount of plugins in the update sites we reference.
Proposed Solution
Using a definition of .target (ie. targetplatform) allows to restrict the search. The edition problem (require strict version numbers) of this target file can be handled thanks to a nice editor and generator (https://github.com/eclipse-cbi/targetplatform-dsl )
Additionally, this should simplify the various pom.xml
Proposed Implementation
we can provide a single target project in gemoc-studio repository that all other repositories can use.
example project using this approach:
https://github.com/cea-hpc/NabLab/blob/master/pom.xml (where the name of the xxx.target file is set in the "classifier" tag) to https://github.com/cea-hpc/NabLab/tree/master/releng/fr.cea.nabla.targetplatform (see the readme)
Additionally, this should help get some test more coherent (cf. https://github.com/eclipse/gemoc-studio/blob/92600ca292616f199380e9e204a924b69d2b3eca/gemoc_studio/tests/org.eclipse.gemoc.studio.tests.system.mwb/pom.xml#L103)