XML <include> 'Include file ... not found'

2 posts / 0 new
Last post
dknippel's picture
Offline
Last seen: 6 months 2 weeks ago
Joined: 09/09/2014
Posts: 10
XML <include> 'Include file ... not found'

Hello,

I am trying to use the <include> tag in my XML file with rtiddsgen like so:

<include file="LeiCommonTypes.xml"/>

However, when I run rtiddsgen, I get the following error:

Included file 'LeiCommonTypes.xml' not found

The file 'LeiCommonTypes.xml' is in the same directory as the file I use for -inputXml with rtiddsgen.  Any thoughts and/or extended documentation on how to implement the <include> tag?

Thanks,

Dennis

Organization:
dknippel's picture
Offline
Last seen: 6 months 2 weeks ago
Joined: 09/09/2014
Posts: 10

Here's a follow up to anyone else running into this problem....

rtiddsgen looks for files specified with the <include> tag relative to where rtiddsgen is invoked from.  Thus, one option is prior to invoking rtiddsgen, set current directory to that which your -includeXml file is.

Hope this helps someone out there :-)