If you are using "ED for Windows" (version 4) and are editing .p or .w files, you can use this tool as a communication bridge between ED for Windows and a Progress session.
You can do:
- create a "Compile" button in Ed for Windows
- compile 4GL code from within Ed
- Ed shows compile warnings and errors in its Build results window.
You can also:
Launch Prolint from within ED for Windows to have it check the current sourcefile.
The output from Prolint is displayed in the blue "Build results" window in ED for Windows, from where you can easily navigate to the matching sourcelines.
Proed4w is not exclusively designed to launch Prolint; it can also be used for syntax checking, compiling, running etc. However, the setup-instructions in the manual will focus on Prolint.
Download the progam with sources here:
This page describes the steps to configure proed4w. Don't let the amount of text on this page scare you: it really is not much work to get started.
Locate or create a directory in your PROPATH where you like to install tools, for example:
c:\p4gl\tools (existing directory, already in your PROPATH) c:\p4gl\tools\proparse (contains proparse.dll and sources) c:\p4gl\tools\prolint (contains prolint sources) c:\p4gl\tools\proed4w
Unzip the contents of proed4w.zip in directory tools: this will create subdirectories tools\proed4w and tools\adecomm. If all is well then you
should be able to "run proed4w\proed4w.p" without modifying the PROPATH.
To start Prolint for the source you are currently editing in ED, you would set up ED to invoke proed4w.exe with the following command-line:
d:\progresstools\proed4w\proed4w.exe -c prolint -f "<NAME>"
(the location of proed4w.exe may be different on your PC)
Note: proed4w.exe does not actually cares about these parameters. It simply forwards them to proed4w.p, who does
parse the command-line and decides which tool to run based on the -c parameter.
proed4w uses a TCP-connection on host 127.0.01, port 2525.
If you want a different portnumber you can specify so in file proed4w/port.i.
Documentation TODO: make sure to explain that this tool is not just for Prolint. The tool is also nice when you want to compile from within Ed4W and recieve the compiler warnings back in ED.
- Windows (any version)
- Progress version 9 (we use sockets and pub/sub)
- ED for Windows version 4
- if you want to use this tool for launching Prolint: you'll need Prolint release 26.
If you are using "ED for Windows" (version 4) and are editing .p or .w files, you can launch Prolint from within
ED for Windows to have it check the current sourcefile.