Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » DSDP - Mobile Tools for Java (MTJ) » Resouce files
Resouce files [message #566219] Tue, 01 May 2007 13:24
Eclipse UserFriend
Originally posted by: agrillage.yahoo.com

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
Previous Topic:CONA.jar
Next Topic:Using Nokia SDK's in Eclipse
Goto Forum:
  


Current Time: Fri Apr 19 01:10:05 GMT 2024

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

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

Back to the top