If anyone knows, who to modify the codetemplates (and where they are), please tell it to us. This will very usefull.
But I think, there are no (or hardcoded) templates and so I can give you only the following suggestion:
Rose fires an event when generating code (starting or endig with generation? I don�t know).
If generation has ended you parse the generated code an manipulate the code (e.g. with Perl).
Mit freundlichen Gr��en
Jan Mat�rne
RZF NRW
Sachgebiet 314-P Software-Entwicklungs-Methoden
Fiscus AFG NW 42 SoftwareEntwicklungsUmgebung
Internet: [EMAIL PROTECTED]
-----Urspr�ngliche Nachricht-----
Von: Xiaobo Chen [SMTP:[EMAIL PROTECTED]]
Gesendet am: Mittwoch, 3. Januar 2001 10:32
An: [EMAIL PROTECTED]
Betreff: (ROSE) template
Hi all,
I am facing a problem right now about code generation.
The status is that we can generate java files based on
class diagrams. The question is that whether we can
provide some sort of template to rose in order to
generate customized java code. For example, by
default rose generate a constructor with nothing
inside. Is it possible we make it a default that
every constructor method generated will contain a
println statement like System.out.println("Constructor
called");.
Thanks
Best regards
xiaobo
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/
************************************************************************
* 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
*
*************************************************************************
