Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-releng-dev] Which versions of ecj are used during (gerrit) builds?

Hi Stephan,

The build uses ecj from https://repo.eclipse.org/content/repositories/eclipse-staging/org/eclipse/jdt/ecj/.
API analysis is a separate maven task this uses eclipse from I-builds repo and runs api analysis. Here ecj is not used. Since this is pde task it internally used jdt from last I-build.

As far as I remember there is a easy workaround to disable api-analysis. You can either remove api-check profile from build command or set the maven property skipAPIAnalysis to false.

Thanks
Sravan




-----Original Message-----
From: Stephan Herrmann <stephan.herrmann@xxxxxxxxx>
Sent: 02 April 2020 18:09
To: Eclipse platform release engineering list. <platform-releng-dev@xxxxxxxxxxx>
Subject: [EXTERNAL] [platform-releng-dev] Which versions of ecj are used during (gerrit) builds?

Hi,

I recently made an observation [1] that seemed to indicate that certain builds
(here: [2]) use two different versions of ecj in the same build:
- maven default-compile did not report any errors, but
- maven api-analysis aborted due to compile errors on the exact same sources.

I recall that for regular compilation, ecj is updated only at explicit intervals (milestones), but the result from api-analysis seems to suggest, that a nightly build of ecj was used?

While early detection of unexpected errors (here an outright compiler bug) is a good thing, it is not good if any project is blocked by bugs in an unspecified and unreleased version of ecj. While one option to avoid such blocks is being discussed in [3], here I just wonder about the technical background of the affected build.

Do we know what causes the difference between default-compile and api-analysis?

best,
Stephan

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=465085#c18
[2] https://ci.eclipse.org/platform/job/eclipse.platform.ui-Gerrit
[3] https://bugs.eclipse.org/bugs/show_bug.cgi?id=561621
_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-releng-dev



Back to the top