Skip to content

Commit 6d8de5f

Browse files
committed
Use DependsOn instead of CompileAfter
1 parent a247044 commit 6d8de5f

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

export/WebTerminal/Engine.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<Export generator="Cache" version="25" zv="Cache for Windows (x86-64) 2015.1.1 (Build 505U)" ts="2015-12-20 13:41:12">
2+
<Export generator="Cache" version="25" zv="Cache for Windows (x86-64) 2015.1.1 (Build 505U)" ts="2015-12-20 14:44:45">
33
<Class name="WebTerminal.Engine">
44
<Description>
55
Cache WEB Terminal version X.X.X/*build.replace:pkg.version*/ core.
66
This class is the server-side core of the terminal application.</Description>
77
<Super>%CSP.WebSocket,Trace,Autocomplete</Super>
8-
<TimeChanged>63906,49223.903226</TimeChanged>
8+
<TimeChanged>63906,53073.499858</TimeChanged>
99
<TimeCreated>63891,56786.028532</TimeCreated>
10+
<DependsOn>Common</DependsOn>
1011

1112
<Property name="SharedConnection">
1213
<Description><![CDATA[

export/WebTerminal/Installer.xml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<Export generator="Cache" version="25" zv="Cache for Windows (x86-64) 2015.3 (Build 215U)" ts="2015-12-15 14:55:07">
2+
<Export generator="Cache" version="25" zv="Cache for Windows (x86-64) 2015.1.1 (Build 505U)" ts="2015-12-20 14:44:54">
33
<Class name="WebTerminal.Installer">
44
<Description>
55
Importing this class will install Cache WEB Terminal properly.</Description>
6-
<CompileAfter>Engine,Router,StaticContent</CompileAfter>
76
<Super>%Projection.AbstractProjection</Super>
8-
<TimeChanged>63898,2021.685611</TimeChanged>
7+
<TimeChanged>63906,53063.112672</TimeChanged>
98
<TimeCreated>63890,71053.144208</TimeCreated>
9+
<DependsOn>Common,Engine,Router,StaticContent</DependsOn>
1010

1111
<Parameter name="DispatchClass">
1212
<Default>WebTerminal.Router</Default>
@@ -58,19 +58,17 @@ This method is invoked when a class is compiled.</Description>
5858
set Properties("TempGlobals") = "CACHETEMP"
5959
set status = ##Class(Config.Namespaces).Create("%All", .Properties)
6060
if ($$$ISERR(status)) {
61-
do $System.Status.DisplayError(status)
61+
do $SYSTEM.Status.DisplayError(status)
6262
quit status
6363
} else {
6464
w !, "%All namespace is created."
6565
}
6666
}
6767
w !, "Mapping %WebTerminal package into all namespaces:"
6868
set mapTo = $LISTBUILD("%All", "SAMPLES", "DOCBOOK")
69-
do ##Class(Config.Namespaces).Get("USER", .InstallNSProps)
70-
set Properties("Database") = $get(InstallNSProps("Routines"))
69+
set Properties("Database") = "CACHETEMP"
7170
set ptr = 0
7271
while $LISTNEXT(mapTo, ptr, value) {
73-
continue:(ns = value)
7472
w " ", value
7573
set status = ##Class(Config.MapPackages).Create(value, "WebTerminal", .Properties)
7674
if ($$$ISERR(status)) {
@@ -109,7 +107,6 @@ This method is invoked when a class is 'uncompiled'.</Description>
109107
set mapTo = $LISTBUILD("%All", "SAMPLES", "DOCBOOK")
110108
set ptr = 0
111109
while $LISTNEXT(mapTo, ptr, value) {
112-
continue:(ns = value)
113110
w " ", value
114111
set status = ##Class(Config.MapPackages).Delete(value, "WebTerminal")
115112
if ($$$ISERR(status)) {

0 commit comments

Comments
 (0)