| [News.eclipse.dsdp.mtj] Re: Resouce files |
kevin horowitz Andrew Grillage wrote:
I am trying to load a resource file thus:
InputStream in = this.getClass().getResourceAsStream("test.xml");
I have tried putting the file in the project root and I have tried putting it in the res folder. It never seems to get packed in the jar. My in is always null. What do I need to do?
Andrew