Skip to content

Commit f4ee11d

Browse files
committed
Installer now activates mappings correctly. Also sets %All namespace databases to CACHETEMP and Samples namespace databases to SAMPLES.
P.S. With thanks to @Sergey Sarkisyan
1 parent 3981986 commit f4ee11d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

MDX2JSON/Installer.cls.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,18 @@ todo add optional parameter WEBAPP to Alter web app name if it needs to have ano
4444
<If Condition='(##class(Config.Namespaces).Exists("%All")=0)'>
4545
<Log Text="Creating namespace %All" Level="0"/>
4646
<Namespace Name="%All" Create="yes" Code="CACHETEMP" Data="CACHETEMP" Ensemble="0">
47-
<Configuration/>
47+
<Configuration>
48+
<Log Text="Mapping MDX2JSON package to %All namespace" Level="0"/>
49+
<ClassMapping From="${Namespace}" Package="MDX2JSON"/>
50+
</Configuration>
4851
</Namespace>
4952
</If>
5053
51-
<Log Text="Mapping MDX2JSON package to %All namespace" Level="0"/>
52-
<Namespace Name="%All" Create="no">
53-
<ClassMapping From="${Namespace}" Package="MDX2JSON"/>
54-
</Namespace>
55-
5654
<Log Text="Mapping MDX2JSON package to Samples namespace" Level="0"/>
57-
<Namespace Name="Samples" Create="no">
55+
<Namespace Name="Samples" Create="no" Code="SAMPLES" Data="SAMPLES" Ensemble="0">
56+
<Configuration>
5857
<ClassMapping From="${Namespace}" Package="MDX2JSON"/>
58+
</Configuration>
5959
</Namespace>
6060
6161
<IfDef Var="User" >

0 commit comments

Comments
 (0)