Problem with class imports [message #236065] |
Fri, 10 July 2009 18:56  |
Eclipse User |
|
|
|
Originally posted by: johan.harjono.utoronto.ca
Hi there,
Our project is having some trouble with dependencies and importing classes,
A class imports:
import edu.toronto.cs.openome_model.diagram.part.Openome_modelDiagr amEditor;
which comes from a separate project.
Which causes this error in the package definition:
The type
org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.Di agramDocumentEditor
cannot be resolved. It is indirectly referenced from required .class files
edu.toronto.cs.openome_model.diagram.part.Openome_modelDiagr amEditor is a
class that extends
org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.Di agramDocumentEditor.
We searched the error message on Google and many people from different
projects and newsgroup have it but each of their solution seems to be
somewhat project specific, so we thought we'd try to ask the GMF community
cheers,
Johan
|
|
|
Re: Problem with class imports [message #236424 is a reply to message #236065] |
Fri, 17 July 2009 17:48  |
Eclipse User |
|
|
|
Originally posted by: johan.harjono.utoronto.ca
Solved. The trick is to go to the plugin.xml and add in all the required
packages in "Dependencies" manually.
This problem is a bit nasty, hope no one else run into it.
Johan
Johan Harjono wrote:
> Hi there,
>
> Our project is having some trouble with dependencies and importing classes,
>
> A class imports:
> import
> edu.toronto.cs.openome_model.diagram.part.Openome_modelDiagr amEditor;
>
> which comes from a separate project.
> Which causes this error in the package definition:
> The type
> org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.Di agramDocumentEditor
>
> cannot be resolved. It is indirectly referenced from required .class files
>
>
> edu.toronto.cs.openome_model.diagram.part.Openome_modelDiagr amEditor is a
> class that extends
> org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.Di agramDocumentEditor.
>
>
> We searched the error message on Google and many people from different
> projects and newsgroup have it but each of their solution seems to be
> somewhat project specific, so we thought we'd try to ask the GMF community
>
> cheers,
> Johan
|
|
|
Powered by
FUDForum. Page generated in 0.04363 seconds