Skip to main content



      Home
Home » Modeling » UML2 » Installation or settings problem
Installation or settings problem [message #477169] Wed, 02 April 2008 03:24 Go to next message
Eclipse UserFriend
Originally posted by: mtrzeciecki.yahoo.co.uk

I have a problem with the installation of my eclipse plugins, probably.

According to the "Product configuration", the following components are
installed properly:
- EMF
- GEF
- UML2 tools

So I can draw UML diagrams visually, but I cannot write any java code for
generating UML (I get, for instance, "Model cannot be resoved to a type").
In fact, I can't use any classes from org.eclipse.* . Do I have to set
something additionally?
Re: Installation or settings problem [message #477175 is a reply to message #477169] Wed, 02 April 2008 09:29 Go to previous messageGo to next message
Eclipse UserFriend
Hi Mikolaj ,

Try checking that you can create a .uml model using the creation wizards.
If you can create UML diagrams visually then I would suspect that you have
all the UML plugins properly installed.
Verify that you have properly created a dependency from your plugin to UML
plugins.

Try following the getting started article:
http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Getti ng_Started_with_UML2/article.html

Cheers,
- James.

"Mikolaj Trzeciecki" <mtrzeciecki@yahoo.co.uk> wrote in message
news:fsvcbk$3ii$1@build.eclipse.org...
>I have a problem with the installation of my eclipse plugins, probably.
>
> According to the "Product configuration", the following components are
> installed properly:
> - EMF
> - GEF
> - UML2 tools
>
> So I can draw UML diagrams visually, but I cannot write any java code for
> generating UML (I get, for instance, "Model cannot be resoved to a type").
> In fact, I can't use any classes from org.eclipse.* . Do I have to set
> something additionally?
>
Re: Installation or settings problem [message #477176 is a reply to message #477175] Wed, 02 April 2008 10:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mtrzeciecki.yahoo.co.uk

Hi James,



James Bruck wrote:
> Hi Mikolaj ,
>
> Verify that you have properly created a dependency from your plugin to UML
> plugins.
Yes I suspect this is the point. I haven't created _any_ dependencies...
What dependencies are needed? Does an UML project create them automatically?

>
> Try following the getting started article:
> http://www.elipse.org/modeling/mdt/uml2/docs/articles/Gettin g_Started_with_UML2/article.html
Thank you. But there I have the same problem. I get stuck at the point
"Let's look at how to perform the same task using Java code. ". The
types Model and Package maka my Eclipse complain that it doesn't know
them. Should I go on with the tutorial nevertheless?

Cheers,
Mikolaj
Re: Installation or settings problem [message #477182 is a reply to message #477176] Thu, 03 April 2008 11:07 Go to previous message
Eclipse UserFriend
.... some comments below..


"Mikolaj Trzeciecki" <mtrzeciecki@yahoo.co.uk> wrote in message
news:ft052g$4ie$1@build.eclipse.org...
> Hi James,
>
>
>
> James Bruck wrote:
>> Hi Mikolaj ,
>>
>> Verify that you have properly created a dependency from your plugin to
>> UML plugins.
> Yes I suspect this is the point. I haven't created _any_ dependencies...
> What dependencies are needed? Does an UML project create them
> automatically?
>

If you select your Mainifest.mf file, you should be able to add
org.eclipse.uml2.uml to your dependencies.


>>
>> Try following the getting started article:
>> http://www.elipse.org/modeling/mdt/uml2/docs/articles/Gettin g_Started_with_UML2/article.html
> Thank you. But there I have the same problem. I get stuck at the point
> "Let's look at how to perform the same task using Java code. ". The types
> Model and Package maka my Eclipse complain that it doesn't know them.
> Should I go on with the tutorial nevertheless?

Scroll to the bottom of the document for references to source code.
The article is out of date so the version numbers are off a bit but the same
general ideas still apply.

>
> Cheers,
> Mikolaj
Re: Installation or settings problem [message #626335 is a reply to message #477169] Wed, 02 April 2008 09:29 Go to previous message
Eclipse UserFriend
Hi Mikolaj ,

Try checking that you can create a .uml model using the creation wizards.
If you can create UML diagrams visually then I would suspect that you have
all the UML plugins properly installed.
Verify that you have properly created a dependency from your plugin to UML
plugins.

Try following the getting started article:
http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Getti ng_Started_with_UML2/article.html

Cheers,
- James.

"Mikolaj Trzeciecki" <mtrzeciecki@yahoo.co.uk> wrote in message
news:fsvcbk$3ii$1@build.eclipse.org...
>I have a problem with the installation of my eclipse plugins, probably.
>
> According to the "Product configuration", the following components are
> installed properly:
> - EMF
> - GEF
> - UML2 tools
>
> So I can draw UML diagrams visually, but I cannot write any java code for
> generating UML (I get, for instance, "Model cannot be resoved to a type").
> In fact, I can't use any classes from org.eclipse.* . Do I have to set
> something additionally?
>
Re: Installation or settings problem [message #626336 is a reply to message #477175] Wed, 02 April 2008 10:26 Go to previous message
Eclipse UserFriend
Originally posted by: mtrzeciecki.yahoo.co.uk

Hi James,



James Bruck wrote:
> Hi Mikolaj ,
>
> Verify that you have properly created a dependency from your plugin to UML
> plugins.
Yes I suspect this is the point. I haven't created _any_ dependencies...
What dependencies are needed? Does an UML project create them automatically?

>
> Try following the getting started article:
> http://www.elipse.org/modeling/mdt/uml2/docs/articles/Gettin g_Started_with_UML2/article.html
Thank you. But there I have the same problem. I get stuck at the point
"Let's look at how to perform the same task using Java code. ". The
types Model and Package maka my Eclipse complain that it doesn't know
them. Should I go on with the tutorial nevertheless?

Cheers,
Mikolaj
Re: Installation or settings problem [message #626342 is a reply to message #477176] Thu, 03 April 2008 11:07 Go to previous message
Eclipse UserFriend
.... some comments below..


"Mikolaj Trzeciecki" <mtrzeciecki@yahoo.co.uk> wrote in message
news:ft052g$4ie$1@build.eclipse.org...
> Hi James,
>
>
>
> James Bruck wrote:
>> Hi Mikolaj ,
>>
>> Verify that you have properly created a dependency from your plugin to
>> UML plugins.
> Yes I suspect this is the point. I haven't created _any_ dependencies...
> What dependencies are needed? Does an UML project create them
> automatically?
>

If you select your Mainifest.mf file, you should be able to add
org.eclipse.uml2.uml to your dependencies.


>>
>> Try following the getting started article:
>> http://www.elipse.org/modeling/mdt/uml2/docs/articles/Gettin g_Started_with_UML2/article.html
> Thank you. But there I have the same problem. I get stuck at the point
> "Let's look at how to perform the same task using Java code. ". The types
> Model and Package maka my Eclipse complain that it doesn't know them.
> Should I go on with the tutorial nevertheless?

Scroll to the bottom of the document for references to source code.
The article is out of date so the version numbers are off a bit but the same
general ideas still apply.

>
> Cheers,
> Mikolaj
Previous Topic:xmi Id in Dependency
Next Topic:How to represent dependency model with UML2
Goto Forum:
  


Current Time: Wed Jul 16 04:12:29 EDT 2025

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

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

Back to the top