没有Eclipse的JDT? [英] JDT without Eclipse?

查看:106
本文介绍了没有Eclipse的JDT?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

前一段时间我写了一个Eclipse插件,它使用JDT进行一些解析。现在我正在考虑制作这个应用程序的命令行版本。当然,我希望重用解析代码,所以我需要让JDT在Eclipse之外工作。有什么办法可以完成这个(也许建立一些包装纸等)?有没有提供相同API /功能的JDT库的任何端口,但独立于Eclipse工作?



任何帮助将不胜感激。谢谢。

解决方案

JDT分为两个不同的部分。解析部分都应该在没有UI依赖关系的插件中。我认为他们确实依赖于Eclipse运行时,这意味着您或多或少需要创建无头RCP应用程序。


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.

解决方案

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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆