Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » question about export a plugin
question about export a plugin [message #447533] Mon, 10 April 2006 05:07 Go to next message
chen is currently offline chenFriend
Messages: 21
Registered: July 2009
Junior Member
It always says "import eclipse.org..... cannot be resolved.." It is
indirectly referenced from required .class files"..
For such problems, generally what should i do?
fix the building path, or fix the dependency?
any help appreciated.
Chen
Re: question about export a plugin [message #447534 is a reply to message #447533] Mon, 10 April 2006 06:43 Go to previous messageGo to next message
Alan Green is currently offline Alan GreenFriend
Messages: 14
Registered: July 2009
Junior Member
chen wrote:
> It always says "import eclipse.org..... cannot be resolved.." It is
> indirectly referenced from required .class files"..
> For such problems, generally what should i do?
> fix the building path, or fix the dependency?
> any help appreciated.

Definitely fix your plug-in's dependency list. If you fix the build
path, your project will compile, but you will then have a class-loading
error at runtime.

Alan.
Re: question about export a plugin [message #447540 is a reply to message #447534] Mon, 10 April 2006 12:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wangchen1981.gmail.com

Then is there a good way to find what other dependencies i need?
There is no hints in the error msg..

"Alan Green" <alan.green@cardboard.nu> wrote in message
news:e1cuqm$pva$1@utils.eclipse.org...
> chen wrote:
>> It always says "import eclipse.org..... cannot be resolved.." It is
>> indirectly referenced from required .class files"..
>> For such problems, generally what should i do?
>> fix the building path, or fix the dependency?
>> any help appreciated.
>
> Definitely fix your plug-in's dependency list. If you fix the build path,
> your project will compile, but you will then have a class-loading error at
> runtime.
>
> Alan.
Re: question about export a plugin [message #447543 is a reply to message #447533] Mon, 10 April 2006 13:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wangchen1981.gmail.com

I posted the entire error log here...


1. ERROR in
E:\eclipse\workspace2\com.omondo.uml.diagram\src\com\omondo\ uml\diagram\DiagramFragment.java
(at line 0)
package com.unc.uml.diagram;
^
The type org.eclipse.uml2.Element cannot be resolved. It is indirectly
referenced from required .class files
----------
2. ERROR in
E:\eclipse\workspace2\com.omondo.uml.diagram\src\com\omondo\ uml\diagram\DiagramFragment.java
(at line 6)
import org.eclipse.emf.common.util.EList;
^^^^^^^^^^^^^^^
The import org.eclipse.emf cannot be resolved
----------
3. ERROR in
E:\eclipse\workspace2\com.omondo.uml.diagram\src\com\omondo\ uml\diagram\DiagramFragment.java
(at line 8)
import org.eclipse.jface.dialogs.MessageDialog;
^^^^^^^^^^^^^^^^^^^^^^^^^
The import org.eclipse.jface.dialogs cannot be resolved
----------
3 problems (3 errors)

Have no idea about how to fix that....Coz the plugin do works fine...Just
cannot be exported to a plugin..


"chen" <wangchen1981@gmail.com> wrote in message
news:e1cp7b$8nl$1@utils.eclipse.org...
> It always says "import eclipse.org..... cannot be resolved.." It is
> indirectly referenced from required .class files"..
> For such problems, generally what should i do?
> fix the building path, or fix the dependency?
> any help appreciated.
> Chen
>
>
Re: question about export a plugin [message #447583 is a reply to message #447543] Tue, 11 April 2006 07:55 Go to previous messageGo to next message
Alan Green is currently offline Alan GreenFriend
Messages: 14
Registered: July 2009
Junior Member
Chen Wang wrote:
> I posted the entire error log here...
> Have no idea about how to fix that....Coz the plugin do works fine...Just
> cannot be exported to a plugin..

What version of Eclipse are you using?

Alan.
Re: question about export a plugin [message #447597 is a reply to message #447583] Tue, 11 April 2006 14:37 Go to previous messageGo to next message
chen is currently offline chenFriend
Messages: 21
Registered: July 2009
Junior Member
I am using 3.1.*...
"Alan Green" <alan.green@cardboard.nu> wrote in message
news:e1fne7$og6$1@utils.eclipse.org...
> Chen Wang wrote:
>> I posted the entire error log here...
>> Have no idea about how to fix that....Coz the plugin do works fine...Just
>> cannot be exported to a plugin..
>
> What version of Eclipse are you using?
>
> Alan.
Re: question about export a plugin [message #447598 is a reply to message #447543] Tue, 11 April 2006 15:26 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Chen Wang wrote:
> I posted the entire error log here...
>
>
> 1. ERROR in
> E:\eclipse\workspace2\com.omondo.uml.diagram\src\com\omondo\ uml\diagram\DiagramFragment.java
> (at line 0)
> package com.unc.uml.diagram;
> ^
> The type org.eclipse.uml2.Element cannot be resolved. It is indirectly
> referenced from required .class files
> ----------
> 2. ERROR in
> E:\eclipse\workspace2\com.omondo.uml.diagram\src\com\omondo\ uml\diagram\DiagramFragment.java
> (at line 6)
> import org.eclipse.emf.common.util.EList;
> ^^^^^^^^^^^^^^^
> The import org.eclipse.emf cannot be resolved
> ----------
> 3. ERROR in
> E:\eclipse\workspace2\com.omondo.uml.diagram\src\com\omondo\ uml\diagram\DiagramFragment.java
> (at line 8)
> import org.eclipse.jface.dialogs.MessageDialog;
> ^^^^^^^^^^^^^^^^^^^^^^^^^
> The import org.eclipse.jface.dialogs cannot be resolved
> ----------
> 3 problems (3 errors)
>

1) Does com.omondo.uml.diagram list org.eclipse.emf.* and
org.eclipse.jface as a requirement? Please post it's manifest.

2) if yes, are you just exporting a plugin, or are you exporting an RCP app?

Later,
PW


Re: question about export a plugin [message #447619 is a reply to message #447597] Wed, 12 April 2006 04:25 Go to previous message
chen is currently offline chenFriend
Messages: 21
Registered: July 2009
Junior Member
I now recontruct the whole project again..
now the error goes away..
Thanks u guys.

"chen" <wangchen1981@gmail.com> wrote in message
news:e1gev6$qcp$1@utils.eclipse.org...
>I am using 3.1.*...
> "Alan Green" <alan.green@cardboard.nu> wrote in message
> news:e1fne7$og6$1@utils.eclipse.org...
>> Chen Wang wrote:
>>> I posted the entire error log here...
>>> Have no idea about how to fix that....Coz the plugin do works
>>> fine...Just cannot be exported to a plugin..
>>
>> What version of Eclipse are you using?
>>
>> Alan.
>
>
Previous Topic:[DataBinding] Validation : why 2 methods
Next Topic:How Can I link my RCP Application with Wizard page ?
Goto Forum:
  


Current Time: Wed Dec 04 18:53:47 GMT 2024

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

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

Back to the top