How to effectively use Search in external projects

October 02, 2018

Large scale Model RealTime models are typically fragmented into several smaller projects. Such fragmentation gives advantages in modularity and maintainability. It also improves the performance of Model RealTime since not all projects have to be present in the workspace at the same time. Projects that are not currently in your workspace, but that others in your team may have in their workspaces are called external projects. You may want to search in external projects, and perhaps later, if you find something of interest, import them into your own workspace.

The support for external projects, together with commands for removing all or some of the projects from the workspace, makes it easy to work with different sets of projects while keeping the same workspace all the time.

Follow the steps below to start working with External Projects:

  1. Setup the workspace preference Use External Projects scope by default to search in external projects.
  2. Specify the location of external projects by checking one of two options below:
  3. Try to search (having an empty workspace) for a model element you want to work with.
  4. Double click on a match to import the project that contains it. The projects referenced by that project will also be imported.
  5. You can now start working on your changes.
  6. Once you are done, commit the changes to the source control system. If you want to continue to work with another subset of the projects, use the command File -> Remove All projects to clean your workspace, or File -> Remove All Generated Projects to keep model projects and remove only CDT projects with generated code.

Now you can repeat the steps from the beginning and import a different set of projects into the same workspace.

Have you already tried to use external projects? Share your feedback with us by mailing to model-realtime@hcl-software.com.