The Jargon Software RDU program (Remote Development Utility) provides an easy way to compile individual Progress programs or groups of programs on your host system, without running a Progress editor session to do so. This is especially useful when working with remote Windows servers over the Internet, where you do not have direct access to a Windows session and typically have no telnet capability.
Compiling One Program with RDU
The "Compiling" window in RDU allows you to compile individual programs for syntax only or to compile and save. You simply:
The result of the compilation and any error or warning messages will be shown in the "View Host Data" window when the host returns the results of the compilation. After reviewing the results, click the "Back" button on that window to return to the Compiling window.
If the program pathname is not in your current working directory and is not under one of the entries in your current session's PROPATH, you can enter the full pathname of the program to be compiled, starting with "/" or "C:\" (etc.). However, be sure that the "jsi" directory is in the PROPATH of the Progress client.
Compiling Multiple Programs with RDU
There are two ways to compile groups of programs in one step.
Note that this method can only compile programs that are all in the same directory. It does NOT recurse into subdirectories.
The asterisk character matches zero or more characters in a file name.
Note that any periods are treated literally, so that strings like ".p"
can be matched literally (instead of using the period as a wildcard that
matches any single character as it does in the normal Progress "matches"
syntax).
Create a text file with one program pathname per line. If you put each such file inside the subdirectory which contains the programs to be compiled, you could use a standard filename such as "complist.txt". (You are using subdirectories, we hope!)
The pathname of each program entry in the file must be relative to the current working directory, or relative to one of the directories in the session's PROPATH, or an absolute pathname (starting with / or C:/ etc.).
For example, let's say that your WebSpeed or AppServer working directory is /jargon (or C:\Jargon on Windows), and you have a subdirectory named "myapp" which contains three application programs (aa.p, bb.p and cc.p).
Then, simply create a "complist.txt" text file in "myapp" which contains three lines:
myapp/aa.pYou can use forward slashes in these program pathnames, even on Windows systems, bccause Progress knows how to interpret them correctly for whichever operating system is being used.
myapp/bb.p
myapp/cc.p
On unix systems, a simple way to create this file would be to enter the following shell command while in the /jargon directory:
ls myapp/*.p >myapp/complist.txtIf the myapp directory also contains subdirectories (like "myapp/reports"), a different command can be used that will find programs in all nested subdirectories of myapp as well as in myapp itself:
find myapp -type f -name "*.p" -print | sort >myapp/complist.txtOn Windows servers, you may have to create the file by hand unless you have some other way to do so, possibly via a third-party tool like Cygwin that provides unix-like shell commands on Windows. (Cygwin is freeware and is highly recommended.)
To run the compiles from RDU: