Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Mobile Tools for Java (MTJ) » Resouce files
Resouce files [message #566219] Tue, 01 May 2007 09:24
Eclipse User
Originally posted by:

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?

Previous Topic:CONA.jar
Next Topic:Using Nokia SDK's in Eclipse
Goto Forum:

Current Time: Thu Aug 21 08:27:37 EDT 2014

Powered by FUDForum. Page generated in 0.01431 seconds