Hi Everyone,
After fixing a few more issues I am now stuck with this new problem
below. It seems that org.eclipse.core.resources cannot be
resolved. Which is odd since I can see it successfully built earlier
in the build.
[INFO] org.eclipse.core.resources ........................
SUCCESS [3.726s]
Any ideas on what might be causing this?
Thanks,
Thanh
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-compiler-plugin:0.14.1:compile
(default-compile) on project org.eclipse.ui.win32: Compilation
failure: Compilation failure:
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[17,0]
[ERROR] import org.eclipse.core.resources.IFile;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.core.resources cannot be resolved
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[18,0]
[ERROR] import org.eclipse.core.resources.IProject;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.core.resources cannot be resolved
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[19,0]
[ERROR] import org.eclipse.core.resources.IResource;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.core.resources cannot be resolved
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[20,0]
[ERROR] import org.eclipse.core.resources.IResourceChangeEvent;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.core.resources cannot be resolved
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[21,0]
[ERROR] import org.eclipse.core.resources.IResourceChangeListener;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.core.resources cannot be resolved
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[22,0]
[ERROR] import org.eclipse.core.resources.IResourceDelta;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.core.resources cannot be resolved
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[23,0]
[ERROR] import org.eclipse.core.resources.ResourcesPlugin;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.core.resources cannot be resolved
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[76,0]
[ERROR] private IResourceChangeListener resourceListener = new
IResourceChangeListener() {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] IResourceChangeListener cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[76,0]
[ERROR] private IResourceChangeListener resourceListener = new
IResourceChangeListener() {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] IResourceChangeListener cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[81,0]
[ERROR] public void resourceChanged(IResourceChangeEvent event) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^
[ERROR] IResourceChangeEvent cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[82,0]
[ERROR] IResourceDelta mainDelta = event.getDelta();
[ERROR] ^^^^^^^^^^^^^^
[ERROR] IResourceDelta cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[85,0]
[ERROR] IResourceDelta affectedElement =
mainDelta.findMember(resource
[ERROR] ^^^^^^^^^^^^^^
[ERROR] IResourceDelta cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[85,0]
[ERROR] IResourceDelta affectedElement =
mainDelta.findMember(resource
[ERROR] ^^^^^^^^
[ERROR] IFile cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[94,0]
[ERROR] private boolean processDelta(final IResourceDelta delta) {
[ERROR] ^^^^^^^^^^^^^^
[ERROR] IResourceDelta cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[99,0]
[ERROR] case IResourceDelta.REMOVED:
[ERROR] ^^^^^^^^^^^^^^
[ERROR] IResourceDelta cannot be resolved to a variable
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[100,0]
[ERROR] if ((IResourceDelta.MOVED_TO & delta.getFlags()) != 0)
{
[ERROR] ^^^^^^^^^^^^^^
[ERROR] IResourceDelta cannot be resolved to a variable
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[104,0]
[ERROR] IFile newFile = delta.getResource().getWorkspace()
[ERROR] ^^^^^
[ERROR] IFile cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[139,0]
[ERROR] private IFile resource;
[ERROR] ^^^^^
[ERROR] IFile cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[285,0]
[ERROR] if (resource != null) {
[ERROR] ^^^^^^^^
[ERROR] IFile cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[286,0]
[ERROR]
ResourcesPlugin.getWorkspace().removeResourceChangeListener(
[ERROR] ^^^^^^^^^^^^^^^
[ERROR] ResourcesPlugin cannot be resolved
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[287,0]
[ERROR] resourceListener);
[ERROR] ^^^^^^^^^^^^^^^^
[ERROR] IResourceChangeListener cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[288,0]
[ERROR] resource = null;
[ERROR] ^^^^^^^^
[ERROR] IFile cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[340,0]
[ERROR] resource.refreshLocal(IResource.DEPTH_ZERO,
[ERROR] ^^^^^^^^
[ERROR] IFile cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[340,0]
[ERROR] resource.refreshLocal(IResource.DEPTH_ZERO,
[ERROR] ^^^^^^^^^
[ERROR] IResource cannot be resolved to a variable
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[354,0]
[ERROR] if (resource != null)
[ERROR] ^^^^^^^^
[ERROR] IFile cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[355,0]
[ERROR] resource.refreshLocal(IResource.DEPTH_ZERO, monitor);
[ERROR] ^^^^^^^^
[ERROR] IFile cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[355,0]
[ERROR] resource.refreshLocal(IResource.DEPTH_ZERO, monitor);
[ERROR] ^^^^^^^^^
[ERROR] IResource cannot be resolved to a variable
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[592,0]
[ERROR] IFile sFile = ResourceUtil.getFile(getEditorInput());
[ERROR] ^^^^^
[ERROR] IFile cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[592,0]
[ERROR] IFile sFile = ResourceUtil.getFile(getEditorInput());
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The type org.eclipse.core.resources.IFile cannot be
resolved. It is indirectly referenced from required .class files
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[592,0]
[ERROR] IFile sFile = ResourceUtil.getFile(getEditorInput());
[ERROR] ^^^^^^^
[ERROR] The method getFile(IEditorInput) from the type
ResourceUtil refers to the missing type IFile
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[604,0]
[ERROR] IProject project = resource.getWorkspace().getRoot()
[ERROR] ^^^^^^^^
[ERROR] IProject cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[604,0]
[ERROR] IProject project = resource.getWorkspace().getRoot()
[ERROR] ^^^^^^^^
[ERROR] IFile cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[609,0]
[ERROR] IFile newResource = resource.getWorkspace().getRoot()
[ERROR] ^^^^^
[ERROR] IFile cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[609,0]
[ERROR] IFile newResource = resource.getWorkspace().getRoot()
[ERROR] ^^^^^^^^
[ERROR] IFile cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[613,0]
[ERROR] newResource.refreshLocal(IResource.DEPTH_ZERO,
[ERROR] ^^^^^^^^^
[ERROR] IResource cannot be resolved to a variable
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[664,0]
[ERROR] if (resource == null)
[ERROR] ^^^^^^^^
[ERROR] IFile cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[665,0]
[ERROR]
ResourcesPlugin.getWorkspace().addResourceChangeListener(resourceListener);
[ERROR] ^^^^^^^^^^^^^^^
[ERROR] ResourcesPlugin cannot be resolved
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[665,0]
[ERROR]
ResourcesPlugin.getWorkspace().addResourceChangeListener(resourceListener);
[ERROR] ^^^^^^^^^^^^^^^^
[ERROR] IResourceChangeListener cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[666,0]
[ERROR] resource = ((IFileEditorInput)input).getFile();
[ERROR] ^^^^^^^^
[ERROR] IFile cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[666,0]
[ERROR] resource = ((IFileEditorInput)input).getFile();
[ERROR] ^^^^^^^
[ERROR] The method getFile() from the type IFileEditorInput refers
to the missing type IFile
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[667,0]
[ERROR] } else if (resource != null) {
[ERROR] ^^^^^^^^
[ERROR] IFile cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[668,0]
[ERROR]
ResourcesPlugin.getWorkspace().removeResourceChangeListener(resourceListener);
[ERROR] ^^^^^^^^^^^^^^^
[ERROR] ResourcesPlugin cannot be resolved
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[668,0]
[ERROR]
ResourcesPlugin.getWorkspace().removeResourceChangeListener(resourceListener);
[ERROR] ^^^^^^^^^^^^^^^^
[ERROR] IResourceChangeListener cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[669,0]
[ERROR] resource = null;
[ERROR] ^^^^^^^^
[ERROR] IFile cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[692,0]
[ERROR] private void sourceChanged(IFile newFile) {
[ERROR] ^^^^^
[ERROR] IFile cannot be resolved to a type
[ERROR]
/home/zxiiro/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java:[727,0]
[ERROR] if (clientSite == null || resource == null) return;
[ERROR] ^^^^^^^^
[ERROR] IFile cannot be resolved to a type
[ERROR] 46 problems (46 errors)
[ERROR] -> [Help 1]
|