Move image create job to use meta
This commit is contained in:
parent
78d78c5f8f
commit
fd572074f1
1 changed files with 5 additions and 1 deletions
|
|
@ -507,11 +507,15 @@ class MetaInfo extends GISJsonSerialised {
|
|||
return path
|
||||
}
|
||||
|
||||
String metafilepath() {
|
||||
return METAFOLDERNAME + "/" + METAFILENAME
|
||||
}
|
||||
|
||||
MetaInfo importrelated(String destpath) {
|
||||
MetaInfo mi = new MetaInfo(script)
|
||||
|
||||
def String adjustedpath = relativize(destpath)
|
||||
def importedmetafile = adjustedpath + "/" + METAFOLDERNAME + "/" + METAFILENAME
|
||||
def importedmetafile = adjustedpath + "/" + metafilepath()
|
||||
if (script.fileExists(importedmetafile)) {
|
||||
mi.deserialiseJson(importedmetafile)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue