|
|
|
|
|
|
Re: Missing project explorer icons after update of platform (git projects) [message #1773247 is a reply to message #1773241] |
Mon, 25 September 2017 13:02 |
Eclipse User |
|
|
|
A few questions:
- Is this with a packaged product? Or in the debugger?
- How are you building the product, and what does your product file look like? Are you including the org.eclipse.rcp feature (recommended) or are you including files by hand?
- If you launch with "-console" you should get a `osgi>` prompt. Try typing `ss org.eclipse.ui.images` and report back what you see. (This won't work if you don't include the `org.eclipse.equinox.console` and `org.apache.felix.gogo*` bundles though.)
|
|
|
|
|
Re: Missing project explorer icons after update of platform (git projects) [message #1773323 is a reply to message #1773293] |
Tue, 26 September 2017 13:11 |
Eclipse User |
|
|
|
How are you building your product? What does the .product file look like?
From the above, you're missing the org.eclipse.ui.images bundle, which now includes the workbench images, and hence why you're getting the red squares. My guess is that you are including a list of bundles, rather than including the org.eclipse.rcp feature. The org.eclipse.rcp feature pulls in the bundles required for an RCP app, including org.eclipse.ui.images.
|
|
|
Re: Missing project explorer icons after update of platform (git projects) [message #1774783 is a reply to message #1773323] |
Thu, 19 October 2017 14:36 |
Thomas Axel Messages: 10 Registered: March 2017 |
Junior Member |
|
|
Good news I found this thread: https://www.eclipse.org/forums/index.php/t/1079044/
And started looking at our ApplicationWorkbenchAdvisor, and similar to their problem our code had some of that aswell
Old code
declareWorkbenchImage(configurer, ideBundle, IDE.SharedImages.IMG_OBJ_PROJECT, PATH_OBJECT + "prj_obj.gif", true);
declareWorkbenchImage(configurer, ideBundle, IDE.SharedImages.IMG_OBJ_PROJECT_CLOSED, PATH_OBJECT + "cprj_obj.gif", true);
New Code
declareWorkbenchImage(configurer, ideBundle, IDE.SharedImages.IMG_OBJ_PROJECT, PATH_OBJECT + "prj_obj.png", true);
declareWorkbenchImage(configurer, ideBundle, IDE.SharedImages.IMG_OBJ_PROJECT_CLOSED, PATH_OBJECT + "cprj_obj.png", true);
So the only change is that the picture now is png and not gif.
I guess the bundle at some point changed from being gif to only being png.
The bundle we use are eclipse.ui.ide
Thanks to everybody coming with inputs
|
|
|
Powered by
FUDForum. Page generated in 0.04602 seconds