|
|
Re: question about export a plugin [message #447540 is a reply to message #447534] |
Mon, 10 April 2006 12:54 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 #447598 is a reply to message #447543] |
Tue, 11 April 2006 15:26 |
|
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
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
|
|
|
|
Powered by
FUDForum. Page generated in 0.05688 seconds