Les,

Here's a Solution that addresses this question:

////
QUESTION:
Where is the rose.ini file in Rose 2001A?   Does Rose 2001A still utilize
the rose.ini file?
  

ANSWER:
Most of the settings that were contained in the rose.ini file in earlier
versions of Rose (Rose 2001 and earlier) have now been moved to the
registry.   
You will find them under the following keys:
HKEY_LOCAL_MACHINE|SOFTWARE|Rational Software| Rose|Rose
HKEY_CURRENT_USER|Software|Rational Software| rose|Rose
HKEY_LOCAL_MACHINE represents the default settings and HKEY_CURRENT_USER
which applies to the user specific settings will take precedence.

However there are some settings such as DefaultPetalVersion (which sets the
default petal version to which the model will be saved) and FixDuplicateIDs
(which eliminates duplicate ids for model elements) which are not found in
the registry.   While it is possible to add these entries to the registry it
might actually be easier to add these to a rose.ini file.

There are a few issues to consider when using a rose.ini file with your Rose
2001A installation:

* The following script was used to identify the location in earlier versions
of Rose:

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

If you run this script on your Rose 2001A installation you will find that it
directs you to find the rose.ini file in your Rose installation folder, i.e.
Rational/Rose.   However the file is not there (defect id rose00058429).
You must create your own file called rose.ini and place it in the following
directory (shut Rose down before you do this): 
C:\Documents and Settings\<<login name>>\Application Data\Rational\Rose\6.0
(for Windows 2000)
C:\winnt\profiles\<<login name>>\Application Data\Rational\Rose\6.0 (for
Windows NT) 

Then restart Rose and run the script (listed above) again.   This time the
correct location of the rose.ini will be indicated, i.e. the directory
listed above.   If the rose.ini file is not found in the aforementioned
directory then the GetRoseIniPath() method returns the wrong location.

* The user created rose.ini file must follow the same format as the rose.ini
file that was found in earlier versions of Rose, i.e. lets says that I
wanted to create a rose.ini file that set my DefaultpetalVersion to 43 and
my FixDuplicateIDs to Yes.   The content of such a rose.ini file might look
like this:

---
[Rational Rose]
DefaultPetalVersion=43
FixDuplicateIDs=Yes
--- 

* Make sure that the same entry does not exist in both the registry and in
the rose.ini file.   If I had AutoConstructMainDiagrams set to Yes in my
registry and No in my rose.ini file then I can expect to see my diagrams
automatically constructed for me when I reverse engineer code.   However in
the case of some of the other settings the rose.ini file entry has been
found to take precedence.   In order to avoid such problems you must first
check to see if an entry already exists in the registry before adding it to
the rose.ini file.

* If you create a rose.ini, place it in the Rose installation directory and
then start up Rose the file will be copied over to the C:\Documents and
Settings\<<login name>>\Application Data\Rational\Rose\6.0 directory
provided there is not already a rose.ini file at that (latter) location.
As a rule of  thumb its probably not a good idea to save a rose.ini file in
the Rose installation directory and this might lead to some unexpected and
undesired results for anyone else who might log in to the same machine using
their own login name and password.   Its better to always create and save
the rose.ini file directly in the 
C:\Documents and Settings\<<login name>>\Application Data\Rational\Rose\6.0
directory (for Windows 2000) or to the C:\winnt\profiles\<<login
name>>\Application Data\Rational\Rose\6.0 directory (for Windows NT).
////

Regards

Vishu

**********

Annamalai "Vishu" Viswanathan  --  [EMAIL PROTECTED]
Rose Technical Support Engineer

Rational Customer Service - Committed to Service Excellence
SCP Certified:  http://www.rational.com/support/scp.jsp

Rational User Conference 2002.....Freedom to Create!
Call for Papers Now Open at http://www.rational.com/ruc
August 18-22, 2002
Lake Buena Vista, Florida

**********

-----Original Message-----
From: Les Munday [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 2:24 PM
Cc: [EMAIL PROTECTED]
Subject: (ROSE) Where's my rose.ini file gone?


Rose v 7.5.01...

Rose help tells me that I can change default settings through
the rose.ini file.

There is no Rose.ini file on my machine.

So I found a copy pasted it to my personal settings directory
and changed the settings appropriately.

Rose ignores the settings in the rose.ini file.

Now I know that personalized settings are being stored
somewhere, because I have done some customization to the UI,
exited Rose and restarted and the customization is still there.

These settings are not saved in any rose.ini file that I can
find, so where are they?

Les.

________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Post or Reply to: [EMAIL PROTECTED]
* 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
*
* Post or Reply to: [EMAIL PROTECTED]
* 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