Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Standalone Project?
Standalone Project? [message #477343] Mon, 05 May 2008 06:54 Go to next message
Günther Falk is currently offline Günther FalkFriend
Messages: 39
Registered: July 2009
Member
Hi,

Has anyone ever tried to do a standalone application with UML2?
I tried but the information is not sufficient. Something essential is
missing and the application does not do very well.
The examples are also only plugins.

Could anyone give a real Howto for a standalone application please?

Thanks for every reply.

Günther

PS: Yes, I read the FAQ!
Re: Standalone Project? [message #477344 is a reply to message #477343] Mon, 05 May 2008 07:34 Go to previous messageGo to next message
Rafael Chaves is currently offline Rafael ChavesFriend
Messages: 362
Registered: July 2009
Senior Member
I take you are referring to the UML2 FAQ? The EMF FAQ has several
questions around using EMF in standalone Java applications, you should
read it too:

http://wiki.eclipse.org/index.php?title=EMF/FAQ

Just search for the word "standalone".

The UML2 FAQ is not great in that it suggests you hard code the location
of the org.eclipse.uml2.uml.resource which is not a good idea (as it
changes from build to build). There is definitely room for improvement
there, but other than that, I would expect it to work.

> Something essential is
> missing and the application does not do very well.

Could you provide more details?

Cheers,

Rafael

Günther Falk wrote:
> Hi,
>
> Has anyone ever tried to do a standalone application with UML2?
> I tried but the information is not sufficient. Something essential is
> missing and the application does not do very well.
> The examples are also only plugins.
>
> Could anyone give a real Howto for a standalone application please?
>
> Thanks for every reply.
>
> Günther
>
> PS: Yes, I read the FAQ!
Re: Standalone Project? [message #477347 is a reply to message #477344] Mon, 05 May 2008 08:20 Go to previous messageGo to next message
Günther Falk is currently offline Günther FalkFriend
Messages: 39
Registered: July 2009
Member
Hi Rafael,

thanks for the reply

Rafael Chaves schrieb:
> I take you are referring to the UML2 FAQ? The EMF FAQ has several
> questions around using EMF in standalone Java applications, you should
> read it too:
>

Thanks I read it and I added some line, but finally it does not work ;(

> > Something essential is
> > missing and the application does not do very well.
>
> Could you provide more details?

When I load the .uml file, it does not recognize a profile application node.
When I load it from a URI ( which finally is the same as above) which I
got it from the Classloader.getResource() it recognizes the profile
application, but then it has problems with the stereotypes (I have a
hole thread with problems committed on this problem).
I see that the .eResource() returns null for the uml type but it should not.

I have no idea and I'm finally switching to a plugin project.

Hope in future releases this would be better!!!!!

Günther

>
> Cheers,
>
> Rafael
>
> Günther Falk wrote:
>> Hi,
>>
>> Has anyone ever tried to do a standalone application with UML2?
>> I tried but the information is not sufficient. Something essential is
>> missing and the application does not do very well.
>> The examples are also only plugins.
>>
>> Could anyone give a real Howto for a standalone application please?
>>
>> Thanks for every reply.
>>
>> Günther
>>
>> PS: Yes, I read the FAQ!
Re: Standalone Project? [message #477348 is a reply to message #477347] Mon, 05 May 2008 12:03 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010600070607050006020608
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

G


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Standalone Project? [message #477349 is a reply to message #477344] Mon, 05 May 2008 13:05 Go to previous messageGo to next message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Rafael,

The UML2 FAQ is a wiki... so if there's something you feel could be
improved, why not change it? ;)

Kenn

"Rafael Chaves" <rafael@no.spam.abstratt.com> wrote in message
news:fvmdab$8iq$1@build.eclipse.org...
>I take you are referring to the UML2 FAQ? The EMF FAQ has several questions
>around using EMF in standalone Java applications, you should read it too:
>
> http://wiki.eclipse.org/index.php?title=EMF/FAQ
>
> Just search for the word "standalone".
>
> The UML2 FAQ is not great in that it suggests you hard code the location
> of the org.eclipse.uml2.uml.resource which is not a good idea (as it
> changes from build to build). There is definitely room for improvement
> there, but other than that, I would expect it to work.
>
> > Something essential is
> > missing and the application does not do very well.
>
> Could you provide more details?
>
> Cheers,
>
> Rafael
>
> G
Re: Standalone Project? [message #477350 is a reply to message #477348] Mon, 05 May 2008 13:10 Go to previous messageGo to next message
Günther Falk is currently offline Günther FalkFriend
Messages: 39
Registered: July 2009
Member
Hi Ed,

Yes, this was my first try with this configuration.
This does also not work.

This thing is hopeless, really.
I'm using uml2 in version 2.1.1 and EMF 2.3.2 downloaded last week.
Perhaps these releases don't work with each other, I don't know.
something scary happens every time.

Bye Günther

PS: Have a look at the other threads, there is an example code and model.

Ed Merks schrieb:
> Günther
>
> You've looked at this too?
> < http://wiki.eclipse.org/MDT-UML2-FAQ#What.27s_required_to_lo ad_a_UML_.28.uml.29_resource_from_a_standalone_application.3 F>
>
>
> http://wiki.eclipse.org/MDT-UML2-FAQ#What.27s_required_to_lo ad_a_UML_.28.uml.29_resource_from_a_standalone_application.3 F
>
>
> Günther Falk wrote:
>> Hi Rafael,
>>
>> thanks for the reply
>>
>> Rafael Chaves schrieb:
>>> I take you are referring to the UML2 FAQ? The EMF FAQ has several
>>> questions around using EMF in standalone Java applications, you
>>> should read it too:
>>>
>>
>> Thanks I read it and I added some line, but finally it does not work ;(
>>
>>> > Something essential is
>>> > missing and the application does not do very well.
>>>
>>> Could you provide more details?
>>
>> When I load the .uml file, it does not recognize a profile application
>> node.
>> When I load it from a URI ( which finally is the same as above) which
>> I got it from the Classloader.getResource() it recognizes the profile
>> application, but then it has problems with the stereotypes (I have a
>> hole thread with problems committed on this problem).
>> I see that the .eResource() returns null for the uml type but it
>> should not.
>>
>> I have no idea and I'm finally switching to a plugin project.
>>
>> Hope in future releases this would be better!!!!!
>>
>> Günther
>>
>>>
>>> Cheers,
>>>
>>> Rafael
>>>
>>> Günther Falk wrote:
>>>> Hi,
>>>>
>>>> Has anyone ever tried to do a standalone application with UML2?
>>>> I tried but the information is not sufficient. Something essential
>>>> is missing and the application does not do very well.
>>>> The examples are also only plugins.
>>>>
>>>> Could anyone give a real Howto for a standalone application please?
>>>>
>>>> Thanks for every reply.
>>>>
>>>> Günther
>>>>
>>>> PS: Yes, I read the FAQ!
>
Re: Standalone Project? [message #477354 is a reply to message #477350] Mon, 05 May 2008 14:18 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
Günther,

Perhaps there are missing magical incantations. The beauty of OSGi is
that it allows us to support registrations to configure the environment
declaratively. When running standalone, none of that is available and
all registrations must be done the old and rotten way. If you
described/showed exactly what you tried and described the details of
what's failing, someone can help you. And then you could update the
wiki with your experience so the next person doesn't have to discover
the same issues.


Günther Falk wrote:
> Hi Ed,
>
> Yes, this was my first try with this configuration.
> This does also not work.
>
> This thing is hopeless, really.
> I'm using uml2 in version 2.1.1 and EMF 2.3.2 downloaded last week.
> Perhaps these releases don't work with each other, I don't know.
> something scary happens every time.
>
> Bye Günther
>
> PS: Have a look at the other threads, there is an example code and model.
>
> Ed Merks schrieb:
>> Günther
>>
>> You've looked at this too?
>> < http://wiki.eclipse.org/MDT-UML2-FAQ#What.27s_required_to_lo ad_a_UML_.28.uml.29_resource_from_a_standalone_application.3 F>
>>
>>
>>
>> http://wiki.eclipse.org/MDT-UML2-FAQ#What.27s_required_to_lo ad_a_UML_.28.uml.29_resource_from_a_standalone_application.3 F
>>
>>
>>
>> Günther Falk wrote:
>>> Hi Rafael,
>>>
>>> thanks for the reply
>>>
>>> Rafael Chaves schrieb:
>>>> I take you are referring to the UML2 FAQ? The EMF FAQ has several
>>>> questions around using EMF in standalone Java applications, you
>>>> should read it too:
>>>>
>>>
>>> Thanks I read it and I added some line, but finally it does not work ;(
>>>
>>>> > Something essential is
>>>> > missing and the application does not do very well.
>>>>
>>>> Could you provide more details?
>>>
>>> When I load the .uml file, it does not recognize a profile
>>> application node.
>>> When I load it from a URI ( which finally is the same as above)
>>> which I got it from the Classloader.getResource() it recognizes the
>>> profile application, but then it has problems with the stereotypes
>>> (I have a hole thread with problems committed on this problem).
>>> I see that the .eResource() returns null for the uml type but it
>>> should not.
>>>
>>> I have no idea and I'm finally switching to a plugin project.
>>>
>>> Hope in future releases this would be better!!!!!
>>>
>>> Günther
>>>
>>>>
>>>> Cheers,
>>>>
>>>> Rafael
>>>>
>>>> Günther Falk wrote:
>>>>> Hi,
>>>>>
>>>>> Has anyone ever tried to do a standalone application with UML2?
>>>>> I tried but the information is not sufficient. Something essential
>>>>> is missing and the application does not do very well.
>>>>> The examples are also only plugins.
>>>>>
>>>>> Could anyone give a real Howto for a standalone application please?
>>>>>
>>>>> Thanks for every reply.
>>>>>
>>>>> Günther
>>>>>
>>>>> PS: Yes, I read the FAQ!
>>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Standalone Project? [message #477357 is a reply to message #477350] Mon, 05 May 2008 19:08 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
G
Re: Standalone Project? [message #626522 is a reply to message #477343] Mon, 05 May 2008 07:34 Go to previous message
Rafael Chaves is currently offline Rafael ChavesFriend
Messages: 362
Registered: July 2009
Senior Member
I take you are referring to the UML2 FAQ? The EMF FAQ has several
questions around using EMF in standalone Java applications, you should
read it too:

http://wiki.eclipse.org/index.php?title=EMF/FAQ

Just search for the word "standalone".

The UML2 FAQ is not great in that it suggests you hard code the location
of the org.eclipse.uml2.uml.resource which is not a good idea (as it
changes from build to build). There is definitely room for improvement
there, but other than that, I would expect it to work.

> Something essential is
> missing and the application does not do very well.

Could you provide more details?

Cheers,

Rafael

Günther Falk wrote:
> Hi,
>
> Has anyone ever tried to do a standalone application with UML2?
> I tried but the information is not sufficient. Something essential is
> missing and the application does not do very well.
> The examples are also only plugins.
>
> Could anyone give a real Howto for a standalone application please?
>
> Thanks for every reply.
>
> Günther
>
> PS: Yes, I read the FAQ!
Re: Standalone Project? [message #626525 is a reply to message #477344] Mon, 05 May 2008 08:20 Go to previous message
Günther Falk is currently offline Günther FalkFriend
Messages: 39
Registered: July 2009
Member
Hi Rafael,

thanks for the reply

Rafael Chaves schrieb:
> I take you are referring to the UML2 FAQ? The EMF FAQ has several
> questions around using EMF in standalone Java applications, you should
> read it too:
>

Thanks I read it and I added some line, but finally it does not work ;(

> > Something essential is
> > missing and the application does not do very well.
>
> Could you provide more details?

When I load the .uml file, it does not recognize a profile application node.
When I load it from a URI ( which finally is the same as above) which I
got it from the Classloader.getResource() it recognizes the profile
application, but then it has problems with the stereotypes (I have a
hole thread with problems committed on this problem).
I see that the .eResource() returns null for the uml type but it should not.

I have no idea and I'm finally switching to a plugin project.

Hope in future releases this would be better!!!!!

Günther

>
> Cheers,
>
> Rafael
>
> Günther Falk wrote:
>> Hi,
>>
>> Has anyone ever tried to do a standalone application with UML2?
>> I tried but the information is not sufficient. Something essential is
>> missing and the application does not do very well.
>> The examples are also only plugins.
>>
>> Could anyone give a real Howto for a standalone application please?
>>
>> Thanks for every reply.
>>
>> Günther
>>
>> PS: Yes, I read the FAQ!
Re: Standalone Project? [message #626526 is a reply to message #477347] Mon, 05 May 2008 12:03 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010600070607050006020608
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

G


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Standalone Project? [message #626527 is a reply to message #477344] Mon, 05 May 2008 13:05 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Rafael,

The UML2 FAQ is a wiki... so if there's something you feel could be
improved, why not change it? ;)

Kenn

"Rafael Chaves" <rafael@no.spam.abstratt.com> wrote in message
news:fvmdab$8iq$1@build.eclipse.org...
>I take you are referring to the UML2 FAQ? The EMF FAQ has several questions
>around using EMF in standalone Java applications, you should read it too:
>
> http://wiki.eclipse.org/index.php?title=EMF/FAQ
>
> Just search for the word "standalone".
>
> The UML2 FAQ is not great in that it suggests you hard code the location
> of the org.eclipse.uml2.uml.resource which is not a good idea (as it
> changes from build to build). There is definitely room for improvement
> there, but other than that, I would expect it to work.
>
> > Something essential is
> > missing and the application does not do very well.
>
> Could you provide more details?
>
> Cheers,
>
> Rafael
>
> G
Re: Standalone Project? [message #626528 is a reply to message #477348] Mon, 05 May 2008 13:10 Go to previous message
Günther Falk is currently offline Günther FalkFriend
Messages: 39
Registered: July 2009
Member
Hi Ed,

Yes, this was my first try with this configuration.
This does also not work.

This thing is hopeless, really.
I'm using uml2 in version 2.1.1 and EMF 2.3.2 downloaded last week.
Perhaps these releases don't work with each other, I don't know.
something scary happens every time.

Bye Günther

PS: Have a look at the other threads, there is an example code and model.

Ed Merks schrieb:
> Günther
>
> You've looked at this too?
> < http://wiki.eclipse.org/MDT-UML2-FAQ#What.27s_required_to_lo ad_a_UML_.28.uml.29_resource_from_a_standalone_application.3 F>
>
>
> http://wiki.eclipse.org/MDT-UML2-FAQ#What.27s_required_to_lo ad_a_UML_.28.uml.29_resource_from_a_standalone_application.3 F
>
>
> Günther Falk wrote:
>> Hi Rafael,
>>
>> thanks for the reply
>>
>> Rafael Chaves schrieb:
>>> I take you are referring to the UML2 FAQ? The EMF FAQ has several
>>> questions around using EMF in standalone Java applications, you
>>> should read it too:
>>>
>>
>> Thanks I read it and I added some line, but finally it does not work ;(
>>
>>> > Something essential is
>>> > missing and the application does not do very well.
>>>
>>> Could you provide more details?
>>
>> When I load the .uml file, it does not recognize a profile application
>> node.
>> When I load it from a URI ( which finally is the same as above) which
>> I got it from the Classloader.getResource() it recognizes the profile
>> application, but then it has problems with the stereotypes (I have a
>> hole thread with problems committed on this problem).
>> I see that the .eResource() returns null for the uml type but it
>> should not.
>>
>> I have no idea and I'm finally switching to a plugin project.
>>
>> Hope in future releases this would be better!!!!!
>>
>> Günther
>>
>>>
>>> Cheers,
>>>
>>> Rafael
>>>
>>> Günther Falk wrote:
>>>> Hi,
>>>>
>>>> Has anyone ever tried to do a standalone application with UML2?
>>>> I tried but the information is not sufficient. Something essential
>>>> is missing and the application does not do very well.
>>>> The examples are also only plugins.
>>>>
>>>> Could anyone give a real Howto for a standalone application please?
>>>>
>>>> Thanks for every reply.
>>>>
>>>> Günther
>>>>
>>>> PS: Yes, I read the FAQ!
>
Re: Standalone Project? [message #626533 is a reply to message #477350] Mon, 05 May 2008 14:18 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
Günther,

Perhaps there are missing magical incantations. The beauty of OSGi is
that it allows us to support registrations to configure the environment
declaratively. When running standalone, none of that is available and
all registrations must be done the old and rotten way. If you
described/showed exactly what you tried and described the details of
what's failing, someone can help you. And then you could update the
wiki with your experience so the next person doesn't have to discover
the same issues.


Günther Falk wrote:
> Hi Ed,
>
> Yes, this was my first try with this configuration.
> This does also not work.
>
> This thing is hopeless, really.
> I'm using uml2 in version 2.1.1 and EMF 2.3.2 downloaded last week.
> Perhaps these releases don't work with each other, I don't know.
> something scary happens every time.
>
> Bye Günther
>
> PS: Have a look at the other threads, there is an example code and model.
>
> Ed Merks schrieb:
>> Günther
>>
>> You've looked at this too?
>> < http://wiki.eclipse.org/MDT-UML2-FAQ#What.27s_required_to_lo ad_a_UML_.28.uml.29_resource_from_a_standalone_application.3 F>
>>
>>
>>
>> http://wiki.eclipse.org/MDT-UML2-FAQ#What.27s_required_to_lo ad_a_UML_.28.uml.29_resource_from_a_standalone_application.3 F
>>
>>
>>
>> Günther Falk wrote:
>>> Hi Rafael,
>>>
>>> thanks for the reply
>>>
>>> Rafael Chaves schrieb:
>>>> I take you are referring to the UML2 FAQ? The EMF FAQ has several
>>>> questions around using EMF in standalone Java applications, you
>>>> should read it too:
>>>>
>>>
>>> Thanks I read it and I added some line, but finally it does not work ;(
>>>
>>>> > Something essential is
>>>> > missing and the application does not do very well.
>>>>
>>>> Could you provide more details?
>>>
>>> When I load the .uml file, it does not recognize a profile
>>> application node.
>>> When I load it from a URI ( which finally is the same as above)
>>> which I got it from the Classloader.getResource() it recognizes the
>>> profile application, but then it has problems with the stereotypes
>>> (I have a hole thread with problems committed on this problem).
>>> I see that the .eResource() returns null for the uml type but it
>>> should not.
>>>
>>> I have no idea and I'm finally switching to a plugin project.
>>>
>>> Hope in future releases this would be better!!!!!
>>>
>>> Günther
>>>
>>>>
>>>> Cheers,
>>>>
>>>> Rafael
>>>>
>>>> Günther Falk wrote:
>>>>> Hi,
>>>>>
>>>>> Has anyone ever tried to do a standalone application with UML2?
>>>>> I tried but the information is not sufficient. Something essential
>>>>> is missing and the application does not do very well.
>>>>> The examples are also only plugins.
>>>>>
>>>>> Could anyone give a real Howto for a standalone application please?
>>>>>
>>>>> Thanks for every reply.
>>>>>
>>>>> Günther
>>>>>
>>>>> PS: Yes, I read the FAQ!
>>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Standalone Project? [message #626536 is a reply to message #477350] Mon, 05 May 2008 19:08 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
G
Previous Topic:Standalone Project?
Next Topic:Wich UML2 metamodel implemetation MagicDraw uses?
Goto Forum:
  


Current Time: Tue Apr 16 18:47:16 GMT 2024

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

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

Back to the top