On 12/12/2022 14:04, Scott Robinson wrote:
unoidl-write $unoTypes $offTypes com/sun/star/test/XSomethinA.idl
I get nothing; no output, no error message. Please advise.
The usage of unoidl-write is
Usage:
unoidl-write [<registries>] [@<entities file>] <unoidl file>
where each <registry> is either a new- or legacy-format .rdb file, a single .idl
file, or a root directory of an .idl file tree; and the UTF-8 encoded <entities
file> contains zero or more space-separated names of (non-module) entities to
include in the output, and, if omitted, defaults to the complete content of the
last <registry>, if any.
so what your invocation does is (successfully, hence no stderr output)
export the complete content (as there is no @<entities file> given) of
$offTypes (which is the last <registry> given) into a new-format .rdb
file (misleadingly) named com/sun/star/test/XSomethinA.idl (the <unoidl
file> given).
Maybe you wanted something like
unoidl-write $unoTypes $offTypes com/sun/star/test/XSomethingA.idl
XSomething.rdb
instead, to write the definition of XSomething to XSomething.rdb?