bundle.getEntry( path ) returns null [message #109410] |
Thu, 16 October 2008 11:37  |
Eclipse User |
|
|
|
Hi all,
bundle.getEntry( path ) returns null in my deployed application. But, in
Eclipse, it finds the file without any problems !
How can you explain that ? And how can I avoid that ? ;-)
Thanks,
Emmanuel
|
|
|
Re: bundle.getEntry( path ) returns null [message #109437 is a reply to message #109410] |
Thu, 16 October 2008 14:25  |
Eclipse User |
|
|
|
Originally posted by: evolanakis.innoopract.com
Did you check your build.properties? If you add non-java files to a
plug-in you have to adjust the build.properties, otherwise those files
will not be available in the jar.
Here is how:
1. Open the file build.properties (with the Build Properties Editor)
2. Go to the 'Build' tab
3. Under 'Binary Build' makee sure that the files / directories you are
referencing have a check mark.
This will cause those files to be included in the jar.
Hope this helps,
Elias.
Emmanuel Marchal wrote:
> Hi all,
>
> bundle.getEntry( path ) returns null in my deployed application. But, in
> Eclipse, it finds the file without any problems !
>
> How can you explain that ? And how can I avoid that ? ;-)
>
> Thanks,
>
> Emmanuel
>
--
---
Elias Volanakis
Innoopract, Inc.
http://www.innoopract.com
|
|
|
Powered by
FUDForum. Page generated in 0.06873 seconds