Вы находитесь на странице: 1из 20

 

Design Studio

Project setup and Routine compilation

TEMENOS-T24
 
Project setup and Routinecompilation

Amendment History

Version Date Author / Changed By Status


nd
0.1 2 June 2016 Dinesh BR Initial Draft
1.0 2nd June 2016 Veni Reviewed
1.1 8th June 2016 Dinesh BR Updated data extraction process
2.0 8th June 2016 Veni Reviewed

Version: V2.0, 8th June 2016


Project setup and Routinecompilation

Table of Contents

1. Introduction...................................................................................................................... 4
2. New project creation.......................................................................................................... 4
3. Toggle TAFJ project nature................................................................................................5
4. Routine compilation........................................................................................................... 7
5. Creation of jar file............................................................................................................ 10
6. Data record extraction......................................................................................................12

Version: V2.0, 8th June 2016


Project setup and Routinecompilation

1. Introduction

This document helps the user to understand about the project creation and routine compilation
in Design Studio

2. New project creation

Goto FILE -> NEW -> Project -> Java Project

Version: V2.0, 8th June 2016


Project setup and Routinecompilation

Note: Use default project location

Finish the project creation setup.

3. Toggle TAFJ project nature

Right click project and select “Toggle TAFJ project nature”. Then, set TAFJ home path and
import all required basic folder (source code), lib and inserts folder.
Setting TAFJ home:

Version: V2.0, 8th June 2016


Project setup and Routinecompilation

Version: V2.0, 8th June 2016


Project setup and Routinecompilation

Note: Please make sure that java and class should show the path as given in
the screenshot above.

If it is wrong, please try from 1st step. And then you can finish this setup.

4. Routine compilation

Source code folder structure:

Version: V2.0, 8th June 2016


Project setup and Routinecompilation

For successful compilation of subroutines, we have to use “Put on Dunce cap” on that folder.
Else, routine will not be compiled. It will throw the below given screenshot error

By right clicking that folder -> select “Put on / Take off Dunce cap” option. And then the
routine will be compiled successfully as shown in screenshot below:

Version: V2.0, 8th June 2016


Project setup and Routinecompilation

Compiling routine:

Version: V2.0, 8th June 2016


Project setup and Routinecompilation

5. Creation of jar file

To create jar file for a development, we need to set “Generate jar after compile”
option in compiler properties.

Version: V2.0, 8th June 2016


Project setup and Routinecompilation

Once it is set, jar file will be created and placed in the folder
D:\SGBLR16\TAFJ\data\tafj\jars

It will be created with the default name T24_NoPackage.jar. It will contain the class file of
routines which we compiled.

Version: V2.0, 8th June 2016


Project setup and Routinecompilation

Now, we can rename the jar and move it into area.

6. Data record extraction

6.1 Server
To extract a data record in R16, we need to create login for user authentication.
Please find the steps below to create user and extract data record:

User creation:

tAddUser –u <username> -p <password>

Note:
1. Password length should be minimum 8 characters and it should contain one uppercase,
special character and numeric.
2. After 3 unsuccessful attempts, same user cannot be used

Version: V2.0, 8th June 2016


Project setup and Routinecompilation

With this user, system will login to DBTools

Version: V2.0, 8th June 2016


Project setup and Routinecompilation

To extract data record, use the below given command:

EXTRACT-TABLE F.<ApplicationName>!<RecId> <DefRef/PACSid>

Version: V2.0, 8th June 2016


Project setup and Routinecompilation

After successful data extraction, a folder will be created with name <DevRef/PACSid>
which was given as last data in EXTRACT-TABLE command.

It was located under the project home path as shown in screenshot below:

Version: V2.0, 8th June 2016


Project setup and Routinecompilation

6.2 Local

To extract a data record from Design Studio, we need to follow the same as we done
in server.

DBTools login should be created in local by the following steps:

For creating user id and password, path should point out to TAFJ bin as shown in
screenshot below:

Version: V2.0, 8th June 2016


Project setup and Routinecompilation

Creating user using tAddUser as same as in server.

Note: Username and password created in server will not be used in local.

In Design Studio, right click on the project and login to database using “DBTools”:

After selecting the option, login using the username and password created in local
and finish the setup.

Version: V2.0, 8th June 2016


Project setup and Routinecompilation

Now, right click on the folder in which the data records need to be extracted and
select the option “Extract from the database”

Version: V2.0, 8th June 2016


Project setup and Routinecompilation

Now, table name and record id should be entered to extract the data record.

Version: V2.0, 8th June 2016


Project setup and Routinecompilation

Successful extraction from DB:

Required data record is extracted and placed in the folder:

Note: For every restart of Design Studio, we need to set login details.

Version: V2.0, 8th June 2016

Вам также может понравиться