Here's my structure:
- com/mycompany/ValueReader.class
- com/mycompany/resources/values.xml
I can read the file in my Eclipse project, but when I export it to a .jar it can never find the values.xml.
I tried using ValueReader.class.getResource() and ValueReader.class.getResourceAsStream() but it doesn't work.
What's the problem here? How do I get a File-object to my values.xml?
B.