For a visualization of most concepts described in this chapter, see
A project can be of type ‘library’. A library project can contain everything a non-library project can, but cannot be executed in the runtime. Other projects (including library projects) can refer to a library project. When a project refers to a library project, the latter’s content becomes available for use by the first.
Project | Internal library project | External library project | |
---|---|---|---|
Contains | Modules, Globals | Modules, Globals | Modules, Globals |
Editable? | Yes | Yes | No |
Executable? | Yes | No | No |
Can be referred? | No | Yes | Yes |
Can refer? | Yes | Yes | Yes |
What do you want to do?
Before exporting a library project you might want to fill out the fields Version and Release notes. For more information on adding documents to your library project, see add a document to your library project.
Note: Converting an existing project to a library project will delete its project configuration.
In a (library) project you can add references to internal and external library projects. Adding a reference makes the referred library project’s content available for use.
Exporting a library project will convert it to a read-only external library project that can be distributed to be used in another repository. A library project can also be packaged. Exporting the package will convert the contained library project to a read-only external library project as well.
To export a library project:
For more information on packaging see exporting and importing packages.
To import a library project:
In case there is a project or library project in the branch with the same name as the library project you want to import, a warning is shown. You can choose whether you want to update the existing library, or rename the library project you want to import in order to place it next to the existing one.
You can add PDF files to a library project that will also be accessible in the read-only export. You can, for example, add help files or release notes to the library project you are going to distribute.
To add a PDF file to you library project:
To access a PDF file in a library project:
If you notice a performance issue when opening a branch and you see the Migration Manager in the Studio log, it could be that the branch contains libraries from an older Studio version. A possible fix for this issue is to reïmport the libraries into the project. This will trigger the Migration Manager of the Studio which stores a migrated version of the library in the database. The next time when the project is loaded the migrated version will be read from the database and the Migration Manager doesn't have to be run.