Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Adding or Removing Third-Party or Custom Function Libraries

To add an external library or custom function paths, perform the following steps:

Procedure
1. Open the project in TIBCO BusinessEvents Studio.
2. In BusinessEvents Studio Explorer, right-click the project and click Properties (or press Alt+Enter). You see the properties dialog for the project.
3. In the left panel, select Build Path.
4. To add the custom function or third-party libraries, select the Java Libraries tab.
5. Click Add Library and select the required JAR file.
6. Click OK.
7. Save the resource.

Note:

- `Java Build Path` is not available in the `Build Path` for new BusinessEvents projects from the version 6.3.1 as these are native Maven projects. However, if these projects are converted to Java, then the `Java Build Path` is displayed.

- The older BusinessEvents projects prior to 6.3.1 that are defined as Java projects, when imported in 6.3.1, display in the `Java Build Path`.

Result
Deploytime Action Required
To make custom functions or external libraries available at runtime, complete the following steps on all machines where TIBCO BusinessEvents is installed:

- Either copy the JAR or JAR files to the `lib/ext/tpcl` directory, or other directory in the class path; or update the class path in the TRA file to point to the location of the JAR or JAR files.
- If a JAR has dependencies on native libraries, edit BE_HOME`/bin/be-engine.tra` and depending on the operating system update `PATH LD_LIBRARY_PATH`, `SHLIB_PATH`, and `LIBPATH` as needed.

  For more details, see TIBCO BusinessEvents Administration.

To remove the third-party or custom functions libraries, follow the instructions in Adding or Removing Third-Party or Custom Function Libraries, but instead of Add Library, select the JAR file you want to remove and click Remove Library

Note: When a third-party, custom function, or a project library is added or removed, it is reflected in the project's pom.xml. So, the project pom.xml dependencies are kept in sync with the project's `Build Path`.

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.