Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cbi-dev] compare artifacts to baseline version

As part of "do not generate new version qualifier" implementation, Tycho
compares reactor project artifacts to baseline version to make sure the
build does not try to publish new contents under old/existing version.
This works reasonably well for majority of projects (well, at least
Tycho is able to find baseline artifacts), but there are few artifacts
that are not available from any p2 repository I can find and I am not
sure what to do about them.

Specifically, I could not find p2 repository that provides jdt batch
compiler and ant adaptors, many/all test bundle sources and few other
source bundles.

Note that all these bundles are "attached artifacts" and at least one
other artifact is produced from the same project source tree.

Using jdt core as example, what is supposed to happen to batch compiler
and ant adaptor if Tycho finds "equal" baseline version of jdt core bundle?

Should Tycho replace jdt core bundle with baseline version and keep
reactor version of the batch compiler and ant adaptor, i.e. running the
risk of inconsistency between jdt core and other two artifacts?

Should Tycho keep reactor version of all three artifacts and risk of
inconsistency between reactor and baseline versions of jdt core bundle?

Should Tycho just fail the build?

None of these approaches looks good, tbh, but I can't think of any
better/workable alternative.

--
Regards,
Igor


Back to the top