File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <Export generator =" Cache" version =" 25" >
3+ <Document name =" CacheBlocksExplorer.MODULE" ><Module >
4+ <Name >CacheBlocksExplorer</Name >
5+ <Version >0.0.1</Version >
6+ <Packaging >module</Packaging >
7+ <LifecycleClass >Blocks.Lifecycle</LifecycleClass >
8+ </Module >
9+ </Document ></Export >
Original file line number Diff line number Diff line change 1+ Class Blocks .Lifecycle Extends ZPM .PackageManager .Developer .Lifecycle .Module
2+ {
3+
4+ Method %Activate () As %Status
5+ {
6+ Set tSC = $$$OK
7+ Try {
8+ Set tSC = ##super (.pParams )
9+ If $$$ISERR(tSC ) {
10+ Quit
11+ }
12+
13+ Set tRootDirectory = $Get (pParams (" RootDirectory" )) _ " /server/"
14+ Set tVerbose = $Get (pParams (" Verbose" ),0 )
15+ do ##class (%SYSTEM.OBJ ).Load (tRootDirectory _ " src/DevInstaller.cls" , " ck" )
16+ Write :tVerbose !," Doing Blocks.DevInstaller.setup()"
17+ do ##class (Blocks.DevInstaller ).setupWithVars (tRootDirectory )
18+ Write :tVerbose !," Done."
19+ } Catch e {
20+ Set tSC = e .AsStatus ()
21+ }
22+ Quit tSC
23+ }
24+
25+ }
You can’t perform that action at this time.
0 commit comments