|
|
|
|
Re: Change namespace in XMI output [message #1855431 is a reply to message #1855427] |
Thu, 13 October 2022 18:51 |
Ed Willink Messages: 7655 Registered: July 2009 |
Senior Member |
|
|
Hi
Ok. I see now. You are in a mess caused by the inadequate tool compliance / standardisation for SysML
I recommend that you first study all the different SysML dialects that you need and the necessary inter-conversions. It may well be that the interconversions can be a simple regex zap via a sed script, else an XML2XML read-write that could be implemented by standalone EMF-Java.
To avoid the inconvenience of a conversion between tools, you may be able to embed the conversions within your tools. Eclipse, as an Open source tool, is very amenable to tweaked loaders and savers and it seems that your scenario may justify some dirty tricks such as zapping the Package or Resourcei just before saving. As you have discovered, there are many tweaks that can affect Eclipse loading; so many, that it can be difficult to find the combination that works. For really expert EMF practitioners, there are all sorts of things that can be achieved by ExtendedMetaData.
Remember that when conversions are needed between N dialects, you may need (N-1)*(N-1) direct conversion tools, whereas if you identify a normalized SysML intermediate that all conversions go through, you only need 2*N converters. As soon as N gets larger than 3 the normalized approach pays off. (And it really pays off when you need yet another dialect.)
Regards
Ed Willink
[Updated on: Thu, 13 October 2022 19:02] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02553 seconds