How to add a TestEnv.properties file to java build path [message #135010] |
Fri, 03 February 2006 20:54  |
Eclipse User |
|
|
|
Originally posted by: yusufm.hotmail.com
Hi,
I have a set of directories that contain java files. One of these
directories also contains a file called TestEnvironment.properties. This
file has information that is used to run my tests and the data is pulled
in by System.getProperty.
For System.getProperty to be able to find the TestEnvironment.properties
file, it needs to somehow be in the classpath, so that JDK can locate it.
But I cant seem to get Eclipse to add this file to the path.
When I try to add the directory it is in (also contains some java files),
eclipse throws a required library cannot denote external folder error
and doesnt compile anything.
Also, is there a way to have eclipse copy over a file to a location
automatically before it runs anything?
Thanks.
|
|
|
|
Powered by
FUDForum. Page generated in 0.06738 seconds