diff --git a/meta/folder.groovy b/meta/folder.groovy index fe8b565..d3b17c4 100644 --- a/meta/folder.groovy +++ b/meta/folder.groovy @@ -593,14 +593,14 @@ class MetaInfo extends GISJsonSerialised { class RelatedMetaInfo extends GISJsonSerialised { private String format - private String fullpath + private String importpath private String offsetpath private MetaInfo meta - RelatedMetaInfo(script, fullpath = "", offsetpath = "", MetaInfo meta = null) { + RelatedMetaInfo(script, importpath = "", offsetpath = "", MetaInfo meta = null) { super(script) this.format = '0.2' - this.fullpath = fullpath + this.importpath = importpath this.offsetpath = offsetpath this.meta = meta } @@ -788,7 +788,7 @@ class MetaInfo extends GISJsonSerialised { mi.addConfigurationInfo('', givenRepo, givenRevision, givenSHA) } - RelatedMetaInfo rmi = new RelatedMetaInfo(script, adjustedpath, adjustedpath, mi) + RelatedMetaInfo rmi = new RelatedMetaInfo(script, importedmetafile, adjustedpath, mi) if (appendtoparentmeta) { associatedmeta.add(rmi) }