solarknow / prottest3

Automatically exported from code.google.com/p/prottest3
GNU General Public License v2.0
0 stars 0 forks source link

Properties file (prottest.properties) cannot be found #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
We work with PBSPro and thus the jar-file is run from a different folder than 
it is installed in. If you do this, the properties file can't be found.

What version of the product are you using? On what operating system?
Prottest 3.3 on RHEL 6

Please provide any additional information below.
In your file 
src/main/java/es/uvigo/darwin/prottest/global/ApplicationGlobals.java in line 
36 you open the properties file like this:
FileInputStream prop = new FileInputStream("prottest.properties");
This just looks in the directory in which we run prottest, not in the directory 
in which it is installed.

Original issue reported on code.google.com by michael....@gmail.com on 10 Dec 2013 at 9:29

GoogleCodeExporter commented 9 years ago
Fixed

Original comment by DiegoDL84 on 23 Jan 2014 at 3:55