The software package delivered together with this guide
is a file in tar/gzip (in short: tgz) format
and can be unpacked by means of utilities such
as Winzip® or similar programs.
Alternatively, tgz files can be directly unzipped
and expanded using gunzip and gtar, available
for practically all platforms. More information on this topic
can be found on web page http://www.gzip.org.
The installation of tjpp does not require administrator
(or root) privileges; however, a centralized installation may
require such privileges in order to share the tjpp package
and the related environment variables.
To install tjpp and to verify the installation
proceed as described in the "READ_ME.txt"
included in the delivery package:
==================================================================
Delivery package of somusar/tjpp[tm] - tefigel Java[tm] pre-processor
Copyright (c) 2003 so.mus.ar. s.a.s. - www.somusar.com
This file last edited on: 03 December 2003
==================================================================
==================================================================
Installing somusar/tjpp[tm]
==================================================================
To install tjpp, unpack the compressed file in its
installation directory (suggestion: /opt/somusar),
set environment variable TJPP_PATH to the installation
directory and add TJPP_PATH/bin to your PATH.
To verify the installation, go under TJPP_PATH/sample
and run
tjpp ComplexClass.tj
This command should generate file ComplexClass.java,
containing the code expansion of ComplexClass.tj.
Additional sample files can be preprocessed as follows:
tjpp subpackage/SimpleClass.tj
tjpp Results.tj
==================================================================
somusar/tjpp[tm] package contents
==================================================================
READ_ME.txt this file
bin:
tjpp executable script for tjpp
tefigel executable file for tefigel
(alternatively, tjpp.bat and tefigel.exe for Windows[r])
tjpp_include:
copyright.tjh sample tjpp header file
header.tjh sample tjpp header file
tjpp.defs repository file for code generation
variables
subinc:
subhdr.tjh sample tjpp header file
tjpp_lib: tjpp macro code files in tefigel
assert
attach
checkhdr
enumeration
eofinput
fileprefix
flatpath
gen_warning
getset
getters
include
init.tfg tefigel initialization file
jfileloc
newfile
property
property_get
property_id
property_scan
property_set
property_type
setters
to_string
trace
warning
my_macros: sample user-defined macros
get_results
perc
timestamp
sample: sample code for tjpp
ComplexClass.tj sample tjpp input file
Results.tj sample tjpp input file
TestJavapp.java Java test for ComplexClass.java
and subpackage/SimpleClass.java
subpackage:
SimpleClass.tj sample tjpp input file
==================================================================
[Previous chapter]
[Next chapter]
[Back to top]