Defining project references
A project reference is a property that you can set for a project so that all or some of the project items can be referenced by another project.
When one project references another, the items (Jobs, Metadata, Business Modeler and so on) in the referenced project are available for reuse.
When one project is stored on SVN or Git, its items are structured in trunk or main and branches so that the reference can be established at either levels to provide more flexibility in project usability.
- Only Git is supported for project collaboration on Talend Cloud.
- You can establish references between projects only if the type of the project to be used as a reference is subordinate to the type of the referencing project. For example, a Data Management project can be used as a reference for a Master Data Management project and not vice versa.
- You need to have read-write access to the projects only for migration purposes upon migrating to a new version or applying a patch.
- You cannot:
- define two or more branches of a project as references to another project.
- create a reference connection between an SVN managed project and a Git managed one.
- create a cycle of references between two projects.
- have project items (Jobs, Contexts, Metadata, etc.) with the same name in both a project and its reference.
The procedure below describes how to define a project reference in Talend Studio. You can also create and manage project references in Talend CommandLine using the addReference and deleteReference commands. For more information on these commands, check the help <commandName> command.
For more information about working with referenced projects, see Working with referenced projects.
Before you begin
Procedure
Results
The defined referenced project is displayed in the Repository tree view.