Merging Temenos Transact Precompiled JAR Files
This section explains the merging of JAR files that are compiled using tMerge function with an example.
tMerge is part of the TAFJ tools, which allows you to merge your Temenos Transact precompiled JAR files with a patch JAR . It is recommended to have a destination and source as mentioned below.
- Destination: Precompiled Temenos TransactJAR files in a T24_HOME\lib folder
- Source: Precompiled Temenos TransactPatch JAR files in a T24_HOME\patch folder
You can generate Temenos Transactpatch using the following procedure.
- Take back up of your lib folder or the parent folder of the destination in a bkup folder in a zip file. For example T24BKUP[Destination jar name].zip
- Move the lib folder to tmp folder.
- Merge patch classes in the correspondent destination JAR.
The tMerge syntax is:
tMerge source destination
To patch a Temenos Transact release, you must execute,
tMerge c:\Temenos\T24\patch\Patch.jar c:\Temenos\T24\lib\T24.jar
The resulting output is:
tMerge will merge: H:\dev\rtc\tafj\TAFJCore\test\ressources\t24\patch\Patch.jar with H:\dev\rtc\tafj\TAFJCore\test\ressources\t24\lib\T24.jar __________________________________________________________________ Backuping H:\dev\rtc\tafj\TAFJCore\test\ressources\t24\lib\T24.jar __________________________________________________________________ Merging H:\dev\rtc\tafj\TAFJCore\test\ressources\t24\patch\Patch.jar in H:\dev\rtc\tafj\TAFJCore\test\ressources\t24\lib\T24.jar __________________________________________________________________ tMerge finish. Log file : [INFO] 2009-12-18 13:41:51,285 [main] RUNTIME - Backuping H:\dev\rtc\tafj\TAFJCore\test\ressources\t24\ [INFO] 2009-12-18 13:41:51,285 [main] RUNTIME - H:\dev\rtc\tafj\TAFJCore\test\ressources\t24\lib will be backuped with name T24BKUP200912.004.jar.tar [INFO] 2009-12-18 13:42:12,310 [main] RUNTIME - Backup done. [INFO] 2009-12-18 13:42:20,848 [main] RUNTIME - Merging jar source : H:\dev\rtc\tafj\TAFJCore\test\ressources\t24\patch\Patch.jar destination : H:\dev\rtc\tafj\TAFJCore\test\ressources\t24\lib\200912.004.jar [INFO] 2009-12-18 13:53:34,755 [main] RUNTIME - Merge done
In this topic