Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Help reading a from a jar that's in my plugin directory
Help reading a from a jar that's in my plugin directory [message #60823] Thu, 05 May 2005 22:12
Eclipse UserFriend
Originally posted by: ewidhalm.itc.nrcs.usda.gov

Before I ported my app from netbeans to eclipse, I could get a *.gif
file like this:

final String pathname =
"gov/usda/nrcs/surveyengtool/printing/resources/compass.gif";
URL url = getClass().getResource(pathname);

This came from within a jarfile containing my entire app. Now the
jarfile resides in my plugin directory:
c:\installdir\plugins\edu.my.port\surveyapp.jar

How can I get a valid URL to the same compass.gif file now?
Previous Topic:cvs with eclipse help
Next Topic:change Project/Folder images (decorators)
Goto Forum:
  


Current Time: Sun Dec 22 01:16:24 GMT 2024

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

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

Back to the top