The FWD project code is available as a ZIP format archive file in the downloads section of this site. This archive should include all of the source code and supporting files needed to build the FWD project on a given system.
The archive filename is normally in the form
fwd_<branch_name>_revision_<revno>_<date>.zip. For this example, assume that the
fwd_trunk_revision_11145_20170324.zip is in your home directory and that the FWD code is to be installed in a directory named
~/projects (Linux) or
c:\projects (Windows). Given these assumptions, installation is as simple as the following commands to extract the zip file:
cd ~/projects unzip ~/fwd_trunk_revision_11145_20170324.zip
|First install JDK to use
cd c:\projects jar xf c:\PathToBundle\fwd_trunk_revision_11145_20170324.zip
~/projects/p2j (Linux) or
c:\projects\p2j (Windows) will be created with the source tree of the FWD project. For the remainder of the chapter, the environment variable
$FWD (Linux) or
%FWD% (Windows) will be a reference to that directory. The "p2j" is a historical name for "Progress 4GL to Java". References to that name are still present in the code. Those references will be removed and/or replaced with references to "fwd", but that work is not yet complete.
This can be "saved" into the environment to simplify subsequent commands:
export FWD=~/projects/p2jPlease note that this will only set the variable for the current terminal session. You will need to set this each time your start a new terminal session, if it is needed.
|Go to the
You can create and assign the environment variable for the current command prompt using