Java Test Client can not find properties file in Java Project
I have following set-up in Eclipse:
Project A - A Dynamic Web Project used as a code for Web Service. Project
B - A test client with class containing Main() so that I can test the
project A.
Project A contains a properties file which works fine when project A is
deployed as web service. But when I run the test from test client project
B, the properties file is not recognized. I have created a folder called
'resources' which is at same level as 'src' folder in Project A and this
resources folder contains the properties file. The project B has Project A
in it's build path.
No comments:
Post a Comment