Skip to main content
Version: 6.18

Integrating external libraries (#667006)

External libraries which are needed for scripts and not part of the ConSol CM core product can now be integrated easily via the data directory.

The following steps are needed:

  1. Place the library in the subdirectory called lib of the data directory. This can be done on the Data directory page of the Web Admin Suite.
  2. Add an entry for each library to the cm6-config.properties or cm6-domain-config.properties file. The entry has to start with application.libs.checksums. and contain the library name and its checksum, e.g.
    application.libs.checksums.ical4j-4.2.3.jar=3d75128bcc7121d267d2c4daf573eadd2dc2a2be
  3. Restart the ConSol CM server.
  4. Add an import statement to the script where you want to use the library, e.g.
    import net.fortuna.ical4j.model.Calendar
Import and export

External libraries are not included in scene exports.

Updates

Please remember to check the libraries for vulnerabilities regularly and update them if needed.