Examples of Creating a Project Library
Example 1
The following command creates a project library using the specified project’s contents:
studio-tools -core buildLibrary -p C:\workspace\MyProj -n C:\test\myproj.projlib
Example 2
The following command creates a project library at the location specified, and overwrites any project library already at that location. From the specified project, the project library uses only the resources specified in the -f argument: the
Concepts
folder, the
MyRule.rule
and all dependent resources referred to by these resources.
studio-tools -core buildLibrary -p C:\workspace\MyProj -x -n C:\test\myproj.projlib -f Concepts,Rules\MyRule.rule
Examples for Adding and Removing a Project Library
When a project library exists, built either using TIBCO BusinessEvents Studio or using the command-line options shown in
Examples of Creating a Project Library, you can use the
buildLibrary
operation to add a project library to or remove a project library from a TIBCO BusinessEvents Studio project.
Example 3
The following command adds the
myproj.projlib
project library to the TIBCO BusinessEvents Studio project at
C:\workspace\MyProj.
studio-tools -core buildLibrary -p C:\workspace\MyProj -a -n C:\test\myproj.projlib
Example 4
The following example removes the
myproj.projlib
project library from the TIBCO BusinessEvents Studio project at
C:\workspace\MyProj.
studio-tools -core buildLibrary -p C:\workspace\MyProj -r -n C:\test\myproj.projlib
The following table provides detailed information about the options.