Thanks for all your input but I am still missing the Majic Decoder Ring.  I
would prefer to use option 1 as option 2 hints at breaking other Rose
functionalit.  Also the project this is being used for is large and has
many subdirectories so as we generate code we will change this attribute
alot.

Anyway I went to Tools->Options and selected Project in the Type drop down
list.  I changed the value of Directory to $CPP_SOURCE.  I did an Apply,
closed this dialog and went to define this variable in  File->Edit Path
Map.  I clicked add, closed this dialog box, went to one of my class
diagrams and tried generating a class.  The class is still being put in the
location of ROSECPP_SOURCE.  Is there something I missed?
Thanks again,
Jeff Engler



                                                                                       
                            
                    Annamalai                                                          
                            
                    Viswanathan          To:     Jeff A Engler/DEF/CSC@CSC             
                            
                    <vishu@ration        cc:     [EMAIL PROTECTED], 
[EMAIL PROTECTED]        
                    al.com>              Subject:     Re: (ROSE) setting the location 
of generated C++ code in     
                                         Rose 2000e                                    
                            
                    01/31/01                                                           
                            
                    05:06 PM                                                           
                            
                                                                                       
                            
                                                                                       
                            




Jeff,

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


[EMAIL PROTECTED] wrote:

> 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
>
> ************************************************************************
> * 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
> *
> *************************************************************************

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

(800)433-5444 (Rational Support)

Check out http://www.therationaledge.com/ for tips and news for Rose users

---



************************************************************************
* 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
*
*************************************************************************

Reply via email to