[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
] [
Newsgroup Home
]
[news.eclipse.platform] How to access files within a jar ?
From
:
must_top@xxxxxxxxx
(Mustafa )
Date
: Tue, 10 Feb 2009 16:11:53 +0000 (UTC)
Newsgroups
:
eclipse.platform
Organization
: Eclipse
User-agent
: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
I have tried to access to a file within my plugin in Eclipse by using String mainPath = getBundle().getLocation() + "fileName" and it works.
However when I deployed my product, I notice my getBundle().getLocation() returns to a path of a jar file.
1. How can I access the file within the jar ? Or should I enable the unpack option for the particular plug-in ?
2. How to get the absolute path of the file within plug-in ?
Follow-Ups
:
[news.eclipse.platform] Re: How to access files within a jar ?
From:
Walter Harley
Prev by Date:
[news.eclipse.platform] Q: changing member sort fields
Next by Date:
[news.eclipse.platform] Additional Files for Deployed Product
Previous by thread:
[news.eclipse.platform] Q: changing member sort fields
Next by thread:
[news.eclipse.platform] Re: How to access files within a jar ?
Index(es):
Date
Thread