Applications using both GlintStreamPrinter and PrinterUtil classes for Repertoire 8.x are required to update their external libraries when upgrading to Ambience/Repertoire 202x. Refer to the following Java code sample (1.3 KB) code sample for reference.
-
Create a new test harness and copy over the code sample
-
Copy and import elx-core-x.jar and elx-rml-runtime-x.jar libraries from the /lib directory of the Ambience/Repertoire 202x installation to your codebase.
-
The elx-rml-runtime-x.jar library contains the following classes:
com.elixirtech.glint.print.GlintStreamPrinter
com.elixirtech.glint.print.PrinterUtil
- The elx-core-x.jar library contains the following dependency:
com.elixirtech.arch.ElxLoggerJ
-
Refer to the following references on creating an API token to add to the code sample
Create API Token in Ambience
Create API Token in Repertoire -
Adapt the required parameters to match your environment and compile using Java 17 or Java 21.
For applications running on Java 8
Refer to this sample GlintJ8Demo.zip (1.3 KB) which uses the client/lib/Glint.jar from the Repertoire 8x Server installation.