How to Add Third-Party Libraries

The added third-party libraries are accessible in bundles.

Create a Bundle Project for Third-Party JAR Libraries

You can create a project that contains the third-party JAR libraries, and then import the project to a bundle:

  1. In TIBCO Business Studio, click File > New > Project.
  2. In the "Select a wizard" dialog, click the Plug-in Development folder, and then click Plug-in from Existing JAR Archives. Click Next.
  3. In the "JAR selection" dialog, click Add to add the third-party JAR files.
  4. In the Project Explorer view, click the MANIFEST.MF file of the bundle where you want to add the third-party JAR files.
  5. Click the Dependencies tab, and click Add in the Imported Packages section to add the packages required from the third-party JAR.

Add Third-Party Libraries from a Library Folder

You can add the third-party libraries from a library folder:

  1. Create a lib folder in the runtime bundle.
  2. Copy the third-party library that you want to add to the lib folder.
  3. Open the MANIFEST.MF file in the runtime bundle.
  4. Click the Runtime tab.
  5. In the Classpath area, click Add and select the third-party library from the lib folder.
Important: Manual changes to MANIFEST.MF will be lost if a plug-in code is re-generated.