Use tpd for defining target platform #24
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR changes the way the external update sites are imported in the build.
Instead of using maven repository like:
It uses a tpd description file in order to generate a targetplatform file.
This tpd allows to not specify precisely the version of the imported unit while helping to control where they come from.
A readme file explains how to update the target file from the tpd (in
gemoc_studio/releng/org.eclipse.gemoc.gemoc_studio.targetplatform
)NOTE: the use of the tpd is partial: the K3 and melange updatesite currently cannot be integrated in the target because these tools depends on gemoc.dsl that is actually build by GEMOC. This creates a kind of cycle in the targetplatfomr 😞 . Melange an K3 as thus still using the maven repository descriptor.
Additionally, the integration tests now explicitly use the gemoc product and target (this fix the javafx error preventing from opening the multidimentional view in the tests)
😞 I was expecting a speed up in the build (eclipse-gemoc/gemoc-studio#233) but, apparently, the newer version of tycho are optimized enough and there is no visible speed change.
Contribution to issues
Contribute to eclipse-gemoc/gemoc-studio#233
Companion Pull Requests