reference non plugin project to eclipse plugin project(将非插件项目引用到eclipse插件项目)
问题描述
我可以将 Eclipse 插件项目的引用添加到非插件 jar 中吗?这是一个我无法更改的罐子,所以我必须按原样使用它.
Can I add a reference from an eclipse plugin project to a non plugin jar? This is a jar that I can not change, so i have to use it as is.
谢谢伊多
推荐答案
最安全的方法是从现有的 jar 文件创建一个新插件:
The safest approach would be to create a new plugin from your existing jar file:
选择新建项目->插件开发->现有JAR档案中的插件
然后选择 jar 文件(Galileo 上的Add Externals"),为项目命名并填写一些插件属性(可选)并选择是否要解压缩 jar或保持原样.我保持选中复选框...
Then choose the jar file(s) ('Add Externals' on Galileo), name the project and fill in some plug-in properties (optional) and choose whether you want to unzip the jar or keep it as it is. I keep the checkbox checked...
就是这样.Eclipse 将自动生成一个导出所有包的插件项目,以便它可以在您的插件或 rcp 项目中使用.
And that's it. Eclipse will autogenerate a plugin project that exports all packages so that it can be used in your plug-in or rcp project.
这篇关于将非插件项目引用到eclipse插件项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:将非插件项目引用到eclipse插件项目
基础教程推荐
- 修改 void 函数的输入参数,然后读取 2022-01-01
- 无法复制:“比较方法违反了它的一般约定!" 2022-01-01
- 问题http://apache.org/xml/features/xinclude测试日志4j 2 2022-01-01
- 使用堆栈算法进行括号/括号匹配 2022-01-01
- Spring AOP错误无法懒惰地为此建议构建thisJoinPoin 2022-09-13
- REST Web 服务返回 415 - 不支持的媒体类型 2022-01-01
- 存储 20 位数字的数据类型 2022-01-01
- RabbitMQ:消息保持“未确认"; 2022-01-01
- 如何对 Java Hashmap 中的值求和 2022-01-01
- Struts2 URL 无法访问 2022-01-01
