Skip to content

Commit 35a94f0

Browse files
committed
Merge pull request #4 from alexandrov-nikita/master
.
2 parents 2068be3 + fa3ebd9 commit 35a94f0

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ Installation
2121

2222
Installation without fs access to server
2323
-----------
24-
1. Download Installer.cls.xml (from MDX2JSON folder in repository or releases page) into Caché Studio (any namespace)
24+
1. Download Installer.cls.xml (from cls/kutac/monitor/utils folder in repository or releases page) into Caché Studio (any namespace)
2525
2. Run in terminal (any namespace) under user with %All role:
2626

2727
set pVars("Namespace")="{Namespace}"
28-
do ##class(MDX2JSON.Installer).setup(.pVars)
28+
do ##class(kutac.monitor.utils.Installer).setup(.pVars)
2929

3030
where:
3131

@@ -38,7 +38,7 @@ Offline Installation
3838
1. Download zip and unpack it.
3939
2. Run in terminal (any namespace) under user with %All role:
4040

41-
do ##class(%Installer.Installer).InstallFromCommandLine("{SourceDir}cls\kutac\monitor\utils\Installer.cls.xml","Namespace={Namespace},SourceDir={SourceDir}")
41+
do ##class(%Installer.Installer).InstallFromCommandLine("{SourceDir}\cls\kutac\monitor\utils\Installer.cls.xml","Namespace={Namespace},SourceDir={SourceDir}")
4242

4343
On this step installer would create (if needed) Namespace and corresponding database, import source code and compile it, create required web application (named /cls/{Namespace}) if one does not exist (skipping web application creation process if one does exist), and map kutac package to %All namespace (which will be created if it does not exist).
4444

cls/kutac/monitor/utils/Installer.cls.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<Export generator="Cache" version="25" zv="Cache for Windows (x86-32) 2015.1 (Build 429U)" ts="2015-07-24 13:06:58">
3-
<Class name="cls.kutac.monitor.utils.Installer">
4-
<TimeChanged>63757,47200.76574</TimeChanged>
2+
<Export generator="Cache" version="25" zv="Cache for Windows (x86-32) 2015.1 (Build 429U)" ts="2015-07-24 16:07:29">
3+
<Class name="kutac.monitor.utils.Installer">
4+
<TimeChanged>63757,58028.937681</TimeChanged>
55
<TimeCreated>63732,50627.865496</TimeCreated>
66

77
<XData name="Install">
@@ -19,7 +19,7 @@
1919
<Database Name="${Namespace}" Dir="${MGRDIR}/${Namespace}" Create="yes" MountRequired="true" Resource="%DB_${Namespace}" PublicPermissions="RW" MountAtStartup="true"/>
2020
</Configuration>
2121
<Log Text="Creating web application /csp/${Namespace}" Level="0"/>
22-
<CSPApplication Url="/csp/${Namespace}" Directory="#{##class(%DeepSee.Report.UI.reportModelServer).GetCSPDirectory()}/${Namespace}" AuthenticationMethods="64" IsNamespaceDefault="true" />
22+
<CSPApplication Url='#{$ZCONVERT("/csp/${Namespace}", "L")}' Directory="#{##class(%DeepSee.Report.UI.reportModelServer).GetCSPDirectory()}/${Namespace}" AuthenticationMethods="64" IsNamespaceDefault="true" />
2323
<RunInstall Class="kutac.monitor.utils.Installer" Method="EnableDeepSee"/>
2424
</Namespace>
2525
<Log Text="End Creating namespace ${Namespace} and web application /csp/${Namespace}" Level="0"/>
@@ -88,7 +88,7 @@ do ##class(kutac.monitor.utils.Installer).setup(.pVars)</Description>
8888
<FormalSpec>pVars,pLogLevel,tInstaller</FormalSpec>
8989
<ReturnType>%Status</ReturnType>
9090
<Implementation><![CDATA[
91-
do EnableDeepSee^%SYS.cspServer("/csp/"_pVars("Namespace")_"/")
91+
do EnableDeepSee^%SYS.cspServer("/csp/"_$ZCONVERT(pVars("Namespace"), "L")_"/")
9292
quit $$$OK
9393
]]></Implementation>
9494
</Method>

0 commit comments

Comments
 (0)