Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF M7 - nsURIs migration
GMF M7 - nsURIs migration [message #127691] Mon, 21 May 2007 10:17 Go to next message
Anna Karjakina is currently offline Anna KarjakinaFriend
Messages: 6
Registered: July 2009
Junior Member
Hello All,

In recent GMF M7 milestone gmfmap and gmfgen nsURIs were changed. So if
you will open your prior created map and gen models you will get the
resource warning for the old metamodel version detected, prompting you
to run migrate action. Unfortunately, migrate action could work
unstable, and it could happen that it even won't let you run it in case
of discovering other problems. Please, be so kind to let me know of any
strange resource errors suddenly appeared on your models with old nsURI,
if any. But anyways, there is a simple workaround you should be aware
of. You can open your map and gen files with Text Editor and change
nsURIs yourself:

xmlns:gmfmap="http://www.eclipse.org/gmf/2005/mappings/2.0" ->
xmlns:gmfmap="http://www.eclipse.org/gmf/2006/mappings"
xmlns:gmfgen="http://www.eclipse.org/gmf/2005/GenModel/2.0" ->
xmlns:gmfgen="http://www.eclipse.org/gmf/2006/GenModel"

Thanks,
Ann Karjakina.
Re: GMF M7 - nsURIs migration [message #127844 is a reply to message #127691] Mon, 21 May 2007 16:01 Go to previous message
Anna Karjakina is currently offline Anna KarjakinaFriend
Messages: 6
Registered: July 2009
Junior Member
Please, note that due to metamodel nsURI change you should also not
forget to check and manually update (if necessary) GMF Map and Gen
metamodel imports in your custom templates.

> Hello All,
>
> In recent GMF M7 milestone gmfmap and gmfgen nsURIs were changed. So if
> you will open your prior created map and gen models you will get the
> resource warning for the old metamodel version detected, prompting you
> to run migrate action. Unfortunately, migrate action could work
> unstable, and it could happen that it even won't let you run it in case
> of discovering other problems. Please, be so kind to let me know of any
> strange resource errors suddenly appeared on your models with old nsURI,
> if any. But anyways, there is a simple workaround you should be aware
> of. You can open your map and gen files with Text Editor and change
> nsURIs yourself:
>
> xmlns:gmfmap="http://www.eclipse.org/gmf/2005/mappings/2.0" ->
> xmlns:gmfmap="http://www.eclipse.org/gmf/2006/mappings"
> xmlns:gmfgen="http://www.eclipse.org/gmf/2005/GenModel/2.0" ->
> xmlns:gmfgen="http://www.eclipse.org/gmf/2006/GenModel"
>
> Thanks,
> Ann Karjakina.
Previous Topic:how to implement automatic layout
Next Topic:commands chaining
Goto Forum:
  


Current Time: Wed Jan 15 11:18:00 GMT 2025

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

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

Back to the top