Home Page   We Generate Your Software.
Products Services Company Technology Demo Contact Site Map Search
Please note: this document is currently under revision.
The information herein contained, while still valid, does not reflect the latest state of the described technology.
The Somusar/SoProTech[tm] Booklet Series
Volume VIII

"somusar/tjpp: User's Guide"

Printer friendly


Contents
1. Introduction
2. Overview
3. Installing tjpp[tm]
4. SimpleClass Example
5. ComplexClass Example
6. Running a Test
7. Exercise: Improving Multitier Code Consistency
8. Contacting Somusar
9. Further Reading
Appendix A - tjpp Directives and Macros

Chapter 3 - Installing tjpp[tm]

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]

http:// www.somusar.com  / doc  / booklets  / tjpp_manual  - Powered by SoProMach
Copyright © 2003-2012 Somusar - Trademarks - Legal - Privacy - Webmaster