EAR File Builder
This section shows the syntax of generating the necessary EAR file for TAFJ and Temenos Transact libraries.
You need to run the tEARFilebuilder.sh/bat utility that is available in the TAFJ_HOME/bin directory to generate the necessary EAR file for TAFJ and Temenos Transact libraries. This utility also generates all the necessary deployment files specific to WebLogic container.
The following is the help for the tEARFilebuilder utility:
tEarFilebuilder.sh/bat -h
Usage: EarFileBuilder -name <ear-file-name> -source <jars-path> -dest <dest> -dep {optional} [dependency-spec-version] -include{optional} [jar-names]
The table below describes the arguments used in the above syntax.
Argument | Description |
---|---|
-name |
Name of the EAR file to be generated with (specification, implementation) version. Every artefact has a version number. In this case, both are 0.0 by default when generated. Otherwise, you can generate with the desired release, for example, 201909.1 and so on. |
-source |
The list of folder you want to parse (os path separator between folders). |
-dest |
The path where you want the EAR file to be generated. |
-dep <opt> |
Dependency module names followed by {specification,implementation} version if any, separated with (os path separator between for more than one dependency). |
-include <opt> |
When specified with separate JAR names will only be included as part of EAR file from mentioned source directories, i.e. TAFJCore.jar, TAFJBasic.jar. |

This example shows the generation of an EAR file.
tEARFilebuilder -name TAFJ_LIB,201803 -source C:\Temenos\Development\TAFJ_SOURCES\TAFJ_DEV\ReleaseDir\lib;C:\Temenos\Development\TAFJ_SOURCES\TAFJ_DEV\ReleaseDir\ext;C:\Temenos\Development\DEV\TAFJ\RulesEngine -dest C:\Temenos\Development\DEV\T24-dep T24_LIB,201803
Searching directory ... C:\Temenos\Development\TAFJ_SOURCES\TAFJ_DEV\ReleaseDir\lib [ OK ]
Searching directory ... C:\Temenos\Development\TAFJ_SOURCES\TAFJ_DEV\ReleaseDir\ext [ OK ]
Searching directory ... C:\Temenos\Development\DEV\TAFJ\RulesEngine [ OK ]
generating application.xml file ... [ OK ]
generating weblogic-application.xml file ... [ OK ]
generating Manifest file ... [ OK ]
generating TAFJ_LIB file ... [ OK ]
clean up ... [ OK ]
Ear file is generated under: C:\Temenos\Development\DEV\T24 in 4565 ms.

This example explains that when you generate the TAFJ_LIB EAR file, you need to make sure that you pass all the necessary folders where the dependency JARs are present, i.e. TAFJ/lib (TAFJCore,TAFJCommon, etc), TAFJ/ext (TAFJBasic,tComponentFramework, etc), TAFJ/rulesengine (rulesEngine).
While generating the T24_LIB EAR file, you need to pass the dependency information about TAFJ_LIB with appropriate specification or implementation version, i.e.
tEARFilebuilder -name T24_LIB,201803 -source C:\Temenos\Development\DEV\T24\lib\t24lib_201803 -dest C:\Temenos\Development\DEV\T24 -dep TAFJ_LIB,201803
In this topic