Title: AW: (ROSE) Rose 2001A Java Code Generation Overriding my code

I tried it out (Rose 2001A Enterprise with 1.Patch)
- Modelled a class with one attribute (simple, read&write)
- generate the code
- modify it (insert a System.out.println("setAttribute()"); )
- generate a 2nd time
=> the set-method hasn�t changed but the get-method. The previous generated and my own line are commented out and a new line is generated.

I think, it�s a bug. But if your code is commented out, it�s not so hard. (It could be deleted ...).
But I�m sorry - I haven�t any ideas any more.


mit freundlichen Gr��en
Jan Mat�rne

RZF NRW
Sachgebiet 314-P Methodenberatung
Internet:       [EMAIL PROTECTED]



    -----Urspr�ngliche Nachricht-----
    Von:    Lewis Lin [SMTP:[EMAIL PROTECTED]]
    Gesendet am:    Montag, 10. September 2001 00:41
    An:     [EMAIL PROTECTED]
    Betreff:        (ROSE) Rose 2001A Java Code Generation Overriding my code


    Hi,
      I am using Rose 2001A. I set the Property Type of attributes to Simple so
    Rose will generate the Getter and Setter automatically. And I will modify
    the code that Rose generated within the Getter and Setter functions. But if
    I need to regenerate the code from the model, Rose will override my code
    with the default setter/getter code. I have tried to set ReplaceExistingCode
    value to FALSE, but Rose still override my code. Any suggestion?

    Thanks!
    Lewis


    ==========================================================
     PC home �q�l�H�c�A�ӽнЦ�: http://www.pchome.com.tw
     PC home Online �����a�x�G�|��Ĥ@�A�x�W�̤j���J�f����
    ==========================================================
    ************************************************************************
    * 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