Platform Framework
R24 AMR | Min(s) read

Componentisation of Class Files

This section explains the collation and segregation of class files into the appropriate components in TAFJ.

tComponentSplitter is used for componentisation of class files in the directory specified in the temn.tafj.directory.classes variable of the property file. This distribution method iterates all .class files under this directory and finds appropriate components for each class file. JAR files are created in the component name and all .class files are added to appropriate JAR according to its component.

The ComponentSplitter reads the F.PGM.DATA.CONTROL file and identifies the component name for each class file.

If there is no component, the .class file is stored under a default JAR file. The default JAR file name must be specified under the temn.tafj.default.jar.name variable in the properties file.

You must not include .jar extension in the temn.tafj.default.jar.name variable. If this variable is not specified, the JAR file is called GENERAL and created as the default JAR file.

You can execute tComponentSplitter.bat or tComponentSplitter from bin using the syntax:

 tComponentSplitter [–cf properties]

After JAR files are created, all .class files are deleted. The JAR files are kept in the <TAFJ_HOME>/data folder. You must specify this directory in temn.tafj.directory.precompile variable without including all JAR files.

Copyright © 2020- Temenos Headquarters SA

Published on :
Monday, May 27, 2024 5:14:09 PM IST