AW: [Uml-devel] Code Generation

De-La-Parra, Luis Luis.De-La-Parra at BSHG.COM
Wed Jun 19 06:21:03 UTC 2002


Hi Chris!

well.. I didnt know about this other project, dia2code, but thanks for the
tip. I?ll check it out.

I just found out about UML Modeller one or two weeks ago, so I downloaded
UML from CVS last week(?) I think on the 12.06 to see how it was and since I
didnt see any code generation code and I wanted to start using UML Modeller
for other projects I just started coding it. 

Right now I have no internet access at home, and at work I cannot spend too
much time surfing around, so I was not in the list till today, and like i
said, I still have to take a loot at dia2code, but for what I?ve read in the
archives, it reads XMI files and outputs code?  
The code I wrote is pretty much specific to UML Modeller, cuz it works
directly from the UMLDoc object, so it is probably not as flexible (ie, it
is not too easy to use it with other projects, but if you use it for uml
modeller you can add languages relatively easy.... i think). So, anyways, if
you guys want it, I can try to clean it up a little  (I had never worked
with dl libraries before, so the code isnt exactly nice-looking) and then I
can send it to you and you can decide if you want to use it or not.

Regards,

luis.


-----Ursprungliche Nachricht-----
Von: Chris McGee [mailto:sirnewton_01 at yahoo.ca]
Gesendet: den 19 juni 2002 14:55
An: De-La-Parra, Luis; 'umbrello-devel at kde.org'
Betreff: Re: [Uml-devel] Code Generation


Hi Luis,

If you would like, you could take a look at the
dia2code project(dia2code.sourceforge.net) for some
potential inspiration(or to see what not to do). The
project is a bit inactive at the moment but we've
managed to get several languages supported with it.

In the near future, it is hoped that uml will support
XMI so that we can add a new front-end to dia2code to
support it.

This is great. More than one code generator out there
will allow more great ideas to float around.

Chris McGee

--- "De-La-Parra, Luis" <Luis.De-La-Parra at BSHG.COM>
wrote:
> 
> Hello everyone!!
> 
> Somehow I managed to find some free time on the last
> couple of days, and
> I?ve been working on Code Generation for UML.
> It is working good already, so if there?s bad
> weather on the weekend I?ll
> probably stay home and adjust some details that are
> still missing...
> 
> Are you interested in it? whom and how should I send
> it??   right now I dont
> have access to Internet from my home anymore ( I
> just moved ) so I have been
> working on a CVS version  that I downloaded to try
> UML last week... but
> maybe I can bring what I wrote to some internet cafe
> or to wrok and you can
> then apply it.
> 
> I implemented it in a kind of "plug-in" way, so it
> is possible to add and
> remove generators for several languages and so on,
> but till now I only have
> written one for C++  (it is not complete yet, but
> the basics are there)
> Implementing other languages should be really easy
> since you only have to
> reimlement one function which is specific for that
> language.. you can also
> have more than one generator for the same language,
> of course, like "C++ 1 "
> and "C++ 2" and just add them or remove them as you
> like.
> 
> Regards,
> 
> luis.
> 
> 

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com




More information about the umbrello-devel mailing list