|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<Export generator="Cache" version="25"> |
| 2 | +<Export generator="Cache" version="25" zv="Cache for Windows (x86-64) 2015.1.1 (Build 505U)" ts="2015-06-29 14:17:24"> |
3 | 3 | <Class name="kutac.monitor.utils.Installer"> |
4 | 4 | <Abstract>1</Abstract> |
| 5 | +<TimeChanged>63732,51384.169611</TimeChanged> |
5 | 6 | <TimeCreated>63732,50627.865496</TimeCreated> |
| 7 | + |
| 8 | +<XData name="Install"> |
| 9 | +<XMLNamespace>INSTALLER</XMLNamespace> |
| 10 | +<Data><![CDATA[ |
| 11 | +<Manifest> |
| 12 | +<IfNotDef Var="Namespace"> |
| 13 | +<Var Name="Namespace" Value="SYSMON"/> |
| 14 | +<Log Text="Set namespace to ${Namespace}" Level="0"/> |
| 15 | +</IfNotDef> |
| 16 | +<If Condition='(##class(Config.Namespaces).Exists("${Namespace}")=0)'> |
| 17 | +<Log Text="Creating namespace ${Namespace}" Level="0"/> |
| 18 | +<Namespace Name="${Namespace}" Create="yes" Code="${Namespace}" Ensemble="" Data="${Namespace}"> |
| 19 | +<Configuration> |
| 20 | +<Database Name="${Namespace}" Dir="${MGRDIR}/${Namespace}" Create="yes" MountRequired="true" Resource="%DB_${Namespace}" PublicPermissions="RW" MountAtStartup="true"/> |
| 21 | +</Configuration> |
| 22 | +</Namespace> |
| 23 | + <Log Text="End Creating namespace ${Namespace}" Level="0"/> |
| 24 | +</If> |
| 25 | +
|
| 26 | +<Namespace Name="${Namespace}" Create="no"> |
| 27 | +
|
| 28 | +</Namespace> |
| 29 | +
|
| 30 | +<Log Text="Mapping kutac package to %All namespace" Level="0"/> |
| 31 | +<Namespace Name="%SYS" Create="no"> |
| 32 | +<ClassMapping From="${Namespace}" Package="kutac"/> |
| 33 | +</Namespace> |
| 34 | +
|
| 35 | +</Manifest> |
| 36 | +]]></Data> |
| 37 | +</XData> |
| 38 | + |
| 39 | +<Method name="setup"> |
| 40 | +<Description> |
| 41 | + This is a method generator whose code is generated by XGL. |
| 42 | +Set pVars("Namespace")="TEMP3" |
| 43 | +Set pVars("SourceDir")="C:\temp\MDX2JSON\MDX2JSON" |
| 44 | +do ##class(MDX2JSON.Installer).setup(.pVars)</Description> |
| 45 | +<Internal>1</Internal> |
| 46 | +<ClassMethod>1</ClassMethod> |
| 47 | +<CodeMode>objectgenerator</CodeMode> |
| 48 | +<FormalSpec><![CDATA[&pVars,pLogLevel:%Integer=0,pInstaller:%Installer.Installer]]></FormalSpec> |
| 49 | +<ReturnType>%Status</ReturnType> |
| 50 | +<Implementation><![CDATA[ Quit ##class(%Installer.Manifest).%Generate(%compiledclass, %code, "Install") |
| 51 | +]]></Implementation> |
| 52 | +</Method> |
6 | 53 | </Class> |
7 | 54 | </Export> |
0 commit comments