Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use TargetPlatform and TPD dsl generator to simplify and speed up the build #233

Open
dvojtise opened this issue Jul 28, 2021 · 1 comment

Comments

@dvojtise
Copy link
Contributor

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)

@dvojtise
Copy link
Contributor Author

dvojtise commented Aug 3, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant