Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » UML2 migration
UML2 migration [message #477721] Mon, 15 September 2008 12:20 Go to next message
David Bonneau is currently offline David BonneauFriend
Messages: 28
Registered: July 2009
Junior Member
I'm working on a standalone application. This application must load uml
files whose nsURI are http://www.eclipse.org/uml2/2.0.0/UML.

Is this nsURI indicates that i'm working on a UML 2.0 file ?

I try the code given by the article :
http://www.eclipse.org/modeling/mdt/uml2/docs/guides/UML2_2. 0_Migration_Guide/guide.html

I don't understand all. I want to know if my model to migrate must have
the extension .uml2 ? When I read this line :

extensionFactoryMap.put(UML22UMLResource.FILE_EXTENSION,UML2 2UMLResource.Factory.INSTANCE)

I assume that my file must be something like model.uml2 ? How can I
known if my file is a uml2.0 or a uml2.1 if the extension is wrong
(always .uml) ?



David
Re: UML2 migration [message #477723 is a reply to message #477721] Mon, 15 September 2008 18:40 Go to previous messageGo to next message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi David,

The resource handlers are registered against particular content type
identifiers so they should kick in regardless of the exension.
To determine the format of the model you can look at the serialized nsURI.
For example:
<uml:Model xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
xmlns:uml="http://www.eclipse.org/uml2/2.1.0/UML"
xmi:id="_UXe2UH6gEd2W3e_qmR_CeQ" name="m1">


Moving forward, the .uml extension will remain the same even as new versions
of UML come out. For example, the next version of UML is 2.2, however
the extension will remain .uml.

The migration guide you are looking at migrates from UML 1.0.0 to UML 2.0.0
(the extension changed here from .uml2 to .uml)
There was a second migration guide that migrates from UML 2.0.0 to UML 2.1.2
(the extension remains .uml)
The next migration will be from UML 2.1.2 to UML 2.2 - and introduces API
breaking changes ( a new migration guide will be posted ).

Cheers,

- James.


"David Bonneau" <david.bonneau@obeo.fr> wrote in message
news:galjud$nmq$1@build.eclipse.org...
> I'm working on a standalone application. This application must load uml
> files whose nsURI are http://www.eclipse.org/uml2/2.0.0/UML.
>
> Is this nsURI indicates that i'm working on a UML 2.0 file ?
>
> I try the code given by the article :
> http://www.eclipse.org/modeling/mdt/uml2/docs/guides/UML2_2. 0_Migration_Guide/guide.html
>
> I don't understand all. I want to know if my model to migrate must have
> the extension .uml2 ? When I read this line :
>
> extensionFactoryMap.put(UML22UMLResource.FILE_EXTENSION,UML2 2UMLResource.Factory.INSTANCE)
>
> I assume that my file must be something like model.uml2 ? How can I known
> if my file is a uml2.0 or a uml2.1 if the extension is wrong (always .uml)
> ?
>
>
>
> David
Re: UML2 migration [message #477724 is a reply to message #477723] Tue, 16 September 2008 06:36 Go to previous messageGo to next message
Tom Morris is currently offline Tom MorrisFriend
Messages: 89
Registered: July 2009
Member
James Bruck wrote:

> The migration guide you are looking at migrates from UML 1.0.0 to UML 2.0.0
> (the extension changed here from .uml2 to .uml)
> There was a second migration guide that migrates from UML 2.0.0 to UML 2.1.2
> (the extension remains .uml)

Presumably this should be "UML2 1.0.0" (ie the Eclipse plugin which
implemented something like UML 1.95) instead of "UML 1.0.0"

Tom
Re: UML2 migration [message #477725 is a reply to message #477723] Tue, 16 September 2008 06:53 Go to previous messageGo to next message
David Bonneau is currently offline David BonneauFriend
Messages: 28
Registered: July 2009
Junior Member
Thanks for your reply.

As I say in my previous post I'm working on a standalone app. I wan't to
load a UML 2.0.0 model (http://www.eclipse.org/uml2/2.0.0/UML).

When I do this, I have an exception that says : "Package with uri
'http://www.eclipse.org/uml2/2.0.0/UML' not found."

To fix this, I add the line
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/uml2/2.0.0/UML",
UMLPackage.eINSTANCE);

This is the good way ? Or there is another solution ?

David

James Bruck a écrit :
> Hi David,
>
> The resource handlers are registered against particular content type
> identifiers so they should kick in regardless of the exension.
> To determine the format of the model you can look at the serialized nsURI.
> For example:
> <uml:Model xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
> xmlns:uml="http://www.eclipse.org/uml2/2.1.0/UML"
> xmi:id="_UXe2UH6gEd2W3e_qmR_CeQ" name="m1">
>
>
> Moving forward, the .uml extension will remain the same even as new versions
> of UML come out. For example, the next version of UML is 2.2, however
> the extension will remain .uml.
>
> The migration guide you are looking at migrates from UML 1.0.0 to UML 2.0.0
> (the extension changed here from .uml2 to .uml)
> There was a second migration guide that migrates from UML 2.0.0 to UML 2.1.2
> (the extension remains .uml)
> The next migration will be from UML 2.1.2 to UML 2.2 - and introduces API
> breaking changes ( a new migration guide will be posted ).
>
> Cheers,
>
> - James.
>
>
> "David Bonneau" <david.bonneau@obeo.fr> wrote in message
> news:galjud$nmq$1@build.eclipse.org...
>> I'm working on a standalone application. This application must load uml
>> files whose nsURI are http://www.eclipse.org/uml2/2.0.0/UML.
>>
>> Is this nsURI indicates that i'm working on a UML 2.0 file ?
>>
>> I try the code given by the article :
>> http://www.eclipse.org/modeling/mdt/uml2/docs/guides/UML2_2. 0_Migration_Guide/guide.html
>>
>> I don't understand all. I want to know if my model to migrate must have
>> the extension .uml2 ? When I read this line :
>>
>> extensionFactoryMap.put(UML22UMLResource.FILE_EXTENSION,UML2 2UMLResource.Factory.INSTANCE)
>>
>> I assume that my file must be something like model.uml2 ? How can I known
>> if my file is a uml2.0 or a uml2.1 if the extension is wrong (always .uml)
>> ?
>>
>>
>>
>> David
>
>
Re: UML2 migration [message #477727 is a reply to message #477724] Tue, 16 September 2008 13:42 Go to previous messageGo to next message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Tom,

I was referring to the versions of UML as defined by OMG not the versions of
the plugins.
The versioning of the plugins do not align directly with the versions of the
spec.
The convention that we've tried to adhere to when referring to versions of
the spec at OMG is UML x.x.x, whereas when referring to versions of the
plugins we use UML2 x.x.x.

For example, the next version of UML (OMG spec.) will be UML 2.2 whereas
the corresponding plugin version will be UML2 3.0.0.

Also, the version of UML 2.1.2 is implemented in plugins starting from UML2
2.0.4 all the way to UML2 2.2.

It's a bit confusing since the versions of the plugins seem to align closely
to the versions of the spec but that is coincidental.

Cheers,
- James.


"Tom Morris" <tfmorris@gmail.com> wrote in message
news:gank5n$eq1$1@build.eclipse.org...
> James Bruck wrote:
>
>> The migration guide you are looking at migrates from UML 1.0.0 to UML
>> 2.0.0 (the extension changed here from .uml2 to .uml)
>> There was a second migration guide that migrates from UML 2.0.0 to UML
>> 2.1.2 (the extension remains .uml)
>
> Presumably this should be "UML2 1.0.0" (ie the Eclipse plugin which
> implemented something like UML 1.95) instead of "UML 1.0.0"
>
> Tom
Re: UML2 migration [message #477729 is a reply to message #477727] Tue, 16 September 2008 15:28 Go to previous messageGo to next message
Tom Morris is currently offline Tom MorrisFriend
Messages: 89
Registered: July 2009
Member
Thanks for the clarification James, but now I'm more confused than ever.

Your original message said:

>> The migration guide you are looking at migrates from UML 1.0.0 to UML
>> 2.0.0 (the extension changed here from .uml2 to .uml)

Since you referenced file extensions (.uml2 & .uml) and I was pretty
sure that the UML2 plugin never implemented UML 1.5 or any of the
earlier UML 1.x versions, I just jumped to the conclusion that you were
talking about UML2 versions instead of UML versions.

Your clarification said:

> I was referring to the versions of UML as defined by OMG not the versions of
> the plugins.

Is there actually a migration guide which describes migrating from UML
1.x (say UML 1.4 or UML 1.5) to UML 2.x using the Eclipse UML2 plugin?

That would be a great resource for me. Could I get a pointer to it?

Tom
Re: UML2 migration [message #477730 is a reply to message #477729] Tue, 16 September 2008 22:23 Go to previous messageGo to next message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Ahh I confused myself ;)

See comments inline below ...


"Tom Morris" <tfmorris@gmail.com> wrote in message
news:gaojba$1lf$1@build.eclipse.org...
> Thanks for the clarification James, but now I'm more confused than ever.
>
> Your original message said:
>
> >> The migration guide you are looking at migrates from UML 1.0.0 to UML
> >> 2.0.0 (the extension changed here from .uml2 to .uml)


This statement is a mistake:
The first migration guide
http://www.eclipse.org/modeling/mdt/uml2/docs/guides/UML2_2. 0_Migration_Guide/guide.html
indicates migration from the UML2 1.x API based on the UML 2.0.0 interim
draft specification to UML2 2.0 API based on the UML 2.1 specification.
At this time the extension changed from .uml2 to .uml.
Major changes to the spec were introduced at this stage (and the major
version number of the API was changed).


>
> Since you referenced file extensions (.uml2 & .uml) and I was pretty sure
> that the UML2 plugin never implemented UML 1.5 or any of the earlier UML
> 1.x versions, I just jumped to the conclusion that you were talking about
> UML2 versions instead of UML versions.

.... sorry about the confusion.


>
> Your clarification said:
>
>> I was referring to the versions of UML as defined by OMG not the versions
>> of the plugins.
>
> Is there actually a migration guide which describes migrating from UML 1.x
> (say UML 1.4 or UML 1.5) to UML 2.x using the Eclipse UML2 plugin?

No, unfortunately not. However, the changes between UML 1.x and UML 2.x
(OMG spec. wise) would be substantial and difficult to document I would
suspect.



>
> That would be a great resource for me. Could I get a pointer to it?
>
> Tom
Re: UML2 migration [message #477731 is a reply to message #477730] Wed, 17 September 2008 00:00 Go to previous messageGo to next message
Tom Morris is currently offline Tom MorrisFriend
Messages: 89
Registered: July 2009
Member
OK, now we're on the same page. I was just trying to correct the typo
so that no one would get confused, but just managed to inject more
confusion.

James Bruck wrote:

>> Is there actually a migration guide which describes migrating from UML 1.x
>> (say UML 1.4 or UML 1.5) to UML 2.x using the Eclipse UML2 plugin?
>
> No, unfortunately not. However, the changes between UML 1.x and UML 2.x
> (OMG spec. wise) would be substantial and difficult to document I would
> suspect.

Yes, I'm sure you're correct, but just imagine how much harder the
migration will be without this information. That's the situation we're
facing as we migrate to the UML 2.1.x (via the UML2 plugins).

It's unfortunate that the OMG has never felt the need to document the
differences between one version and the next -- or better yet, maintain
backward compatibility!

Tom
Re: UML2 migration [message #477732 is a reply to message #477731] Wed, 17 September 2008 13:36 Go to previous messageGo to next message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Tom,

The OMG maintains "change ballots" that describe differences between the
various versions of the spec., however, these change ballots are complex in
themselves.
The OMG also produces versions of the spec with "change bars" that indicate
areas that have changed.
Your best bet might be to try and locate those change ballots or compare the
specs. with change bars.

Good luck.

- James.


"Tom Morris" <tfmorris@gmail.com> wrote in message
news:gaphbh$f02$1@build.eclipse.org...
> OK, now we're on the same page. I was just trying to correct the typo so
> that no one would get confused, but just managed to inject more confusion.
>
> James Bruck wrote:
>
>>> Is there actually a migration guide which describes migrating from UML
>>> 1.x (say UML 1.4 or UML 1.5) to UML 2.x using the Eclipse UML2 plugin?
>>
>> No, unfortunately not. However, the changes between UML 1.x and UML 2.x
>> (OMG spec. wise) would be substantial and difficult to document I would
>> suspect.
>
> Yes, I'm sure you're correct, but just imagine how much harder the
> migration will be without this information. That's the situation we're
> facing as we migrate to the UML 2.1.x (via the UML2 plugins).
>
> It's unfortunate that the OMG has never felt the need to document the
> differences between one version and the next -- or better yet, maintain
> backward compatibility!
>
> Tom
Re: UML2 migration [message #477894 is a reply to message #477732] Tue, 28 October 2008 17:45 Go to previous messageGo to next message
Tom Morris is currently offline Tom MorrisFriend
Messages: 89
Registered: July 2009
Member
James Bruck wrote:

> The OMG maintains "change ballots" that describe differences between the
> various versions of the spec., however, these change ballots are complex in
> themselves.

The change ballots aren't really all that complex, but you do need to go
back to original issues in the issue database to get an understanding of
what the change was.

> The OMG also produces versions of the spec with "change bars" that indicate
> areas that have changed.
> Your best bet might be to try and locate those change ballots or compare the
> specs. with change bars.

I've been following the OMG's activities for years and have never come
across a change-barred version of the UML 2.0 spec which contained the
changes that were made between UML 1.5 and UML 2.0.

I'd love to get a pointer if you (or anyone else) has one.

Tom
Re: UML2 migration [message #477999 is a reply to message #477725] Fri, 21 November 2008 22:49 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi David,

Yes adding that entry is fine.
Cheers,

- James.

"David Bonneau" <david.bonneau@obeo.fr> wrote in message
news:ganl5t$8bk$1@build.eclipse.org...
> Thanks for your reply.
>
> As I say in my previous post I'm working on a standalone app. I wan't to
> load a UML 2.0.0 model (http://www.eclipse.org/uml2/2.0.0/UML).
>
> When I do this, I have an exception that says : "Package with uri
> 'http://www.eclipse.org/uml2/2.0.0/UML' not found."
>
> To fix this, I add the line
> EPackage.Registry.INSTANCE.put("http://www.eclipse.org/uml2/2.0.0/UML",
> UMLPackage.eINSTANCE);
>
> This is the good way ? Or there is another solution ?
>
> David
>
> James Bruck a
Re: UML2 migration [message #626919 is a reply to message #477721] Mon, 15 September 2008 18:40 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi David,

The resource handlers are registered against particular content type
identifiers so they should kick in regardless of the exension.
To determine the format of the model you can look at the serialized nsURI.
For example:
<uml:Model xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
xmlns:uml="http://www.eclipse.org/uml2/2.1.0/UML"
xmi:id="_UXe2UH6gEd2W3e_qmR_CeQ" name="m1">


Moving forward, the .uml extension will remain the same even as new versions
of UML come out. For example, the next version of UML is 2.2, however
the extension will remain .uml.

The migration guide you are looking at migrates from UML 1.0.0 to UML 2.0.0
(the extension changed here from .uml2 to .uml)
There was a second migration guide that migrates from UML 2.0.0 to UML 2.1.2
(the extension remains .uml)
The next migration will be from UML 2.1.2 to UML 2.2 - and introduces API
breaking changes ( a new migration guide will be posted ).

Cheers,

- James.


"David Bonneau" <david.bonneau@obeo.fr> wrote in message
news:galjud$nmq$1@build.eclipse.org...
> I'm working on a standalone application. This application must load uml
> files whose nsURI are http://www.eclipse.org/uml2/2.0.0/UML
>
> Is this nsURI indicates that i'm working on a UML 2.0 file ?
>
> I try the code given by the article :
> http://www.eclipse.org/modeling/mdt/uml2/docs/guides/UML2_2. 0_Migration_Guide/guide.html
>
> I don't understand all. I want to know if my model to migrate must have
> the extension .uml2 ? When I read this line :
>
> extensionFactoryMap.put(UML22UMLResource.FILE_EXTENSION,UML2 2UMLResource.Factory.INSTANCE)
>
> I assume that my file must be something like model.uml2 ? How can I known
> if my file is a uml2.0 or a uml2.1 if the extension is wrong (always .uml)
> ?
>
>
>
> David
Re: UML2 migration [message #626920 is a reply to message #477723] Tue, 16 September 2008 06:36 Go to previous message
Tom Morris is currently offline Tom MorrisFriend
Messages: 89
Registered: July 2009
Member
James Bruck wrote:

> The migration guide you are looking at migrates from UML 1.0.0 to UML 2.0.0
> (the extension changed here from .uml2 to .uml)
> There was a second migration guide that migrates from UML 2.0.0 to UML 2.1.2
> (the extension remains .uml)

Presumably this should be "UML2 1.0.0" (ie the Eclipse plugin which
implemented something like UML 1.95) instead of "UML 1.0.0"

Tom
Re: UML2 migration [message #626921 is a reply to message #477723] Tue, 16 September 2008 06:53 Go to previous message
David Bonneau is currently offline David BonneauFriend
Messages: 28
Registered: July 2009
Junior Member
Thanks for your reply.

As I say in my previous post I'm working on a standalone app. I wan't to
load a UML 2.0.0 model (http://www.eclipse.org/uml2/2.0.0/UML).

When I do this, I have an exception that says : "Package with uri
'http://www.eclipse.org/uml2/2.0.0/UML' not found."

To fix this, I add the line
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/uml2/2.0.0/UML",
UMLPackage.eINSTANCE);

This is the good way ? Or there is another solution ?

David

James Bruck a écrit :
> Hi David,
>
> The resource handlers are registered against particular content type
> identifiers so they should kick in regardless of the exension.
> To determine the format of the model you can look at the serialized nsURI.
> For example:
> <uml:Model xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
> xmlns:uml="http://www.eclipse.org/uml2/2.1.0/UML"
> xmi:id="_UXe2UH6gEd2W3e_qmR_CeQ" name="m1">
>
>
> Moving forward, the .uml extension will remain the same even as new versions
> of UML come out. For example, the next version of UML is 2.2, however
> the extension will remain .uml.
>
> The migration guide you are looking at migrates from UML 1.0.0 to UML 2.0.0
> (the extension changed here from .uml2 to .uml)
> There was a second migration guide that migrates from UML 2.0.0 to UML 2.1.2
> (the extension remains .uml)
> The next migration will be from UML 2.1.2 to UML 2.2 - and introduces API
> breaking changes ( a new migration guide will be posted ).
>
> Cheers,
>
> - James.
>
>
> "David Bonneau" <david.bonneau@obeo.fr> wrote in message
> news:galjud$nmq$1@build.eclipse.org...
>> I'm working on a standalone application. This application must load uml
>> files whose nsURI are http://www.eclipse.org/uml2/2.0.0/UML
>>
>> Is this nsURI indicates that i'm working on a UML 2.0 file ?
>>
>> I try the code given by the article :
>> http://www.eclipse.org/modeling/mdt/uml2/docs/guides/UML2_2. 0_Migration_Guide/guide.html
>>
>> I don't understand all. I want to know if my model to migrate must have
>> the extension .uml2 ? When I read this line :
>>
>> extensionFactoryMap.put(UML22UMLResource.FILE_EXTENSION,UML2 2UMLResource.Factory.INSTANCE)
>>
>> I assume that my file must be something like model.uml2 ? How can I known
>> if my file is a uml2.0 or a uml2.1 if the extension is wrong (always .uml)
>> ?
>>
>>
>>
>> David
>
>
Re: UML2 migration [message #626923 is a reply to message #477724] Tue, 16 September 2008 13:42 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Tom,

I was referring to the versions of UML as defined by OMG not the versions of
the plugins.
The versioning of the plugins do not align directly with the versions of the
spec.
The convention that we've tried to adhere to when referring to versions of
the spec at OMG is UML x.x.x, whereas when referring to versions of the
plugins we use UML2 x.x.x.

For example, the next version of UML (OMG spec.) will be UML 2.2 whereas
the corresponding plugin version will be UML2 3.0.0.

Also, the version of UML 2.1.2 is implemented in plugins starting from UML2
2.0.4 all the way to UML2 2.2.

It's a bit confusing since the versions of the plugins seem to align closely
to the versions of the spec but that is coincidental.

Cheers,
- James.


"Tom Morris" <tfmorris@gmail.com> wrote in message
news:gank5n$eq1$1@build.eclipse.org...
> James Bruck wrote:
>
>> The migration guide you are looking at migrates from UML 1.0.0 to UML
>> 2.0.0 (the extension changed here from .uml2 to .uml)
>> There was a second migration guide that migrates from UML 2.0.0 to UML
>> 2.1.2 (the extension remains .uml)
>
> Presumably this should be "UML2 1.0.0" (ie the Eclipse plugin which
> implemented something like UML 1.95) instead of "UML 1.0.0"
>
> Tom
Re: UML2 migration [message #626925 is a reply to message #477727] Tue, 16 September 2008 15:28 Go to previous message
Tom Morris is currently offline Tom MorrisFriend
Messages: 89
Registered: July 2009
Member
Thanks for the clarification James, but now I'm more confused than ever.

Your original message said:

>> The migration guide you are looking at migrates from UML 1.0.0 to UML
>> 2.0.0 (the extension changed here from .uml2 to .uml)

Since you referenced file extensions (.uml2 & .uml) and I was pretty
sure that the UML2 plugin never implemented UML 1.5 or any of the
earlier UML 1.x versions, I just jumped to the conclusion that you were
talking about UML2 versions instead of UML versions.

Your clarification said:

> I was referring to the versions of UML as defined by OMG not the versions of
> the plugins.

Is there actually a migration guide which describes migrating from UML
1.x (say UML 1.4 or UML 1.5) to UML 2.x using the Eclipse UML2 plugin?

That would be a great resource for me. Could I get a pointer to it?

Tom
Re: UML2 migration [message #626926 is a reply to message #477729] Tue, 16 September 2008 22:23 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Ahh I confused myself ;)

See comments inline below ...


"Tom Morris" <tfmorris@gmail.com> wrote in message
news:gaojba$1lf$1@build.eclipse.org...
> Thanks for the clarification James, but now I'm more confused than ever.
>
> Your original message said:
>
> >> The migration guide you are looking at migrates from UML 1.0.0 to UML
> >> 2.0.0 (the extension changed here from .uml2 to .uml)


This statement is a mistake:
The first migration guide
http://www.eclipse.org/modeling/mdt/uml2/docs/guides/UML2_2. 0_Migration_Guide/guide.html
indicates migration from the UML2 1.x API based on the UML 2.0.0 interim
draft specification to UML2 2.0 API based on the UML 2.1 specification.
At this time the extension changed from .uml2 to .uml.
Major changes to the spec were introduced at this stage (and the major
version number of the API was changed).


>
> Since you referenced file extensions (.uml2 & .uml) and I was pretty sure
> that the UML2 plugin never implemented UML 1.5 or any of the earlier UML
> 1.x versions, I just jumped to the conclusion that you were talking about
> UML2 versions instead of UML versions.

.... sorry about the confusion.


>
> Your clarification said:
>
>> I was referring to the versions of UML as defined by OMG not the versions
>> of the plugins.
>
> Is there actually a migration guide which describes migrating from UML 1.x
> (say UML 1.4 or UML 1.5) to UML 2.x using the Eclipse UML2 plugin?

No, unfortunately not. However, the changes between UML 1.x and UML 2.x
(OMG spec. wise) would be substantial and difficult to document I would
suspect.



>
> That would be a great resource for me. Could I get a pointer to it?
>
> Tom
Re: UML2 migration [message #626927 is a reply to message #477730] Wed, 17 September 2008 00:00 Go to previous message
Tom Morris is currently offline Tom MorrisFriend
Messages: 89
Registered: July 2009
Member
OK, now we're on the same page. I was just trying to correct the typo
so that no one would get confused, but just managed to inject more
confusion.

James Bruck wrote:

>> Is there actually a migration guide which describes migrating from UML 1.x
>> (say UML 1.4 or UML 1.5) to UML 2.x using the Eclipse UML2 plugin?
>
> No, unfortunately not. However, the changes between UML 1.x and UML 2.x
> (OMG spec. wise) would be substantial and difficult to document I would
> suspect.

Yes, I'm sure you're correct, but just imagine how much harder the
migration will be without this information. That's the situation we're
facing as we migrate to the UML 2.1.x (via the UML2 plugins).

It's unfortunate that the OMG has never felt the need to document the
differences between one version and the next -- or better yet, maintain
backward compatibility!

Tom
Re: UML2 migration [message #626928 is a reply to message #477731] Wed, 17 September 2008 13:36 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Tom,

The OMG maintains "change ballots" that describe differences between the
various versions of the spec., however, these change ballots are complex in
themselves.
The OMG also produces versions of the spec with "change bars" that indicate
areas that have changed.
Your best bet might be to try and locate those change ballots or compare the
specs. with change bars.

Good luck.

- James.


"Tom Morris" <tfmorris@gmail.com> wrote in message
news:gaphbh$f02$1@build.eclipse.org...
> OK, now we're on the same page. I was just trying to correct the typo so
> that no one would get confused, but just managed to inject more confusion.
>
> James Bruck wrote:
>
>>> Is there actually a migration guide which describes migrating from UML
>>> 1.x (say UML 1.4 or UML 1.5) to UML 2.x using the Eclipse UML2 plugin?
>>
>> No, unfortunately not. However, the changes between UML 1.x and UML 2.x
>> (OMG spec. wise) would be substantial and difficult to document I would
>> suspect.
>
> Yes, I'm sure you're correct, but just imagine how much harder the
> migration will be without this information. That's the situation we're
> facing as we migrate to the UML 2.1.x (via the UML2 plugins).
>
> It's unfortunate that the OMG has never felt the need to document the
> differences between one version and the next -- or better yet, maintain
> backward compatibility!
>
> Tom
Re: UML2 migration [message #627103 is a reply to message #477732] Tue, 28 October 2008 17:45 Go to previous message
Tom Morris is currently offline Tom MorrisFriend
Messages: 89
Registered: July 2009
Member
James Bruck wrote:

> The OMG maintains "change ballots" that describe differences between the
> various versions of the spec., however, these change ballots are complex in
> themselves.

The change ballots aren't really all that complex, but you do need to go
back to original issues in the issue database to get an understanding of
what the change was.

> The OMG also produces versions of the spec with "change bars" that indicate
> areas that have changed.
> Your best bet might be to try and locate those change ballots or compare the
> specs. with change bars.

I've been following the OMG's activities for years and have never come
across a change-barred version of the UML 2.0 spec which contained the
changes that were made between UML 1.5 and UML 2.0.

I'd love to get a pointer if you (or anyone else) has one.

Tom
Re: UML2 migration [message #627216 is a reply to message #477725] Fri, 21 November 2008 22:49 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi David,

Yes adding that entry is fine.
Cheers,

- James.

"David Bonneau" <david.bonneau@obeo.fr> wrote in message
news:ganl5t$8bk$1@build.eclipse.org...
> Thanks for your reply.
>
> As I say in my previous post I'm working on a standalone app. I wan't to
> load a UML 2.0.0 model (http://www.eclipse.org/uml2/2.0.0/UML).
>
> When I do this, I have an exception that says : "Package with uri
> 'http://www.eclipse.org/uml2/2.0.0/UML' not found."
>
> To fix this, I add the line
> EPackage.Registry.INSTANCE.put("http://www.eclipse.org/uml2/2.0.0/UML",
> UMLPackage.eINSTANCE);
>
> This is the good way ? Or there is another solution ?
>
> David
>
> James Bruck a
Previous Topic:Add classes to my UML2 model via java code
Next Topic:Export to UML from ECORE fails
Goto Forum:
  


Current Time: Thu Mar 28 23:28:44 GMT 2024

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

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

Back to the top