Combining RDK Upgrades (OpenInsight Specific)
At 01 MAY 2000 02:55:23PM Don Miller - C3 Inc. wrote:
Asked this before and still having problems:
Have APP1 - call it SPT
Have APP2 - SPTPLUS
App 2 inherits everything from SPT and adds other things to it. Generating an RDK kit from SPTPLUS will not see Changes Made Since.. in SPT - all right that's a Pain so..
Generate Upgrade with things changed since … for SPT
Store the result in UPG_DIR1 as SYSUPGRADE
Generate Upgrade with things changes since (same date) for SPTPLUS
Store the result in UPG_DIR2 also as SYSUPGRADE
Now I try to combine the two into a single upgrade:
1. Setalias to UPG_DIR1 SYSUPGRADE - as SYSALIAS
2. SELECT SYSALIAS (get nn keys) - normally do an R/BASIC select, but have tested with RLIST SELECT too
3. Do a READNEXT loop reading keys from SPT, read data from SYSALIAS
4. Write data into the real SYSUPGRADE table (check for dupes, don't overwrite, etc).
5. Deploy the new combined SYSUPGRADE table and call RDKINSTALL from a form.
Why doesn't this work?? Any suggestions or work-around?
Don Miller
C3 Inc.
At 01 MAY 2000 06:01PM Don Bakke wrote:
Don,
I would have to duplicate your approach to tell you what is going wrong. However, this is not the approach I was trying to recommend in the earlier thread. You are taking two RDK's and are trying to merge them. My suggestion was to take the respective records found in the SYSREPOSVIEWS table and merge them into one main RDK for the SPTPLUS application (I recommend using AREV). Then just run this one RDK to create a single and comprehensive deployment. Should be a lot simpler.
At 02 MAY 2000 10:54AM Don Miller - C3 Inc. wrote:
Don B. ..
I'll give it a try. Thanks
Don M.
At 02 MAY 2000 12:05PM Colin Rule (CSSP) wrote:
It would be better if Revelation just fixed the problem, and made it available. Hopefully someone from Revtech will follow this up and resolve.