marylinh / owasp-esapi-java

Automatically exported from code.google.com/p/owasp-esapi-java
Other
0 stars 0 forks source link

Can't able to locate properties file location. #345

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Gradle java-web project
2. Output of gradle build is a jar (say myApp-9.443.jar)
3. The myApp-9.443.jar file contains (included) 
property/main/resources/esapi/ESAPI.properties file
4. Can't able to locate the path of ESAPI.properties

What is the expected output? What do you see instead?
Expected:
---------
Application should detect ESAPI.properties file location.

Seeing instead:
----------------
Not found in 'org.owasp.esapi.resources' directory or file not readable:
etc....

What version of the product are you using? On what operating system?
Version : 2.0.1
OS : Linux - CentOS 6.8

Does this issue affect only a specified browser or set of browsers?
Not related to browser

Please provide any additional information below.
Tried to give the path of properties file inside the myApp-9.443.jar as follows:
org.owasp.esapi.resources = 
/home/deepak/path/to/output/WEB-INF/lib/myApp-9.443.jar:/property/main/resources
/esapi
The above works fine. But when my application's version changes I am not able 
to give the path dynamically.

Original issue reported on code.google.com by ping...@gmail.com on 2 Jul 2015 at 6:46