Hi,

If you are using Rose2001 or earlier you can activate this setting from
rose.ini, for more information about this look at
the attached technote:
TechnoteID 13512 - Automatically generating diagrams from reverse engineered
code.txt

However, if you are using Rose2001A you must activate this from the Windows
register,
take a look at the attached technote:
TechnoteID 18767 - Automatically generating diagrams from reverse engineered
code in Rose2001A.txt


Regards,

Olof Kaarle
Rational Support




 <<TechnoteID 13512 - Automatically generating diagrams from reverse
engineered code.txt>> 
 <<TechnoteID 18767 - Automatically generating diagrams from reverse
engineered code in Rose2001A.txt>> 

 -----Original Message-----
From:   Merg Michael [mailto:[EMAIL PROTECTED]] 
Sent:   Sunday, July 01, 2001 11:59 PM
To:     '[EMAIL PROTECTED]'
Subject:        (ROSE) AutoConstructMainDiagrams


Hi all,
 
I read about this feature, which is supposed to generate and maintain a
"package overview" class diagram  automatically.
I enabled the setting in the rose.ini file and started a new model in rose.
My expectation was, whenever I generate a new package in my model a new
class diagram will be created automatically and additionally whenever I
create a new class in this package this special class diagram will be
updated automatically.
 
The reality was, nothing happened ! Whatever I tried, no automatic
generation of class diagrams.
 
What did I wrong ? Can someone give a hint ?
 
Thanx
Michael
 



Michael Merg
Capco 
T            +49 69 9754 4342 
F             +49 69 9754 4921 
Mobile   +49 173 6633 041 
e-mail     [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  
web        www.capco.com <http://www.capco.com/> 


 

************************************************************************
The information in this email is confidential and is intended solely
for the addressee(s).
Access to this email by anyone else is unauthorised. If you are not
an intended recipient, you must not read, use or disseminate the
information contained in the email.
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be
the views of Capco.

http://www.capco.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
*
*************************************************************************
Subject: Automatically generating diagrams from reverse engineered code

PRODUCT: Rational Rose 98i, 2000, 2000e 

OS: Windows 

DEFECT #: 

PATCH #:

REFERENCES:   

CREATED: 10/02/2000

REVISED:

QUESTION:
When I reverse engineer code into Rose I see the classes that were added to the 
model in the browser but not my diagrams.   How can I generate diagrams in my 
model containing the classes from my code?

ANSWER:

You can accomplish this by following the steps listed below:

1. Shut down Rose

2. Edit the rose.ini file
    In Windows 95 The rose.ini file is in the directory in which Rose
was installed. By default this is C:\Program Files\Rational\Rose.

  In Windows NT this file can be found in:
C:\WINNT\Profiles\<<login name>>\Application Data\Rational\Rose\6.0

      OR 

you could just use the script listed below to determine the location
of your rose.ini file:

'<<START SCRIPT>>
Sub Main
MsgBox RoseApp.GetRoseIniPath()
End Sub
'<<END SCRIPT>>

3. In the rose.ini file look for and change
AutoConstructMainDiagrams=No
to
AutoConstructMainDiagrams=Yes

4. Restart Rose

Future reverse engineering sessions for all add-ins should result in diagrams 
getting automatically generated.
  
*   All top level packages and classes will appear in the Main diagram of the 
Logical View.   
*   All packages will now contain a diagram called the 'Package Overview' 
diagram which will contain all of the classes that are owned by that package.     

*   If you double click on a package on a diagram the package's 'Package 
Overview' diagram will be opened for you.

  
For more information, contact Rational Software Technical Support.
PRODUCT:  Rational Rose 2001A 

OS: Windows 

DEFECT #: 

PATCH #:

REFERENCES:  

CREATED: 06/28/2000

REVISED:

QUESTION:

I have Rose 2001A, and I am trying to automatically generate diagrams while reverse 
engineering the code. 
Tech Note 13512 describes how I can do this by turning on the 
"AutoConstructMainDiagrams" option in the rose.ini file.  
However, there is no rose.ini file in Rose 2001A. How can I automatically generate 
diagrams while reverse engineering 
the code in Rose 2001A?

ANSWER:

The settings, that used to be in the rose.ini file, are now located in the Windows 
registry in Rose 2001A. 

TO ACTIVATE:
Use the following steps to turn-on the "AutoConstructMainDiagrams" option in Rose 
2001A.

1. Shut down Rose.

2. Copy the lines listed below to the clipboard and paste them into a text editor such 
as Notepad:


REGEDIT4
[HKEY_CURRENT_USER\Software\Rational Software\rose\Rose]
"AutoConstructMainDiagrams"="Yes"
[HKEY_LOCAL_MACHINE\SOFTWARE\Rational Software\Rose\Rose]
"AutoConstructMainDiagrams"="Yes"


3. Save this file as "set2yes.reg".   

4.  Double-click on this file to add this information to the registry.

5. Restart Rose.

Future reverse engineering sessions for all add-ins should result in diagrams getting 
automatically generated.
  
*  All top level packages and classes will appear in the Main diagram of the Logical 
View.  
*  All packages will now contain a diagram called the 'Package Overview' diagram which 
will contain all of the 
   classes that are owned by that package.
    
*  If you double click on a package on a diagram the package's 'Package Overview' 
diagram will be opened for you.

*  Double click on any package icon to display the corresponding 'Package Overview' 
diagram.

TO DEACTIVATE:
Use the following steps to turn-off the "AutoConstructMainDiagrams" option in Rose 
2001A.

1. Shut down Rose.

2. Copy the following lines to a text editor such as Notepad.


REGEDIT4
[HKEY_CURRENT_USER\Software\Rational Software\rose\Rose]
"AutoConstructMainDiagrams"="No"
[HKEY_LOCAL_MACHINE\SOFTWARE\Rational Software\Rose\Rose]
"AutoConstructMainDiagrams"="No"


3. Save this file as "set2no.reg".    

4.  Double-click on this file to add this information to the registry.

5. Restart Rose.
 

Please review the following tech note for more information about rose.ini in Rose 
2001A:
    Tech Note 17599 - I can�t seem to find the rose.ini file in my Rose 2001A 
installation.
 
For more information, contact Rational Software Technical Support.

Reply via email to