Skip to main content

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 13:24
Eclipse UserFriend
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: Tue Jun 19 14:47:53 GMT 2018

Powered by FUDForum. Page generated in 0.01870 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top