Skip to content

ThirdPartyLibraries

Will Rogers edited this page Apr 7, 2016 · 3 revisions

There are different ways to include third-party libraries in CS-Studio. In order of preference:

Orbit

The Orbit repository provides some common libraries in a p2 repo for Eclipse products to use. If a library is in the Orbit repository, it is preferable to use this version.

Maven OSGi Bundles

The maven-osgi-bundles repo is used by CS-Studio to do a similar bundling, grabbing jar files from Maven Central and providing them in a p2 repo. If the jars from Maven Central are already bundled, they are not changed. If they are not bundled it uses a tool called BND to create an OSGi bundle for those jars.

There are two ways to add an artifact to maven-osgi-bundles:

  • add the library to repository/pom.xml
  • if you need more control over how the bundle is configured, you may need to follow the examples in the epics directory. This uses the Apache Felix Maven Bundle Plugin.

cs-studio-thirdparty

As a last resort,

Clone this wiki locally