Amerio.Stephane Posted July 9, 2021 Posted July 9, 2021 Hello, Is it possible to split ig_config.xml into multiple xml files, for example with XInclude ? See https://docs.microsoft.com/en-us/previous-versions/dotnet/articles/aa302291(v=msdn.10)?redirectedfrom=MSDN I'm trying to put databases and entities definition into other files, for ease of maintenance and version management, but my tests with XInclude failed. Rationale: we have multiple simulators sharing the same dbs and entities set, but each with their own channels definition and CIGI/DIS configs. It would be best for us to separate these into different files to ease updates. Thanks! 1
silent Posted July 9, 2021 Posted July 9, 2021 Hi Stephane, We do not support XInclude in our XML parser (and highly unlikely we will ever support this extension). So, right now only a single ig_config.xml file can be used at once. In the future releaeses we plan to split the config to multiple files (since we are also sometimes struggling with this monolith XML). Can you show us your example files after splitting? Thanks! 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Amerio.Stephane Posted July 9, 2021 Author Posted July 9, 2021 I'd like to essentially separate the databases and entities (each in a file), the filters and channels (each in a file) and the communication parts (CIGI and DIS). The remainder could be put in an extra file. I will probably work around the current limitation by concatenating the files into the required ig_config.xml with a script, but this is not very future-proof. thanks! 1
Recommended Posts