Setting a Path for External Code Storage

  1. Activate external code storage.
  2. If you are working with a component (class, module, SWC), open the component's default project.
  3. In the project editor, click the Project Properties button to open the Project Properties window.
  4. Go to the Code Storage node.
  5. Enter or select the Code Storage Root Path.

    You can use keywords as placeholders, e.g. %DATABASE.LOCATION%.

    Note

    You can use the same path for different projects. However, ASCET does not detect this, and the code storage files of one project may conflict with (i.e. overwrite) the code storage files of another project.

  6. Close the Project Properties window with OK.

    If the old path contained generated code for this project, you are asked if you want to copy the necessary files to the new code storage directory. Files that do not belong to the current project are not copied.

  7. Do one of the following:

    • To copy the files, click Yes.
    • To leave the files in the old location, click No.

If you specified a valid path name, the next time you generate code for this project, the generated code is stored at the specified path. If you specified an invalid path name, code generation aborts and an error message appears in the ASCET monitor window. A path name is invalid in the following cases:

See also

Activating External Code Storage

Editing a Default Project

Code Storage Node

External Code Storage