Yes that is a interesting item.
Just to expand on what Vishu said:
the variables are kept in the registry but in two places.
1) HKEY_CURRENT_USER\SOFTWARE\Rational Software\Rose\Virtual Path Map
2) HKEY_LOCAL_MACHINE\SOFTWARE\Rational Software\Rose\Virtual Path Map
The "current user" can be edited in the drop down editor.
The "local machine" can not. I use regedit to make changes.
Eric
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2001 1:42 PM
To: [EMAIL PROTECTED]
Subject: (ROSE) setting the location of generated C++ code in Rose 2000e
Hi all, I am using rose 2000e and am trying to set the ROSECPP_SOURCE
variable. Currently when I select File->Edit Path Map this variable does
not appear in the list. When I try to add it to where I want the source
placed Rose refuses to saying that this is a reserved variable. Any help
on how to get your generated source somewhere other than the default
location would be greatly appreciated.
Thanks,
Jeff Engler
Vishu says:
ROSECPP_SOURCE does not appear in the File->Edit Pathmap because it is
pre-defined pathmap
that may used by other aspects of Rose. If you edit the location to which
the
ROSECPP_SOURCE pathmap points you might end up breaking some other
functionality in Rose.
If you want to generate your code to some other location besides
ROSECPP_SOURCE you can:
1. Do a Tools->Options and look under the C++ tab.
2. Under the C++ tab set the 'Type' drop down list box to Project and look
for a
'Directory' property in the list of Model Properties.
3. By default the 'Directory' property will be set to $ROSECPP_SOURCE. You
can change this
to either another pathmapped location (like $MY_CODE) or a hard path (like
C:\MyCode). If
you use another pathmapped location you will of course have to define the
new pathmap in
File->Edit Pathmap. The code will then get generated to the C:\MyCode
directory.
FYI..you can edit the ROSECPP_SOURCE pathmap in the registry. Expand the
HKEY_CURRENT_USER|Software|Rational Software|Rose|Virtual Path Map key.
You will find ROSECPP_SOURCE and other predefined pathmaps in there.
Regards
Vishu
************************************************************************
* 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
*
*************************************************************************
************************************************************************
* 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
*
*************************************************************************