Eclipse Configuration
November 2, 202
4
1
Objectives
Objectives
• Learn about the configuration of Eclipse
• Learn to use Eclipse IDE to create sample BASIC code, compile and
execute
• Execute T24 Runner in Eclipse
• Execute COB from Eclipse
• Learn to view and edit a data record using JED editor
• Execute JQL,SQL statements and OFS request against a running a
database and view the results sets
• Learn to use the Lock Management view and Dependency view
2
Eclipse Configuration
3
Pre
Prerequisites
requisites
• Your system must be configured with JDK1.6 or above
• We recommend using the eclipse “link” functionality. By adding a file [Link] into
<ECLIPSE_HOME>/dropins/ directory you could link the content of <TAFJ_HOME>/eclipse to
eclipse.
i.e with a relative path to your TAFJ_HOME : path=../../../TAFJ
i.e with the full path to your TAFJ_HOME : path=C:/product/TAFJ_Rxx
• You could as well copy directly the content of <TAFJ_HOME>/eclipse and paste it inside the
<ECLIPSE_HOME>/dropins/ directory
• To check if the TAFJ plugins are available in Eclipse click on the menu HELP->About Eclipse
Platform->Plug-in Details
4
Eclipse
EclipseConfiguration
Configuration
TAFJ_HOME/
eclipse/plugins
ECLIPSE_HOME/dropins
5
Eclipse
EclipseInstallation
InstallationDetails
Details
6
Create
CreateaaTAFJ
TAFJProject
Project
7
Toggle
ToggleTAFJ
TAFJProject
ProjectNature
Nature
8
TAFJ
TAFJProject
ProjectWizard
Wizard
9
Specify
SpecifyBasic,
Basic,Insert
Insertand
andprecompile
precompilefolders
folders
10
Database
DatabaseConfiguration
Configuration
11
TAFJ
TAFJPerspective
Perspective
12
Toggled
ToggledTAFJ
TAFJProject
Project
13
Change
Change project
projectproperties
properties
14
Change
Change project
projectproperties
properties
15
Change
Change project
projectproperties
properties
16
Compile
CompileBasic
BasicFolder
Folder
17
Add
AddBasic
Basicfile
fileto
tothe
theproject
project
18
Edit
Editand
andCompile
CompileaaBasic
Basicfile
file
19
Edit and Compile a Basic file
• The java files are automatically deleted and the class files are in the ”classes “ directory.
• In eclipse you can see all classes under Referenced Libraries.
20
Clean
CleanProject
Project
• Clean Project, will:
Delete all java files
Ask if you want to delete all classes files
• To Clean all project or one specific project, from the main workbench window, click Project >
Clean
21
Adding a Template routine
22
T24
T24classic
classicininEclipse
Eclipse
23
Execute
ExecuteCOB
COBininEclipse
Eclipse
24
JED
JEDWizard
Wizard
25
Lock
LockManagement
ManagementView
View
26
JQL,SQL,
JQL,SQL,OFS
OFSEditor
Editor
27
JQL,SQL,
JQL,SQL,OFS
OFSEditor
Editor
28
Dependency
Dependencyview
view
29
Insert
InsertFile
FileDependencies
Dependencies
30
Debug
Debug in
in Eclipse
Eclipse
31
Run
Runthe
theBASIC
BASICcode
code
32
Debug
DebugBASIC
BASICcode
code
33
Debug
DebugView
View
34
Variables
Variablesand
andExpresson
Expressonview
view
35
Outline
OutlineView
View
36
Thank You
37