Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Shared target platform for multiple projects

> On Jan 29, 2020, at 14:05, Felix Dorner <felix.dorner@xxxxxxxxx> wrote:
> a) AFAIU, the tycho-way is to put the target definition in an eclipse-target-definition artifact, and reference that artifact in the build, and the .target file is then resolved via standard maven mechanisms.. So I am thinking of deploying the .target artifacts to a maven repo that is accessible from the CI environment. Is that the way to go?

I tried that for a while but then got annoyed by the additional mvn deploy step in between. It might be ok if your target platform doesn't update in a while. But with four Eclipse releases a year and a few other tools I have quite a lot updates to do. Also I have a few projects which need a small variation here and there. Thus, I started with that setup initially but ended up with Git submodules. I know, submodules come with their own fun. But at least the process of doing a quick target platform update and consuming it somewhere else got quicker. :) 

FWIW, I can highly recommend the Target Platform DSL editor for generating .target files:
https://github.com/eclipse-cbi/targetplatform-dsl

-Gunnar

-- 
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx, http://guw.io/





Back to the top