Fixed plugin system
This commit is contained in:
parent
8811901e67
commit
9825b657c2
@ -17,7 +17,7 @@ println cli.usage
|
||||
String cfgPath = cli.parse(args).c;
|
||||
println "Loading config file from $cfgPath"
|
||||
//println "Starting numass plugin in GLOBAL"
|
||||
//Global.instance().pluginManager().loadPlugin("inr.numass:numass")
|
||||
//Global.instance().pluginManager().load("inr.numass:numass")
|
||||
println "Starting Grind shell"
|
||||
|
||||
if (cfgPath) {
|
||||
|
@ -32,7 +32,7 @@ public class Numass {
|
||||
|
||||
public static Context buildContext(Context parent, Meta meta) {
|
||||
Context numassContext = Global.getContext("numass").withParent(parent).withProperties(meta);
|
||||
numassContext.pluginManager().loadPlugin("inr.numass:numass");
|
||||
numassContext.pluginManager().load("inr.numass:numass");
|
||||
return numassContext;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user