|(no subject) [message #672194 is a reply to message #667880]
||Fri, 20 May 2011 09:15
| Carsten Reckord
Registered: July 2009
I don't know if that's an acceptable solution in your scenario, but it would
probably be easier to leave the UML2-compliant serialization with the
Eclipse UML2 implementation instead of reimplementing it in C#.
I'd use the simplest text or XML serialization you have available in your
C#-based software (or build a very simple one yourself), import that with a
custom Importer into Eclipse UML2 and reserialize it as UML2 XMI. This way,
you'd avoid having to take care about every last pitfall of XMI
serialization and UML standard compliance.
To that end, since you are afaik already using UML Lab, you could save
yourself the trouble of writing the UML2 importer in Java by using UML Lab's
reverse engineering with a small set of custom XPand templates.
On 02.05.2011 16:51, Joel Greenyer wrote:
> we're planning a tool integration where a C#-based tool shall export a UML2-compliant model. Does anyone know whether
> there is a C#-based implementation of the UML2-API that provides something like an automatic serializer that produces an
> adequate XMI file? Otherwise I guess we'll have to develop an exporter "by hand" that creates such a file.
> Any hints, ideas or tipps?
> Thanks a lot
|Re: (no subject) [message #672280 is a reply to message #672192]
||Fri, 20 May 2011 13:47
| Ed Merks
Registered: July 2009
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">|
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
There is an EMF4Net project. <br>
Unfortunately they've been dormant for quite some time, but it might
cut a year out of the 2 year job...<br>
No doubt an EMF for C# would be a C# EMOF and just as Ecore today is a
Java EMOF. One would be able to exchange EMOF instances, and in the
end UML2 instances, assuming one also implemented the UML2 model in
C#. I think that's what makes MDA real. I don't really understand
your disparaging swipe at "Java MOF" when it's a necessary part of a
real story and the only part that's very real today.<br>
It would be very interesting to see you ranting about C# EMF the way
you rant about Java EMF. You'd no doubt tell people not to use it, but
to use UML2 instead, because UML is a panacea to cure all the ills of
Vlad Varnica wrote:
<blockquote cite="mid:firstname.lastname@example.org" type="cite">Yes, I
have seen the email but prefer to let know on google that a C# portage
to the latest UML 2.3 is possible if using a Java JVM and EMF. Google
is now so strong !! Any intelligent company before deciding to invest
in a technology companies will I suppose google with keywords such as
"UML, c#, model etc..."
This forum is permanently googled therefore my answer would be found.
If investors refuse to have a JVM, then a new EMF for dotnet would have
to be written but this would be a 2 years job. What would be great is
to create a platform independent Ecore not just Java which would be
portable to any platform or language. A kind of real MDA MOF and not a
Java MOF !!
This job could also be done for very reasonable pricing.
Powered by FUDForum
. Page generated in 0.02290 seconds