Closed jelovirt closed 2 years ago
@jelovirt Looks like I ran into this when setting a relative path for the --theme
option:
$ dita --project=samples/project-files/pdf.xml \
--theme=samples/themes/theme.yaml \
[theme] java.io.FileNotFoundException: /path/to/dita-ot/samples/themes/theme.yaml (No such file or directory)
The --theme
option is likely to be used in CI environments, so would be good to support relative paths there.
When
template
property is a relative path, it's always resolved against DITA-OT installation directory. It should be resolved against current directory.