I have created a simple OSGi bundle for my CQ5 application. I want to read certain properties from a properties file (regular key-value file)
I have tried to put the file in the /resources folder of the bundle and outside also (in /etc/designs/) but the file always fails to load and throws exception as below:
java.io.FileNotFoundException: \path\to\the\file\filename.properties
(The system cannot find the path specified)
I would like to keep the file outside the bundle so that it can be edited without altering the bundle