JDT without Eclipse?(没有 Eclipse 的 JDT?)
问题描述
前段时间我写了一个Eclipse插件,它利用JDT来做一些解析.现在我正在考虑制作这个应用程序的命令行版本.自然,我希望重用解析代码,所以我需要让 JDT 在 Eclipse 之外工作.有什么办法可以做到这一点(也许构建一些包装器等)?是否有任何 JDT 库端口提供相同的 API/功能但独立于 Eclipse 工作?
Some time ago I wrote an Eclipse plugin which makes use of JDT to do some parsing. Now I am thinking of making a command-line version of this app. Naturally, I hope to reuse the parsing code, so I need to get JDT to work outside Eclipse. Is there any way I can accomplish this (maybe build some wrappers, etc)? Are there any ports of the JDT library that provide the same API / functionality but work independently of Eclipse?
任何帮助将不胜感激.谢谢.
Any help will be greatly appreciated. Thanks.
推荐答案
JDT 分为两个不同的部分.解析部分应该都在完全没有 UI 依赖的插件中.我认为他们确实依赖于 Eclipse 运行时,这意味着您或多或少需要创建一个无头 RCP 应用程序".
The JDT is divided into two distinct parts. The parsing parts should all be in plugins which have no UI-dependencies at all. I think they do have a dependency on the Eclipse runtime, which means that you more or less need to create a "headless RCP application".
这篇关于没有 Eclipse 的 JDT?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:没有 Eclipse 的 JDT?


基础教程推荐
- Java:带有char数组的println给出乱码 2022-01-01
- 如何使用 Java 创建 X509 证书? 2022-01-01
- 降序排序:Java Map 2022-01-01
- “未找到匹配项"使用 matcher 的 group 方法时 2022-01-01
- 设置 bean 时出现 Nullpointerexception 2022-01-01
- 减少 JVM 暂停时间 >1 秒使用 UseConcMarkSweepGC 2022-01-01
- Java Keytool 导入证书后出错,"keytool error: java.io.FileNotFoundException &拒绝访问" 2022-01-01
- 无法使用修饰符“public final"访问 java.util.Ha 2022-01-01
- 在 Libgdx 中处理屏幕的正确方法 2022-01-01
- FirebaseListAdapter 不推送聊天应用程序的单个项目 - Firebase-Ui 3.1 2022-01-01