We've been using Rose for 5 to 6 years now. We code in C++, have close to
1000 classes, and have 8 developers. We intially tried doing round-trip
engineering, but didn't like all the markers in the code.
We did some reverse engineering which worked pretty good in 3.0, and hasn't
seemed to work real well for us since then. We try once in a while to see if
things are better.
We used the code generation in the beginning and it seemed to work fine for
us. However, we didn't like the documentation generation so I started
writting my own... probably about 4 years ago. Once that was working I
started writting our own code generator.
We now use only our own scripts.
While this may seem like a "bad thing" - that we have to have our own
scripts, to me it is actually a strong point that Rose has such a good API
and that I can write my own scripts. We went from generating just C++ code,
based on the standard class definition, to generating code from model
patterns, based on the stereotype. In some instances two-thirds of our
classes are generated. Not necessairly two-thirds of the code. Even in the
classes that aren't fully generated (because they are "standard" and not
some pattern), standard methods can be fully generated. And if people put
detailes in the semantics of their methods, those get generated as well.
When I say "fully generated", I mean all the code, not just a stub.
I may just be a tool hacker... but the fact that Rose may not generate stuff
exactly the way I want, or reverse engineer it has never bothered me. For
the most part the modeling tool works great, and once I have the model set,
I've been able to write my own scripts for generating C++. And now that I
have those, writting a new document generator for VB, HTML (to generate API
manuals), etc. usually only takes me a few hours.
James.
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Victor Volle
> Sent: Saturday, April 28, 2001 5:28 AM
> To: [EMAIL PROTECTED]
> Subject: (ROSE) Code generation (general question)
>
>
>
> Hi,
>
> I am following the discussions on rose forum for some month now.
> A recurring theme is "code generation" and "reverse engineering".
> I got the impression that almost nobody is _really_ using this
> feature. Is it so?
>
> Those who use the code generation and/or reverse engineering
> on a regular basis in a project that has more than 5 developers,
> could you please summarize your general experience? The dos
> and don'ts? Are you using Java or C++? Which flavour of C++
> code generator, which platform?
>
> Most people I know are not using the code generation or
> have chosen to implement their own code generators. I
> know there are some tools out there (UML Factory, CodaGen),
> which claim to offer a better support for code generation
> than the tools shipped with Rose, has anybode _really_ used
> any of these?
>
> Thanks for any answers.
> Victor Volle
> **************************************************************
> **********
> * Rose Forum is a public venue for ideas and discussions.
> * For technical support, visit http://www.rational.com/support
> *
> * Admin.Subscription Requests: [EMAIL PROTECTED]
> * Archive of messages:
> http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
> * Other Requests: [EMAIL PROTECTED]
> *
> * To unsubscribe from the list, please send email
> *
> * To: [EMAIL PROTECTED]
> * Subject:<BLANK>
> * Body: unsubscribe rose_forum
> *
> **************************************************************
> ***********
>
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************