FileInstall now uses the TypedProperties class to read the configuration. It has its own copy of the ConfigurationHandler class:
https://github.com/apache/felix/tree/trunk/utils/src/main/java/org/apache/felix/utils/properties Maybe that's the reason why you didn't hit your code ? Guillaume 2018-05-10 3:27 GMT+02:00 Harrison Tarr <harrison.t...@connexta.com>: > Hi all, > > I'm trying to resolve a bug with a configuration. The issue is with the > handling of backslashes. My config is a Windows path, eg: > 'fileRoot="\\127.0.0.1\file\path\"'. I did some experimenting in the > Felix code and I seemed to have found a work around that didn't break any > unit tests; I realized after, once building the whole module, that it did > in fact break unit tests of a different class. I noticed that the behavior > that did not agree with what I expected was in the `readQuoted` method of > the `ConfigurationHandler` class. (Pull request and bug JIRA for reference: > https://github.com/apache/felix/pull/136 https://issues.apache.org/ > jira/browse/FELIX-5849) > > Anyway, I loaded my customized module into my project and promptly noticed > that I was still having the issue - in fact, my new code wasn't even being > hit. It appears that Karaf doesn't use the `read` methods in the > `ConfigurationHandler` class, but does use the `write` methods. Does anyone > know where else the config could be getting read from? > > Best Regards, > > Harrison Tarr > -- ------------------------ Guillaume Nodet