// This is used in the local environment. comment this when deploying to Unix box // File propertyFile = new File("Some.properties"); // This is used when deploying in Unix this is used. File propertyFile = new File("/home/mr.x/secrtet/prod.path/some.properties");
Above code is self explanatory. Too good code and superb documentation 😉 .