Project libraries (design-time libraries) are archives that enable you to create project resources once, and share them with other projects.Project libraries can contain any resources from a BusinessEvents Studio project. For example, a project library might contain some concepts that are standard across projects (such as Person), so that multiple projects do not need to redefine these concepts.Project libraries have the file extension .projlib. BusinessEvents Studio includes the following features to allow the refactoring of project resources into project libraries.
Avoid Conflicting Elements Ensure that the project library does not use elements already in use in the local project. If elements in an imported project library conflict with the local project elements, those in the local project have priority. The project library element is ignored in this case for build purposes and is not included in the ear.If multiple project libraries have the same element, then the first one on the build path wins, and the other ones are ignored.
− From the File menu select Export.In the Select dialog, select TIBCO BusinessEvents > Project Library and click Next. You see the Export Studio Project Library dialog.
3. In the Export Studio Project Library dialog, select the resources you want to export. (If you selected resources in Studio Explorer they are selected automatically.)The left panel displays folders. The right panel displays resources. Select what to export in any of the following ways:
− Highlight a folder to display its resources in the right panel. Select individual resources as desired.
− To reduce the set of selected resources, first select resources then click the Filter Types button. Select one or more resource types, then click OK. The Export Studio Project Library dialog selection is now reduced to only resources of the selected type or types.
Adding a project library does not physically import the files. Instead a pointer to the files is maintained in the project and the resources appear in BusinessEvents Studio Explorer as if they are in the project. The physical location can be in the project folders or external to them, as long as they are available to the project at design time.
2. In BusinessEvents Studio Explorer, right-click the project name and click Properties (or press Alt-Enter, or select Project > Properties). You see the properties dialog for the project.
3.
4.
5. Click OK and then save the resource. The project library appears at the root of the project tree as a Project Dependencies node.
− From the File menu select Import.
2. In the Import wizard Select dialog, select TIBCO BusinessEvents > Project Library and click Next. You see the Import Project Library dialog.
3. In the Import Project Library dialog Select File field, browse to and select the project library (.projlib) file.
4. Select a project from the project tree or type the name in the field above the project tree area. You can only import at the root of a project.
5. Click Finish. The project library appears at the root of the project tree as a Project Dependencies node.To remove a project library, follow the instructions in To Include a Project Library (Add it to the Build Path), but instead of clicking Add Library, select the project library you want to remove and click Remove Library.
Copyright © TIBCO Software Inc. All Rights Reserved.