diff --git a/numass-main/src/main/groovy/inr/numass/LaunchGrindShell.groovy b/numass-main/src/main/groovy/inr/numass/LaunchGrindShell.groovy index a96ae79d..64e87bac 100644 --- a/numass-main/src/main/groovy/inr/numass/LaunchGrindShell.groovy +++ b/numass-main/src/main/groovy/inr/numass/LaunchGrindShell.groovy @@ -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) { diff --git a/numass-main/src/main/java/inr/numass/Numass.java b/numass-main/src/main/java/inr/numass/Numass.java index a886f6d7..a63e7ffd 100644 --- a/numass-main/src/main/java/inr/numass/Numass.java +++ b/numass-main/src/main/java/inr/numass/Numass.java @@ -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; }