TAFJ Multiple Configuration

You can have multiple configuration file with a TAFJ setup. All these configuration files have the .properties extension. The default configuration is hidden in the .default file, which resides in the conf directory.The Eclipse Builder plug-in generates the new configuration files using the Eclipse project name when you toggle a java project to a TAFJ project. You can also define new configurations manually. .properties is the default property file template.

The .default file in the <TAFJ_HOME>/conf directory can be used to set a default configuration. By default, the .default file is set to tafj.properties. The system uses the value in the .default file, when no -cf argument is passed to tCompile (if the value in this file is a valid properties file).

In the examples below, assume that you installed one TAFJ and you have two Temenos Transact releases (R17_3 and R17_5). For Eclipse setup, see TAFJ Eclipse user guide. In this guide, all the setups are done manually.

  1. Copy .properties in the R17_3.properties and R17_5.properties files respectively.

    In your conf directory, you should have the following files:

    • .default
    • .properties
    • R17_3.properties
    • R17_5.properties
  1. Edit R17_3.properties and R17_5.properties.

    By conventions, the java and class path for TAFJ of a project have to be set under:

    <TAFJ_HOME>/data/<Project_Name>/java and classes

    That is for R17_3.properties:

  2. # Specify where the java files will be generated 
    # by the compiler
    #
    temn.tafj.directory.java 	= <tafj.home>\data/R17_3/java
    
    # Specify where the classes files will be generated 
    # by the compiler
    #
    temn.tafj.directory.classes     = <tafj.home>\data/myProject/classes
    

    Once you are done with the modifications, you can go for a full compilation.

Copyright © 2020- Temenos Headquarters SA

Published on :
Friday, October 22, 2021 3:42:33 PM IST

Feedback
x