Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » IMPORTs in "Getting Started with UML2" caused errors
IMPORTs in "Getting Started with UML2" caused errors [message #480961] Wed, 19 August 2009 07:59 Go to next message
tuttle64 is currently offline tuttle64Friend
Messages: 12
Registered: July 2009
Location: Zurich
Junior Member
I'm implementing the java code from "Getting Started with UML2" to create
my uml2 model, but all imports, example

import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.common.util.WrappedException;
...
import org.eclipse.uml2.uml.UMLPackage;
import org.eclipse.uml2.uml.resource.UMLResource;
import org.eclipse.uml2.uml.util.UMLUtil;

caused the error "the import org.eclipse.andsoon cannot be resolved".

I've searched for the related jar-files on my system but couldn't find
any. I can't believe that downloading and installing the "Eclipse Modeling
Project" none of the needed jars are installed.

At this point, I need suggestions to get thses imports running and the
uml2-project compiled.
Re: IMPORTs in "Getting Started with UML2" caused errors [message #480980 is a reply to message #480961] Wed, 19 August 2009 09:18 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
It sounds like your bundle doesn't have the dependencies it needs. Have
a close look at the dependencies you've specified and if you have
followup questions, please use the uml2 newsgroup for that, not the EMF one.


PHofer schrieb:
>
> I'm implementing the java code from "Getting Started with UML2" to
> create my uml2 model, but all imports, example
>
> import org.eclipse.emf.common.util.EList;
> import org.eclipse.emf.common.util.URI;
> import org.eclipse.emf.common.util.WrappedException;
> ..
> import org.eclipse.uml2.uml.UMLPackage;
> import org.eclipse.uml2.uml.resource.UMLResource;
> import org.eclipse.uml2.uml.util.UMLUtil;
>
> caused the error "the import org.eclipse.andsoon cannot be resolved".
> I've searched for the related jar-files on my system but couldn't find
> any. I can't believe that downloading and installing the "Eclipse
> Modeling Project" none of the needed jars are installed.
> At this point, I need suggestions to get thses imports running and the
> uml2-project compiled.
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: IMPORTs in "Getting Started with UML2" caused errors [message #481226 is a reply to message #480961] Thu, 20 August 2009 07:47 Go to previous message
tuttle64 is currently offline tuttle64Friend
Messages: 12
Registered: July 2009
Location: Zurich
Junior Member
I could not fix my problem downloading single jar-files, so I've replaced
my eclipse classic installation with the eclipse modeling tools and now
all seem to work properly.
Previous Topic:Adding MapEntries to EMaps with Dynamic EObjects using add(MapEntry) does not work properly
Next Topic:Moving model elements into a new model instance
Goto Forum:
  


Current Time: Thu Apr 25 16:21:12 GMT 2024

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

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

Back to the top