mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
PropertiesUtil has code for reading from jar files, but the findConfigFile method will prevent it from ever returning a file in a jar on the classpath since it always wants to have a "file:" URL and use the File class. This commit moves the jar file loading attempt from a catch block to an else clause, executed if a config file:// URL could not be found. Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com> This closes #358