Record the import path of meta data
This commit is contained in:
parent
19d7103f31
commit
dfcbbf1fa6
1 changed files with 4 additions and 4 deletions
|
|
@ -593,14 +593,14 @@ class MetaInfo extends GISJsonSerialised {
|
||||||
|
|
||||||
class RelatedMetaInfo extends GISJsonSerialised {
|
class RelatedMetaInfo extends GISJsonSerialised {
|
||||||
private String format
|
private String format
|
||||||
private String fullpath
|
private String importpath
|
||||||
private String offsetpath
|
private String offsetpath
|
||||||
private MetaInfo meta
|
private MetaInfo meta
|
||||||
|
|
||||||
RelatedMetaInfo(script, fullpath = "", offsetpath = "", MetaInfo meta = null) {
|
RelatedMetaInfo(script, importpath = "", offsetpath = "", MetaInfo meta = null) {
|
||||||
super(script)
|
super(script)
|
||||||
this.format = '0.2'
|
this.format = '0.2'
|
||||||
this.fullpath = fullpath
|
this.importpath = importpath
|
||||||
this.offsetpath = offsetpath
|
this.offsetpath = offsetpath
|
||||||
this.meta = meta
|
this.meta = meta
|
||||||
}
|
}
|
||||||
|
|
@ -788,7 +788,7 @@ class MetaInfo extends GISJsonSerialised {
|
||||||
mi.addConfigurationInfo('', givenRepo, givenRevision, givenSHA)
|
mi.addConfigurationInfo('', givenRepo, givenRevision, givenSHA)
|
||||||
}
|
}
|
||||||
|
|
||||||
RelatedMetaInfo rmi = new RelatedMetaInfo(script, adjustedpath, adjustedpath, mi)
|
RelatedMetaInfo rmi = new RelatedMetaInfo(script, importedmetafile, adjustedpath, mi)
|
||||||
if (appendtoparentmeta) {
|
if (appendtoparentmeta) {
|
||||||
associatedmeta.add(rmi)
|
associatedmeta.add(rmi)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue