Robotics StackExchange | Archived questions

Eclipse open a file in source folder

Dear reader,

I want to open a file in the source directory. I don't get it to work. When I place the file in the toplevel directory so right under Project@build it works, but otherwise I can't get it working. I tried file.open("sources/file.txt"),file.open("[Source directory]/eclipse/sources/test2.txt"); etc.

image description This is how the structure looks, the file that wants to open a txt in sources is in the src folder.

Thansk for the help

Kenavera

Asked by Kenavera on 2015-12-02 05:32:45 UTC

Comments

Answers