Eclipse: how to export a folder in a plugin

旧街凉风 提交于 2020-01-25 07:18:05

问题


I have a plugin containing a folder with files the plugin uses. I have noticed the folder is not exported in the plugin jar during its export. I guess there has to be some configuration I am missing but I can't find where it is.


回答1:


Go to MANIFEST.MF editor and in the Build tab you need to add the directory to the "Binary Build"

(This is the Gui way of what Michal Borek said. Both will have the same result)




回答2:


You need to add this folders to build.properties file in bin.includes section.



来源:https://stackoverflow.com/questions/16420698/eclipse-how-to-export-a-folder-in-a-plugin

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!