Make sure the operation signature is exactly the same in both the places,
i.e. in the code and in the model.  If Rose cannot identify the exacty
signature in the code, it assumes that operation does not exist and will
create a new one.

-----Original Message-----
From: w w [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 19, 2001 8:07 PM
To: [EMAIL PROTECTED]
Subject: (ROSE) rose 2001A problem-with duplicate method



I'm using rose2001A and always generate code for java using rose. When I
generate code for a class which implements an interface, it generate the
methods that implements that in the interface correctly. But after I add
some code in the method, then next time it generate code, rose will add
another method in the code, thus the class have duplicate method definition,
and cannot pass the compiling. Some time, it will have two or more same
methods. It's really awkward to remove the duplicate definition manually
everytime it regenerate code for a class. Can anyone tell me how to resolve
this problem? Thanks!




-------------------------------------------------------------
Sign up for ICQmail at http://www.icq.com/icqmail/signup.html
************************************************************************
* 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/support/usergroups/rose/rose_forum.jsp
* 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/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************

Reply via email to