I have a unit test that needs to get data from a text file in my languge(
lproj ) folder and I'd like to set it up without an absolute path( like
/Developer/workspace/PROJECT/LANGUAGE.lproj/FILE.txt ).

Since my test case is pure Java I don't have a running Application with the
ResouceManager and I'm using BufferedReader/FileReader with the absolute
path to the file to read its contents.

Any ideas how I can get the resource in my test case without the absolute
path, since I don't want the test to be dependent on the location of my
workspace.


 
    With well-being and veneration,
    Logi Helgu




Fyrirvari á tölvupósti / e-mail disclaimer
<a href="http://www.us.is/page/fyrirvari";>http://www.us.is/page/fyrirvari</a>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to