Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Build problems with recent platform4.11-I-builds

>>is there something that I could do in Trace Compass that will fix the problem

You can probably circumvent this issue by setting the compiler option for that project to

Windows -> Preferences -> Java -> Compiler -> Errors/Warnings ->
Deprecated and restricted API -> Forbidden reference (access rules): -> change to warning


I tried in eclipse IDE with a new projected that used Nullable annotation and I didnt get any changed behavior.

Can you please open a bug in eclipse with detailed steps to recreate this on eclipse?

Regards,
Vikas
------------------------------------------------------------------------
Eclipse PDE lead,
IBM Rational
EGL D Block - Bangalore, India
Office Phone No : +91 - 80 - 41776506
------------------------------------------------------------------------


Inactive hide details for Bernd Hufmann ---02/13/2019 06:33:46 PM---Hi, For the Trace Compass project, I changed the target defBernd Hufmann ---02/13/2019 06:33:46 PM---Hi, For the Trace Compass project, I changed the target definition to use the latest platform integr

From: Bernd Hufmann <bernd.hufmann@xxxxxxxxxxxx>
To: Cross project issues <cross-project-issues-dev@xxxxxxxxxxx>
Date: 02/13/2019 06:33 PM
Subject: [cross-project-issues-dev] Build problems with recent platform 4.11-I-builds
Sent by: cross-project-issues-dev-bounces@xxxxxxxxxxx





Hi,

For the Trace Compass project, I changed the target definition to use the latest platform integration build and I get some unexpected compilation errors when building with tycho. Reference [1] shows a Jenkins build for the failure. See below for an example of the error print-outs. See below for an example of the error print-outs. I was able to track down first build version when this problem happens. So, when building with platform integration build [2], there is compilation error. When using integration build [3], then I get the error below. It seems, that on February 08 some change was merged that causes the problem.

I’m at loss at them moment and I don’t know how to trouble-shoot further and find a solution. Does anybody have an idea what could be the cause of the problem? Was there a bug introduced in the platform build? Or is there something that I could do in Trace Compass that will fix the problem. By the way, we use Tycho version 1.3.0.

In advance thank you very much.

Best Regards
Bernd

[1] https://hudson.eclipse.org/tracecompass/job/tracecompass-gerrit/21235/
[2] http://download.eclipse.org/eclipse/updates/4.11-I-builds/I20190207-1800/
[3] http://download.eclipse.org/eclipse/updates/4.11-I-builds/I20190208-1800/


[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.3.0:compile (default-compile) on project org.eclipse.tracecompass.tmf.ui: Compilation failure: Compilation failure:
[ERROR] /home/hudson/jenkins-slave-tracecompass/workspace/tracecompass-gerrit/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/internal/tmf/ui/project/wizards/importtrace/ZipLeveledStructureProvider.java:[32]
[ERROR] import org.eclipse.jdt.annotation.Nullable;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Access restriction: The type 'Nullable' is not API (restriction on classpath entry '/home/hudson/jenkins-slave-tracecompass/workspace/tracecompass-gerrit/.repository/p2/osgi/bundle/org.eclipse.jdt.annotation/2.2.200.v20180921-1416/org.eclipse.jdt.annotation-2.2.200.v20180921-1416.jar')
[ERROR] /home/hudson/jenkins-slave-tracecompass/workspace/tracecompass-gerrit/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/internal/tmf/ui/project/wizards/importtrace/ZipLeveledStructureProvider.java:[118]
[ERROR] @Nullable List<ZipArchiveEntry> childList = children.get(parent);
[ERROR] ^^^^^^^^
[ERROR] Access restriction: The type 'Nullable' is not API (restriction on classpath entry '/home/hudson/jenkins-slave-tracecompass/workspace/tracecompass-gerrit/.repository/p2/osgi/bundle/org.eclipse.jdt.annotation/2.2.200.v20180921-1416/org.eclipse.jdt.annotation-2.2.200.v20180921-1416.jar')
_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev



Back to the top