Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » IProgressMonitor accessible from more one module (how to choose plugin requirement in the MANIFEST of a plugin )
IProgressMonitor accessible from more one module [message #1821804] Thu, 20 February 2020 11:57 Go to next message
loys ebersolt is currently offline loys ebersoltFriend
Messages: 2
Registered: February 2020
Junior Member
Description of the error :

at the line org.eclipse.core.runtime.IProgressMonitor,
there is a Red Icon with the folIowing message :
ProgressMonitor accessible from more one module :
org.eclipse.core.contenttypes, org.eclipse.core.jobs,
org.eclipse.core.runtime, org.eclipse.equinox.common,
org.eclipse.equinox.preferences,
org.eclispe.equinox.registry, org.eclispe.osgi.

In the "Required Plug-ins" of the "Dependencies" of the MANIFEST,
the list of plug-ins are:

org.eclipse.core.runtime
org.eclise.core.resources
org.eclipse.swt
org.eclipse.swt.win32.win32
org.eclipse.osgi
org.eclipse.jface

I used the following Developpment Environment :

the Eclipse package is : eclipse-committers-2020-03-M2-win32-x86_64
the Java package is : jdk-13.0.1_windows-x64_bin.

Below is the project source and MANIFEST files

This error shows up also in the example org.eclipse.ui.examples.multipageeditor of the Tutorial.
Re: IProgressMonitor accessible from more one module [message #1821816 is a reply to message #1821804] Thu, 20 February 2020 14:24 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4425
Registered: July 2009
Senior Member

Are you intentionally trying to use the Java Platform Modules System within your plug-in by having a module-info.java file present? I'd recommend you not.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: IProgressMonitor accessible from more one module [message #1821824 is a reply to message #1821816] Thu, 20 February 2020 15:59 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33107
Registered: July 2009
Senior Member
I didn't see a module-info.java in his zip, but I wonder about the impact of this in the MANIFEST.MF

Bundle-RequiredExecutionEnvironment: JavaSE-1.10

I tried using the wizard to create this sample view plug-in project with such a BREE but didn't see such compile errors, which are clearly related to treating plugins as if they are modules...


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: IProgressMonitor accessible from more one module [message #1821825 is a reply to message #1821824] Thu, 20 February 2020 16:29 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4425
Registered: July 2009
Senior Member

Listing org.eclipse.swt.win32.win32.x86_64.source as a plug-in dependency also looks...questionable?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Ant FTP Tasks
Next Topic:Cannot launch eclipse on macOS Catalina
Goto Forum:
  


Current Time: Tue Mar 19 02:04:45 GMT 2024

Powered by FUDForum. Page generated in 0.03595 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top