This guide will help you learn how to add external jars to Apatar.
OPTION 1
Functions:
Jars will only be included when a function (any function) is used in a datamap
in plugins\core\functions_ create _lib subfolder
copy *.jar files to this lib folder
for each *.jar file create the following record in plugins\core\functions\plugin.xml in <runtime> tag:
The id parameter should be formatted as lib_jarFileName
Connectors:
Jars will only be included when a related connector is used in a datamap
copy *.jar files to the lib subfolder of the connector you're working on
for each .jarfile create a record in theplugin.xmlof the connector in <runtime> tag (see image in **{}Functions* section for an example). The id parameter should be formatted as lib_jarFileName
Operations:
Jars will only be included when a related operation is used in a datamap
#in plugins\core\OperationName_ create _lib subfolder
copy *.jar files to this lib folder
for each .jarfile create a record in theplugin.xmlof the operation in <runtime> tag (see image in **{}Functions* section for an example). The id parameter should be formatted as lib_jarFileName
OPTION 2
Jars will be included when the application is started, regardless of whether any functions are used or not.
add *.jar files to the lib folder
add path to *.jar files to application.bat and application_noApex.bat file in the same manner as other jars are listed there:
Site running on a free Atlassian Confluence Open Source Project License granted to Apatar Data Integration (ETL). Evaluate Confluence today.