[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-dev] Reusing (config.)a.jre.javase from TP

Hi all,

I'm working on improving support for BREE in product export, to avoid definitively the kind of issues we've seen with the support of JavaSE-9 BREE or earlier ( https://bugs.eclipse.org/bugs/show_bug.cgi?id=387701 ) before JavaSE-10 gets introduced.
I think there are multiple complementary paths of resolution here. One is to implement in p2 the proposal in https://bugs.eclipse.org/bugs/show_bug.cgi?id=387701#c0 and could even be extended wider to simply not make a product IU have a requirement on a recent JavaSE version after all since the product typically can boot with any JavaSE and the actual required version is defined by transitive dependencies. Another path could be to have Tycho reusing (config.)a.jre.javase from the target-platform definition instead of regenerating a different IU. I'd like to try to implement both.
I've got a basic question about this later one: why does Tycho not consume the existing (config.)a.jre.javase IUs? Is this necessary? Would it make sense to implement a strategy preferring reuse of those existing ius?

Thanks in advance for your insights.
--
Mickael Istria
Eclipse IDE developer, at Red Hat Developers community
Elected Committer Representative at the Eclipse Foundation board of directors