问题
In my eclipse plugin, while testing the plugin(Run As Eclipse Application)-
As seen below, all the images in the New Wizard are rendered properly, highlighted in yellow.
However, once the plugin is exported as shown below, and placed as the jar in \eclipse\plugins, all the images are lost. What could be the reason for this?
After the jar is placed, the below is rendered without the images-
MANIFEST.MF file-
回答1:
Eclipse adds the compiled Java classes by default. Other files must be included manually in build.properties, example :icons or splash screen images.
A good example can be found here https://www.vogella.com/tutorials/EclipseProductDeployment/article.html
Hope it helps !
来源:https://stackoverflow.com/questions/60918626/why-do-all-the-images-of-the-plugin-disappear-once-the-plugin-is-exported-as-a-j