Grind shell refactoring
This commit is contained in:
parent
69ece80ffa
commit
2cfe2e45e3
@ -1,12 +1,14 @@
|
|||||||
package inr.numass
|
package inr.numass
|
||||||
|
|
||||||
|
import hep.dataforge.grind.GrindLauncher
|
||||||
import hep.dataforge.grind.GrindShell
|
import hep.dataforge.grind.GrindShell
|
||||||
|
import hep.dataforge.workspace.Workspace
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by darksnake on 29-Aug-16.
|
* Created by darksnake on 29-Aug-16.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
GrindShell shell = new GrindShell()
|
GrindShell shell = new GrindShell()
|
||||||
shell.launcher.withSpec(NumassWorkspaceSpec)
|
Workspace numass = new GrindLauncher().withSpec(NumassWorkspaceSpec).from(new File("D:\\Work\\Numass\\sterile2016\\workspace.groovy")).buildWorkspace()
|
||||||
shell.launcher.from(new File("D:\\Work\\Numass\\sterile2016\\workspace.groovy"))
|
shell.bind("numass", numass)
|
||||||
shell.start()
|
shell.start()
|
||||||
|
Loading…
Reference in New Issue
Block a user