Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [swtbot-dev] Semantic versioning at bundle level

On 13/04/2016 10:42, Mickael Istria wrote:
> On 04/13/2016 10:24 AM, Lorenzo Bettini wrote:
>> concerning API tools, this should already be configured if you
>> materialize your SWTBot workspace with the Oomph setup.
> Ok, good to know.
> Do you know if it's possible to have Tycho reporting a failure if API
> rules are broken? I believe checking that as part of build, on reviews,
> is the only way to make sure API rules are respected.
> Note that we could already set up reproducible version qualifier for
> SWTBot: https://bugs.eclipse.org/bugs/show_bug.cgi?id=491571
> -- 

Hi

I've never setup such check in Tycho, but, IIRC, it provides something
similar.  Again, IIRC, it does not reuse the PDE API tools, and this
might be a blocker in some cases: with PDE API tools you can configure
exceptions for API breakage (yes, I know, this might be bad, but in some
cases it helps ;) I don't know if you can do that during the Tycho
build.  For sure, if reproducible version qualifiers are used, checking
API breakage during the build is really crucial, or you could risk to
build a bundle jar with the same version but different (binary)
contents, which will not be picked up by p2.

I could have a look at that in a few weeks.

cheers
	Lorenzo

-- 
Prof. Lorenzo Bettini, Computer Science, DISIA, Univ. Firenze
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Back to the top