Skip to main content



      Home
Home » Newcomers » Newcomers » How to add a TestEnv.properties file to java build path
How to add a TestEnv.properties file to java build path [message #135010] Fri, 03 February 2006 20:54 Go to next message
Eclipse UserFriend
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 can’t 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 doesn’t compile anything.

Also, is there a way to have eclipse copy over a file to a location
automatically before it runs anything?
Thanks.
Re: How to add a TestEnv.properties file to java build path [message #135366 is a reply to message #135010] Sun, 05 February 2006 22:51 Go to previous message
Eclipse UserFriend
Originally posted by: yusufm3.hotmail.com

Anyone?
Previous Topic:Display online java doc helps
Next Topic:Portal development
Goto Forum:
  


Current Time: Sun Jul 13 18:42:21 EDT 2025

Powered by FUDForum. Page generated in 0.06738 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top