Thanks for the reply.
Your suggestion sure looks promising but when I changed "UsePathMap" to
"true" for all my components including the Notifier.IDL shown below nothing
happened.
I have the pathmap $SOURCEDIR set to V:\iwin32client but still the "V:
\\iwin32client" part of the path is not changed.
(object module "Notifier.IDL" "NotAModuleType" "NotAModulePart"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "ProjectFile"
value "V:\\iwin32client\\core\\clientlogic\\src\\Clogic.dsp")
The help documentation for the UsePathMap property is a bit cryptic:
If UsePathMap is True, Rose Visual�C++ uses the Rose PathMap mechanism
to store the path of the Visual�C++ workspace (dsw), project (dsp) and
IDL files. This setting is especially useful when moving a model from
one folder structure to another. For example, when moving a model from
one computer to another.
The UsePathMap value is stored in the model and is only used when
writing to the Visual�C++ files.
UsePathMap is Boolean; default is False.
What does the third paragraph mean exactly, "only used when writing to the
Visual C++ files"?
Ari Johannesson
OZ.COM
--------------- On 20.06.2001 15:34:18 "Hart, James" wrote: ---------------
>Take a look in the VC++ option under Module Specification. There is a
>property "UsePathMap", I think you want to set that to "True". I believe
>then it will work as you expect.
>
>JamesO
>
>:> -----Original Message-----
>:> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>:> Sent: Wednesday, June 20, 2001 5:10 AM
>:> To: [EMAIL PROTECTED]
>:> Subject: (ROSE) Path map not expanded for Visual C++ source file and
>:> project references.
>:>
>:>
>:>
>:>
>:> Hi,
>:>
>:> I use the Visual C++ add-in for round-trip engineering of
>:> the code and
>:> model. My team is big and each member has a different virtual path to
>:> the source code. So I would like to set up a PATH MAP
>:> reference in Rose,
>:> say $SOURCEROOT, to the root of the source code directory
>:> structure so
>:> that all members can use the reverse engineering on their
>:> local machine.
>:>
>:> For the Rose model below I set the path map
>:> $SOURCEROOT=V:\iwin32client.
>:> When I saved the model the "V:\\iwin32client" part of the
>:> path below was
>:> not replaced by the $SOURCEROOT symbol as I expected.
>:>
>:> Am I missing something here or is this simply not
>:> implemented for Visual
>:> C++ source code references? I am using Rose 2001.
>:>
>:> (object module "Notifier.IDL" "NotAModuleType" "NotAModulePart"
>:> attributes (list Attribute_Set
>:> (object Attribute
>:> tool "VC++"
>:> name "ProjectFile"
>:> value
>:> "V:\\iwin32client\\core\\clientlogic\\src\\Clogic.dsp")
>:> (object Attribute
>:> tool "VC++"
>:>
>:> Ari Johannesson
>:> OZ.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
>:> *
>:> *************************************************************
>:> ************
>:>
************************************************************************
* 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
*
*************************************************************************