Production is not auto starting while using container
Hi,
Production is not auto starting even by adding <Production Name="myProd.Production" AutoStart="1"/> in installer.cls file:
Thanks
Product version: IRIS 2021.1
Hi,
Production is not auto starting even by adding <Production Name="myProd.Production" AutoStart="1"/> in installer.cls file:
Thanks
Hi,
That should work (as advertised) but if you want a workaround .... call a method instead, that implements the same thing:
<Arg Value="${MyNamespace}" />
<Arg Value="myProd.Production" />
</Invoke>
....
- assuming 'MyNamespace' contains the namespace name you are setting up, as a variable (or hard code it).
Then include the method:
{
quit ##class(%EnsembleMgr).SetAutoStart(myNamespace, prodClass)
}
Steve
Thanks Steve Pisani
Might as well invoke the method directly:
Or is there a reason to use a proxy method?
No reason at all. Just suggesting also that any custom methods can be invoked for all sorts of custom functionality - however sure, if that's all that is required... Go direct.