> I have some questions about what is possible to do with Rose > Script, because I must compare several tools to generate Java > code from UML model. > I have read the documentation, but I still have some general > questions. > I will be very greatful if you can help me. > (I'm using Rose 2001A.) > > 1) Is it possible to add some hand-made code into the > generate code, and to keep this specific code when you > generate again ? (This means that the specific code must not > be overwritten by the new code-generation)
Yes as long as this code is for the implementation (i.e. inside the method bodies). Any new attributes/operations added need to be reverse engineered prior to subsequent code gen. You could also use Autosync feature to avoid reverse engineer every time you add/delete an operation/attribute. > > 2) Is it possible to write scripts in several .ebs files, > because a very big file is difficult to read and to manage ? Yes, it is possible. There are methods like load script etc. > 3) Do you know what is the maximum length of a .ebs file ? Do not know. I would imagine as long as you do need exceed stack size (I do not know, how to control the stack size) the no. of lines in the .ebs file should not matter. > 4) Is this language (Rose Script) exactly the same as VB Script ? If you mean the syntax, yes it is same. I am not sure if all the functions in VB Script are available in REI. Another possibility is to, write your entire script in VB6 environment by accessing/creating RoseApp. Please see the online help for more information about this. --Sonny ************************************************************************ * 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 * *************************************************************************
