Home » Modeling » UML2 » Standalone Project?
Standalone Project? [message #477343] |
Mon, 05 May 2008 02:54  |
Eclipse User |
|
|
|
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 #477350 is a reply to message #477348] |
Mon, 05 May 2008 09:10   |
Eclipse User |
|
|
|
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 10:18   |
Eclipse User |
|
|
|
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!
>>
|
|
| |
Re: Standalone Project? [message #626522 is a reply to message #477343] |
Mon, 05 May 2008 03:34  |
Eclipse User |
|
|
|
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 04:20  |
Eclipse User |
|
|
|
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 08:03  |
Eclipse User |
|
|
|
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
|
|
|
Re: Standalone Project? [message #626527 is a reply to message #477344] |
Mon, 05 May 2008 09:05  |
Eclipse User |
|
|
|
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 09:10  |
Eclipse User |
|
|
|
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 10:18  |
Eclipse User |
|
|
|
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!
>>
|
|
| |
Goto Forum:
Current Time: Wed Jul 23 17:01:16 EDT 2025
Powered by FUDForum. Page generated in 0.04607 seconds
|