FHIR Chat · latest change to templates broke the build · IG creation

Stream: IG creation

Topic: latest change to templates broke the build


view this post on Zulip Eric Haas (Nov 10 2020 at 01:07):

@Jose Costa Teixeira @Lloyd McKenzie PR #132 broke my build! Please don't update the templates before the ballot

check-plantumlfiles:
Publishing Content Failed: /scratch/ig-build-temp-KEXV95/repo/input/images-source does not exist. (11:29.0963)
                                                                                 (11:29.0963)
Use -? to get command line help                                                  (11:29.0964)
                                                                                 (11:29.0964)
Stack Dump (for debugging):                                                      (11:29.0964)
/scratch/ig-build-temp-KEXV95/repo/template/scripts/ant.xml:81: /scratch/ig-build-temp-KEXV95/repo/input/images-source does not exist.
    at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:513)
    at org.apache.tools.ant.types.FileSet.size(FileSet.java:84)
    at org.apache.tools.ant.taskdefs.ResourceCount.eval(ResourceCount.java:98)
    at org.apache.tools.ant.taskdefs.ConditionTask.execute(ConditionTask.java:122)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
    at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:155)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at jdk.internal.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
    at org.apache.tools.ant.Task.perform(Task.java:350)
    at org.apache.tools.ant.Target.execute(Target.java:449)
    at org.apache.tools.ant.Target.performTasks(Target.java:470)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1361)
    at org.hl7.fhir.igtools.templates.Template.runScriptTarget(Template.java:185)
    at org.hl7.fhir.igtools.templates.Template.beforeGenerateEvent(Template.java:342)
    at org.hl7.fhir.igtools.publisher.Publisher.templateBeforeGenerate(Publisher.java:3311)
    at org.hl7.fhir.igtools.publisher.Publisher.generate(Publisher.java:4870)
    at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:884)
    at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:728)
    at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:8373)

view this post on Zulip Sarah Gaunt (Nov 10 2020 at 02:03):

Getting same error

view this post on Zulip Eric Haas (Nov 10 2020 at 02:40):

need to add an new folder input/image-source and add an empty .gitignore file in there. (grrr right?)

view this post on Zulip Lloyd McKenzie (Nov 10 2020 at 03:14):

Should be fixed

view this post on Zulip Lloyd McKenzie (Nov 10 2020 at 03:14):

(Though if you have any images in your IG, there should be an image-source folder...

view this post on Zulip Chris Moesel (Nov 10 2020 at 03:33):

Lloyd McKenzie said:

(Though if you have any images in your IG, there should be an image-source folder...

Two questions: (1) Is it image-source or images-source? The doc says the latter, but the comments above state the former. (2) I thought images was the folder for images? Isn't image(s?)-source only needed if you have files you generate the images from?

view this post on Zulip Lloyd McKenzie (Nov 10 2020 at 03:46):

The folders are 'images' and 'images-source' so far as the template is concerned. My comment was a typo

view this post on Zulip Lloyd McKenzie (Nov 10 2020 at 03:47):

The files the images are generated from should always be in source control

view this post on Zulip Lloyd McKenzie (Nov 10 2020 at 03:47):

It's pretty uncommon to edit JPGS, PNGs or SVG files directly

view this post on Zulip Lloyd McKenzie (Nov 10 2020 at 03:48):

If you actually have an IG that doesn't have any pictures at all, then it's conceivable that images-source (and images) could be absent.


Last updated: Apr 12 2022 at 19:14 UTC