Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] Build issue: ApiAnalyzer cannot find imported extension point element

Thanks a lot for the investigation and tips!

I created a bug in PDE: https://bugs.eclipse.org/bugs/show_bug.cgi?id=550188

------ Originalnachricht ------
Von: "Vikas Chandra" <Vikas.Chandra@xxxxxxxxxx>
An: "Eclipse platform general developers list." <platform-dev@xxxxxxxxxxx>
Cc: "Niko Stotz" <eclipse@xxxxxxxxxxxx>; platform-dev-bounces@xxxxxxxxxxx
Gesendet: 19.08.2019 06:01:03
Betreff: RE: [platform-dev] Build issue: ApiAnalyzer cannot find imported extension point element

>>, the "compilers.p.unknown-element" error type is configured to 0 (which, unless I'm mistaken means ignore)

0 means error.




>>the PDE Builder

Is it possible for API analysis to "not" call the PDE builder? API analysis builder and PDE builder are independent
of each other and hence it should be possible for API analysis to just call API Analysis builder.

Regards,
Vikas


Inactive hide details for Mickael Istria ---08/19/2019 02:23:38 AM---Ok, so this can be reproduced with `mvn clean verify -PbuiMickael Istria ---08/19/2019 02:23:38 AM---Ok, so this can be reproduced with `mvn clean verify -Pbuild-individual-bundles,api-check` from

From: Mickael Istria <mistria@xxxxxxxxxx>
To: Niko Stotz <eclipse@xxxxxxxxxxxx>, "Eclipse platform general developers list." <platform-dev@xxxxxxxxxxx>
Date: 08/19/2019 02:23 AM
Subject: [EXTERNAL] Re: [platform-dev] Build issue: ApiAnalyzer cannot find imported extension point element
Sent by: platform-dev-bounces@xxxxxxxxxxx





Ok, so this can be reproduced with `mvn clean verify -Pbuild-individual-bundles,api-check` from eclipse.platform.text/org.eclipse.ui.workbench.texteditor (using your commit).
I see multiple possible causes, all of them being actual bugs in a place or another:
1. The error seems simply wrong as you mention: with is a known element and there is no reason to report it as unknown, so it seems like under some circumstances, the PDE Builder for plugin.xml can return erroneous contents; or that the way it's configured for API Analysis is faulty
2. in the org.eclipse.pde.prefs for that bundle, the "compilers.p.unknown-element" error type is configured to 0 (which, unless I'm mistaken means ignore), however the error is reported as an error by the builder during API Analysis. Here again, eiher the issue is in the builder itself, or in API Analysis messing up the configuration.

Anyway, the symptom and the 2 possible causes need deeper investigation. Can you please report a bug about it as we have the luxury of having a reproducer ;)

Cheers,_______________________________________________
platform-dev mailing list
platform-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/platform-dev



Back to the top