Latest version available from https://github.com/ActianCorp/OpenROAD_WebGen
Latest ZIP downloads from https://github.com/ActianCorp/OpenROAD_WebGen/archive/main.zip
- Install OpenROAD 11.1 on Windows
- Create a database for webgen testing, for example -
createdb webgendemodb
- Install Apache Tomcat 9 or 8.5. This web server will host webapps.
- Install Web browsers to be tested
- Google Chrome (Minimum version 58)
- Mozilla FireFox (Minimum version 52)
- Microsoft Edge (Minimum version 12)
- Under Windows additional setup steps:
- Install Cygwin or use bash from git install, e.g. launch
"C:\Program Files\Git\git-bash.exe"
set SHELLOPTS=igncr
to ignore windows line endings
- Install Cygwin or use bash from git install, e.g. launch
- arithmetic
- This application has a User Frame, 4GL procedure and User Class
- Integer and Float arithmetic is done in click event, local procedure, 4GL procedure and user class methods
- guiwidgets
- This application has a frame with various GUI widgets such as freetrim, boxtrim, entryfield, multiline entryfield, togglefield, buttonfield, radiofield, optionfield and listfield
- helloutf8
- This application has a frame with imagetrim and shows unicode support
- jsonrpctest
- With this application you can test helloworld json-rpc request
- Generated Web Application need to be deployed on same web server where JSON-RPC endpoint is available
- Please note that button biases are not yet implemented in webgen
- listen2port
- This application generates a port number for an Ingres Installation ID
- subtract
- With this application you can test subtract json-rpc request
- Generated Web Application need to be deployed on same web server where JSON-RPC endpoint is available
- tablefield
- This application has a frame with a tablefield
- Please note that a table in web application is readonly
Please run all commands from the source directory i.e. where or_webgen.bash resides.
bash or_webgen.bash <DBNAME>
oror_webgen.bat <DBNAME>
- You can run
bash or_webgen.bash <DBNAME>
where bash is available in PATH, for example git-bash, cygwin environment - If bash is not available in PATH, run
or_webgen.bat <DBNAME>
which adds cygwin binaries to PATH and then runs or_webgen.bash - It imports OpenROAD applications from orapps/ directory into the database specified
- Then it generates javascript and html files for each OpenROAD application into webapps/ directory and log to logs/or_webgen.log
- Test application to be ignored can be added to orapps/ignore_apps.lst
- You can run
bash or_webgen.bash <DBNAME> <APPNAME>
oror_webgen.bat <DBNAME> <APPNAME>
- This imports, generate html and javascript files for the specified OpenROAD application
deploy.bat
(Tomcat 8.5/9 on Windows only)- Copies all generated webapps into Tomcat webapps directory
- Tested under Windows only
- Refer OpenROAD WebGen documentation for more details