T.R | Title | User | Personal Name | Date | Lines |
---|
1378.1 | yeah but... | TOOK::CALLANDER | Jill Callander DTN 226-5316 | Tue Sep 03 1991 16:14 | 19 |
| You can get that to work, but I would instead suggest that if you want
to do something along those lines, it would be cleaner to add in a
new attribute to you AM (you should already have component identification and
component version), to this add in specification version or something along
those lines. Then put in the dictionary a default value for the attribute.
Note that a default on an attribute does NOT make it a settable attirbute.
Simply set the attribute non-settable and then when the user does a show
(which is what the template installation procedures do) you have the AM
pull the default value from the dictionary and return it for the value
of the specification version.
This is cleaner and follows better with the architecture. A quick thing to
note, is that the PM's are *NOT* supposed to pass down the default value,
but are supposed to pass down the implementation specific default
flag. The xM is supposed to lookup the defalt value or simply know what
to do when the ilv routine returns ilv implementation default fro the
CVR.
jill
|
1378.2 | Would this work? | COOKIE::KITTELL | Richard - Architected Info Mgmt | Wed Sep 04 1991 11:56 | 29 |
|
RE: .1
Jill,
We don't have our own AM (anymore), we're using the P5AM. Besides, we don't
want to know the version of the AM (the existing attrs tell us that), we
want to know the version of the MSL describing the managed object(s).
The install can't rely on having the DAP around on the customer's system, so
it sounds like the best solution is a little program that uses the
dictionary access routines to look up a string associated with a specified
object definition, then writes the version string to stdout and stashes it
into a symbol or logical.
We could define an attribute
ATTRIBUTE Management Specification Version = <tbd> : Version
DISPLAY = FALSE;
DEFAULT = V1.0.0
END ATTRIBUTE Management Specification Version;
The installation would:
$ GET_MS_VERSION = $<TBD>GET_MS_VERSION.EXE
$ GET_MS_VERSION MediaLibrary
Management Specification Version is V1.0.0
|
1378.3 | DAP is *always* supposed to be present | GOSTE::CALLANDER | | Sat Sep 07 1991 10:39 | 7 |
| you should be able to reply on DAP being around, since it is part
of ALL kits (DIR and BMS). DAP is a required piece of installation
software and will always be present unless some one is mucking around
with the installed kit.
jill
|
1378.4 | DAP on DIR/BMS kit | COOKIE::KITTELL | Richard - Architected Info Mgmt | Mon Sep 09 1991 11:13 | 5 |
|
RE: .3
Thanks, Jill. I figured DAP was part of the toolkit, forgot it was used
during installation.
|