Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » IMPORTs in "Getting Started with UML2" caused errors
IMPORTs in "Getting Started with UML2" caused errors [message #481153] Wed, 19 August 2009 19:48 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 #481534 is a reply to message #481153] Fri, 21 August 2009 12:57 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
The first step would be to determine if you've installed UML2 properly. If
you go to Help > About can you see the UML feature and plugins?
If so, then try to create a UML model by doing a File > New > Other >
Example EMF Model Creation Wizards?
If that works you can try to create a Plug-In project, then add dependencies
on org.eclipse.uml2.XXX etc.

The getting started article should be pretty explicit. What step are you
failing on?

The sample links also seem to still work:
http://download.eclipse.org/modeling/mdt/uml2/downloads/arti cles/uml2.articles_200607181325.zip

If there is a problem with the article, please let me know.

Cheers,
- James.

"PHofer" <alonso75@gmx.ch> wrote in message
news:a056b0cc1bc95f4ebbef28f7e64c6840$1@www.eclipse.org...
>
> 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 #627891 is a reply to message #481153] Fri, 21 August 2009 12:57 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
The first step would be to determine if you've installed UML2 properly. If
you go to Help > About can you see the UML feature and plugins?
If so, then try to create a UML model by doing a File > New > Other >
Example EMF Model Creation Wizards?
If that works you can try to create a Plug-In project, then add dependencies
on org.eclipse.uml2.XXX etc.

The getting started article should be pretty explicit. What step are you
failing on?

The sample links also seem to still work:
http://download.eclipse.org/modeling/mdt/uml2/downloads/arti cles/uml2.articles_200607181325.zip

If there is a problem with the article, please let me know.

Cheers,
- James.

"PHofer" <alonso75@gmx.ch> wrote in message
news:a056b0cc1bc95f4ebbef28f7e64c6840$1@www.eclipse.org...
>
> 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.
>
Previous Topic:Maven Repository
Next Topic:UML2Ecore convertion
Goto Forum:
  


Current Time: Sat Apr 27 05:21:03 GMT 2024

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

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

Back to the top