Asterisk in args.input.dir #4503
-
I've inherited code, modified dita-ot 3.6.1, that passes --args.input.dir=path/* -i bookmap.ditamap. Somehow that works, for some publications, but not if I use out of the box dita-ot 3.6.1. Do you have any idea what the purpose of that could be? I'm asked not to change the parameters. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I wouldn't expect that to work 🤔 If it was You could debug this by changing modifying https://github.com/dita-ot/dita-ot/blob/3.6.1/src/main/bin/dita#L179 to use |
Beta Was this translation helpful? Give feedback.
I wouldn't expect that to work 🤔
If it was
--args.input.dir path/*
, then the shell would expand that topath/*
whatever is inpath
directory, e.g.path/product
ifproduct
was the only directory inpath
. Then ifpath/subdir/bookmap.ditamap
would be used as the input resource. But not sure if that would work either.You could debug this by changing modifying https://github.com/dita-ot/dita-ot/blob/3.6.1/src/main/bin/dita#L179 to use
echo
instead ofeval
. Maybe that shows you what's being passed to the DITA process.