Add publish item selector script
This commit is contained in:
parent
39d54ecfa0
commit
6746c4dccf
2 changed files with 4 additions and 3 deletions
|
|
@ -555,8 +555,9 @@ class MetaInfo extends GISJsonSerialised {
|
|||
}
|
||||
|
||||
def deserialiseJsonSlurper(String filepath) {
|
||||
def jsonfile = readFile(file: filepath)
|
||||
def rawmeta = new JsonSlurperClassic().parseText(jsonfile)
|
||||
File jsonfile = new File(filepath)
|
||||
def jsonfiletext = jsonfile.getText()
|
||||
def rawmeta = new JsonSlurperClassic().parseText(jsonfiletext)
|
||||
deserialiseJson(rawmeta)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ def loadmetaclass(String commonscripts, String metafolder) {
|
|||
GroovyShell shell = new GroovyShell()
|
||||
def metafolderscript = shell.parse(new File(metafolderscriptfile))
|
||||
log("metafolderscript is ${metafolderscript.getClass()}")
|
||||
def meta = metafolderscript.metafromfolder(metafolder)
|
||||
def meta = metafolderscript.metafromfolderSlurper(metafolder)
|
||||
log("meta is ${meta.getClass()}")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue