Hi ! I have started a project about producing code from XMI. I am at the early beginning of this project (what to do, with which inputs, with wich outputs, with which language...) and I look for people interrested in this adventure... To come back to dia, I think that it is the "natural" graphic tool for this generator, but for that it must have export function to XMI (or UXF as James says, but I do not know this one). Gerald PS : a homepage soon : http://gnage.sourceforge.net James Henstridge <[EMAIL PROTECTED]> on 07/02/2000 07:04:58 Veuillez r�pondre � [EMAIL PROTECTED] Pour : Dia Mailing List <[EMAIL PROTECTED]> cc : (ccc : Gerald Garcia/ALCATEL-SPACE) Objet : Re: UML diagrams -> source code conversion
I am currently writing code that will allow you to programatically get the properties of any object in the diagram (including all the info in a UML class object by the time I have finished). This combined with a scripting extension (I am currently working on one using python) would make this sort of thing quite easy. I was thinking a good way to do this would be to create a UXF export filter (UXF is a representation of UML diagrams in XML -- it is similar to the OMG's XMI but looks a lot simpler). It would then be possible to use code generators that convert UXF -> source code (which should be easier to write than native dia diagram format -> source code). Doing an XMI output filter in the future would probably be a good idea as well. Of course, none of these things are quite ready yet :) James. -- Email: [EMAIL PROTECTED] WWW: http://www.daa.com.au/~james/ On Mon, 7 Feb 2000, Stefanus Du Toit wrote: > Hi, > > I have been using dia for a while now to create UML diagrams for various > C++ projects of mine - I must say, it's very nice and has matured very > well. Thanks! > > I'm wondering whether there is any interest in writing some kind of UML -> > source code converter (I would be very interested in getting something > like that going for C++/Python, even Perl) that supports the XML output > generated by Dia. > > It shouldn't be all that hard, thanks to the output being in XML. If there > is such an effort already started, I would appreciate any pointers to > it. Otherwise I'll probably start a dia->c++ conversion tool of my own. > > Thanks, > > Stefanus Du Toit > - mailto:[EMAIL PROTECTED] | http://ultracool.net/ | icq:16775610 > - WorldForge server coder. http://www.worldforge.org/ > - GPG key: http://slashdot.org/users.pl?nick=sdt > > ---(random tagline)--- > My way of joking is to tell the truth. That's the funniest joke in the world. > -- Muhammad Ali > ALCATEL SPACE INDUSTRIES DI/IAG Logiciel vol -- Etablissement de Cannes Tel : 0492926417
