TAFJ Development
- silvergem
- Topic Author
- Offline
- Elite Member
- TAFC|R12/R13, TAFJ|R20
Less
More
- Posts: 267
- Thank you received: 21
4 months 2 weeks ago - 4 months 2 weeks ago #24533
by silvergem
TAFJ Development was created by silvergem
Is there a way to compile routines from TAFC on TAFJ without code conversion?
The deployment of jar and restarting the webserver takes time when testing subroutines
This is the example routine
SUBROUTINE BUH.SET.ENRI3.LF
$INSERT .I_COMMON
$INSERT I_GTS.COMMON
$INSERT I_EQUATE
$INSERT I_F.CUSTOMER
OFS$ENRI<EB.CUS.SHORT.NAME> = 'TEST ENRI SHORT.NAME !!!!'
OFS$ENRI<EB.CUS.LOCAL.REF,192> = 'TEST ENRI TARGET !!!!'
RETURN
END
This is what i used on compiling "tCompile -cf tafj_nocomponent.properties C:/Temenos/BuhRecette1/TAFJ/samples/basic/BUH.SET.ENRI3.LF"
The deployment of jar and restarting the webserver takes time when testing subroutines
This is the example routine
SUBROUTINE BUH.SET.ENRI3.LF
$INSERT .I_COMMON
$INSERT I_GTS.COMMON
$INSERT I_EQUATE
$INSERT I_F.CUSTOMER
OFS$ENRI<EB.CUS.SHORT.NAME> = 'TEST ENRI SHORT.NAME !!!!'
OFS$ENRI<EB.CUS.LOCAL.REF,192> = 'TEST ENRI TARGET !!!!'
RETURN
END
This is what i used on compiling "tCompile -cf tafj_nocomponent.properties C:/Temenos/BuhRecette1/TAFJ/samples/basic/BUH.SET.ENRI3.LF"
Last edit: 4 months 2 weeks ago by silvergem.
Please Log in or Create an account to join the conversation.
- VK
- Offline
- Platinum Member
- Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
Less
More
- Posts: 1182
- Thank you received: 157
4 months 2 weeks ago #24534
by VK
Cheers
VK
Replied by VK on topic TAFJ Development
Hi
you don't need code conversion if your code is TAFC/TAFJ compatible.. Or / and if you use RUNNING.IN.TAFJ variable to prepare the code to work with both.
But then you still need "deployment of jar and restarting the webserver" ?
you don't need code conversion if your code is TAFC/TAFJ compatible.. Or / and if you use RUNNING.IN.TAFJ variable to prepare the code to work with both.
But then you still need "deployment of jar and restarting the webserver" ?
Cheers
VK
Please Log in or Create an account to join the conversation.
- silvergem
- Topic Author
- Offline
- Elite Member
- TAFC|R12/R13, TAFJ|R20
Less
More
- Posts: 267
- Thank you received: 21
4 months 2 weeks ago - 4 months 2 weeks ago #24535
by silvergem
temn.tafj.compiler.component.strict.mode=false
temn.tafj.compiler.internal.development=false
However, the routine is not accessible from the web server. When doing tshow on TAFJEE the routine is not recognized, only on tshow on classic
Replied by silvergem on topic TAFJ Development
Do I put this in the properties file?RUNNING.IN.TAFJ
I was able to compile the routine with the settings belowBut then you still need "deployment of jar and restarting the webserver" ?
temn.tafj.compiler.component.strict.mode=false
temn.tafj.compiler.internal.development=false
However, the routine is not accessible from the web server. When doing tshow on TAFJEE the routine is not recognized, only on tshow on classic
Last edit: 4 months 2 weeks ago by silvergem.
Please Log in or Create an account to join the conversation.
- VK
- Offline
- Platinum Member
- Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
Less
More
- Posts: 1182
- Thank you received: 157
4 months 2 weeks ago - 4 months 2 weeks ago #24536
by VK
Cheers
VK
Replied by VK on topic TAFJ Development
Hi
no, RUNNING.IN.TAFJ is used in jBC code.
Looking at your initial question I thought that you need your routines to be compiled both in TAFC and TAFJ. Now I see that it's the other problem.
Don't know anything about TAFJEE... The only thing that comes to mind is to check CLASSPATH for both scenarios.
no, RUNNING.IN.TAFJ is used in jBC code.
Looking at your initial question I thought that you need your routines to be compiled both in TAFC and TAFJ. Now I see that it's the other problem.
Don't know anything about TAFJEE... The only thing that comes to mind is to check CLASSPATH for both scenarios.
Cheers
VK
Last edit: 4 months 2 weeks ago by VK.
Please Log in or Create an account to join the conversation.
- silvergem
- Topic Author
- Offline
- Elite Member
- TAFC|R12/R13, TAFJ|R20
Less
More
- Posts: 267
- Thank you received: 21
4 months 2 weeks ago #24541
by silvergem
Replied by silvergem on topic TAFJ Development
Can you share how it is used on the jbc code?Hi
no, RUNNING.IN.TAFJ is used in jBC code.
Please Log in or Create an account to join the conversation.
- VK
- Offline
- Platinum Member
- Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
Less
More
- Posts: 1182
- Thank you received: 157
4 months 1 week ago #24543
by VK
Cheers
VK
Replied by VK on topic TAFJ Development
Hi
an excerpt from T24_BP\CREATE.FILES.b:
an excerpt from T24_BP\CREATE.FILES.b:
IF NOT(RUNNING.IN.TAFJ) THEN ;* Check the condition which is running in tafj or not
OPEN '','&COMO&' TO COMO.FV ELSE ;* uniVerse
OPEN '','&UFD&' TO COMO.FV ELSE ;* Prime
TEXT = 'UNABLE TO OPEN &COMO& FILE'
GOTO FATAL.ERROR
END
END
END ELSE
COMO.PATH = GETENV("temn.tafj.runtime.directory.como") ;* Get the defined path from tafj .properties file
OPEN '',COMO.PATH TO COMO.FV ELSE ;* uniVerse
TEXT = 'UNABLE TO OPEN &COMO& FILE'
GOTO FATAL.ERROR
END
END
Cheers
VK
Please Log in or Create an account to join the conversation.
Time to create page: 0.085 seconds