Consultor Eletrônico



Kbase 18705: Deploying R-Code with Roundtable
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   29/03/1999
SUMMARY:

You can create a deployment package using Roundtable that contains
just R-Code. When you create an incremental update, you can deploy
just the R-Code that needed recompiling. You do this by using the same method you would use without Roundtable.

EXPLANATION:

Typically, development shops use the triangle (also known as the
three-database method) approach to CRC's when deploying R-Code. Put
simply, they have a development database, a mock customer database,
and the database at the customer's site. The mock database is kept in
CRC sync with the customer site by applying schema changes to it
in the same order as applied at the customer's site.

To use RTB to create an R-Code deployment package, you take the
triangle approach with the application as well as the database.
You use _update.w to apply the schema changes to the mock database,
and use it to compile a mock installation of the application.

To create the separate R-Code package, you use the option in _update.w
to specify a different R-Code directory. _update.w writes the R-Code
to a separate directory which you can package up and deliver to your
customers. At the customer site, you install the R-Code and use a cut
down version of _update.w to apply the same schema changes (remove the
part that compiles the application).

IMPORTANT NOTES:
1) Refer to the User's Guide for information on how to use the
"OBJCOPY" file. The alternative R-Code directory only specifies
a directory for R-Code to be delivered to. If you have
non-compilable objects (such as bitmaps) that you want moved
with the R-Code, you must list the objects in the "OBJCOPY" file
if you want _update.w to automatically move them.

2) Keep the mock application intact (just like you do for the
mock database). When you apply an incremental update to the
mock installation, _update.w needs files that were left from the
last deployment.

3) The alternative R-Code directory screen is commented out in
_update.w in Version 9 and higher. Search for the following
section in _update.w in order to re-enable the frame:

/* In the line below, remove the comments from around
FRAME-OBJGetTarget and delete the reference to FRAME-ObjEditPF
to bring the R-Code directory frame back into the frame sequence.
- Jeff Ledbetter */

4) You now have Roundtable. It automatically tracks object
encryption. For a one-time fee, you can purchase the
Progress Toolkit and create encrypted deployments. Encryption
eliminates all worries about CRC's. Any Progress license can
compile encrypted - even runtime sites.