Hi,
I do not know why the application is not reading your .ini file. It
should, as far as I remember, look for a .ini file named like the
application executable, starting in the executable's directory and
continuing the search upwards. This is a POCO feature and I suggest to
debug the POCO Application class to see why it does not find / read your
file.
For MITK, we are not installing the .ini file since we set appropriate
defaults within the application itself. I believe you need to issue a
CMake "install" call yourself, if you want the .ini file included in the
install package.
Cheers,
Sascha
On 04/11/2016 12:18 PM, Aurélien Labrosse wrote:
Hello,
I have a custom application based on Mitk. When working on it trough
Visual Studio, I can use a ".ini" file, which is read and processed well.
But when the application is deployed, the "ini" file is not present in
the bin/ directory, and not even processed if I create it by hand.
I had a read in Mitk _BaseApplication_ and Poco _Application_ classes,
but haven't find any reason for this behavior.
Do anyone have any clue about the processing of .ini file?
Thanks by advance.
Regards,
--
Pollen Metrology
Pollen Metrology
Aurélien Labrosse
Co Founder - VP of product and Engineering
9 rue du Rocher de Lorzier – 38430 Moirans – France
Office: +33 (0)476657121
www.pollen-metrology.com <http://www.pollen-metrology.com/> youtube
<https://www.youtube.com/watch?v=pCj_L4ucxGk>linked-in
<https://www.linkedin.com/company/pollen-technology>
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users