@@ -58,17 +58,19 @@ This method is invoked when a class is compiled.</Description>
58
58
set Properties("TempGlobals") = "CACHETEMP"
59
59
set status = ##Class(Config.Namespaces).Create("%All", .Properties)
60
60
if ($$$ISERR(status)) {
61
- do $SYSTEM .Status.DisplayError(status)
61
+ do $System .Status.DisplayError(status)
62
62
quit status
63
63
} else {
64
64
w !, "%All namespace is created."
65
65
}
66
66
}
67
67
w !, "Mapping %WebTerminal package into all namespaces:"
68
68
set mapTo = $LISTBUILD("%All", "SAMPLES", "DOCBOOK")
69
- set Properties("Database") = "CACHETEMP"
69
+ do ##Class(Config.Namespaces).Get("USER", .InstallNSProps)
70
+ set Properties("Database") = $get(InstallNSProps("Routines"))
70
71
set ptr = 0
71
72
while $LISTNEXT(mapTo, ptr, value) {
73
+ continue:(ns = value)
72
74
w " ", value
73
75
set status = ##Class(Config.MapPackages).Create(value, "WebTerminal", .Properties)
74
76
if ($$$ISERR(status)) {
@@ -107,6 +109,7 @@ This method is invoked when a class is 'uncompiled'.</Description>
107
109
set mapTo = $LISTBUILD("%All", "SAMPLES", "DOCBOOK")
108
110
set ptr = 0
109
111
while $LISTNEXT(mapTo, ptr, value) {
112
+ continue:(ns = value)
110
113
w " ", value
111
114
set status = ##Class(Config.MapPackages).Delete(value, "WebTerminal")
112
115
if ($$$ISERR(status)) {
@@ -120,4 +123,4 @@ This method is invoked when a class is 'uncompiled'.</Description>
120
123
]]> </Implementation >
121
124
</Method >
122
125
</Class >
123
- </Export >
126
+ </Export >
0 commit comments