Path Maps Tab


Use the Path Mappings tab to specify the settings for differences in paths between Eclipse and Rational Rose RealTime. You only need to specify differences to the common storage area where the model and code reside. 

Note: The path mappings identified on Path Mapping tab in Eclipse are not related to the pathmaps specified for a model in Rational Rose RealTime.

To access the path mapping settings in Eclipse, click Window > Preferences, select Rose RealTime Integration, and then select the Path Mappings tab.

Path in Eclipse end

Specifies the path mapping to the location of the file system where the model and code reside for the computer that runs Eclipse.

Path in Rose RealTime end

Specifies the path mapping to the location of the file system where the model and code reside for the computer that runs Rational Rose RealTime.

Specifying Path Mappings

For a successful integration between Eclipse and Rational Rose RealTime, both applications must have to access the file system where the model and code reside. Because Eclipse and Rational Rose RealTime can run on different computers, as well as on different configurations, the Eclipse plug-in and the Rational Rose RealTime add-in must be aware of these path mapping differences in the file system. The following examples show the path mappings required for different configuration options:

If Rational Rose RealTime runs on a computer with a Microsoft Windows XP configuration, and the model file mymodel.rtmdl is stored on a network drive mapped to W:\ in the following directory:

\user\data\ 

the path to the model file is as follows:

W:\user\data\mymodel.rtmdl 

Note: On Windows configurations, you must map the path to a drive letter.

And, if Eclipse runs on a computer with a UNIX configuration, its fully-qualified file location is as follows:

//mystorage/user/data/mymodel.rtmdl

In this example, Eclipse and Rational Rose RealTime will reference the same location if the following path mappings are specified:

Path in Eclipse end: //mystorage/

Path in Rational Rose RealTime end: W:\

Note: You can use "/" or "\" interchangeably when specifying path mappings.

If Eclipse and Rational Rose RealTime are on a Windows configuration, you want to specify the path differences (in this example, the drive letter) between the two computers. If Rational Rose RealTime runs on a computer with a Windows XP configuration, and the fully qualified location for the model is as follows:

K:\shared\models\mymodel.rtmdl

And, if Eclipse runs on a different computer with a Windows XP configuration where the same networked drive (K:) is mapped to S:, the fully qualified file location for the model is as follows:

S:\shared\models\mymodel.rtmdl

In this example, Eclipse and Rational Rose RealTime know that they reference the same location if the following path mappings are specified:

Path in Eclipse end: S:\

Path in Rational Rose RealTime end:K:\

In this example, Rational Rose RealTime and Eclipse will not require any path mappings to the file storage location because there will be no differences.

Note: If an existing project is refreshed after the storage location specified on the Path Mappings tab changes, Eclipse prompts you to change to the new location. Changes in location can occur if you modify the path mappings in Eclipse, or you click File > Save Model As in Rational Rose RealTime.