ApatarForge
  Dashboard > ADMINISTRATION GUIDES > Apatar Administration Guides > How to Add External Jars to Apatar
  ADMINISTRATION GUIDES Log In   View a printable version of the current page.  
  How to Add External Jars to Apatar
Added by olga belokurskaya, last edited by olga belokurskaya on Feb 15, 2010  (view change)
Labels: 
(None)

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

  1. in plugins\core\functions_ create _lib subfolder



  2. copy *.jar files to this lib folder
  3. 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

  1. copy *.jar files to the lib subfolder of the connector you're working on



  2. for each .jar file create a record in the plugin.xml of 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



  1. copy *.jar files to this lib folder
  2. for each .jar file create a record in the plugin.xml of 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.

  1. add *.jar files to the lib folder



  2. 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.
Contact Administrators