RedHawk 1.10使用哪个插件进行IDL编辑 [英] which plugin does RedHawk 1.10 use for IDL editing

查看:93
本文介绍了RedHawk 1.10使用哪个插件进行IDL编辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

RedHawk从redhawk-yum-1.10.2-5-el6-x86_64.tar.gz安装用于Eclipse插件的JAR.在RedHawk 1.9中,它仅安装了4个JAR来进行IDL解析和编辑,而在RedHawk 1.10中,它从Eclipse Corba Package中安装了这4个JAR,但也安装了2个.

RedHawk installs JARs for eclipse plugins from redhawk-yum-1.10.2-5-el6-x86_64.tar.gz. In RedHawk 1.9 it only installed 4 JARs for IDL parsing and editing, but in RedHawk 1.10 it installs these 4 but also 2 from Eclipse Corba Package.

gov.redhawk.eclipsecorba.idl_7.1.0.201501292343.jar
gov.redhawk.eclipsecorba.idl.source_7.1.0.201501292343.jar
gov.redhawk.eclipsecorba.idl.edit_4.1.0.201501292343.jar
gov.redhawk.eclipsecorba.idl.edit.source_4.1.0.201501292343.jar
net.sf.eclipsecorba.idl_0.7.0.218.jar
net.sf.eclipsecorba.idl.edit_0.7.0.218.jar

许多Java文件具有相同的名称,但也有许多不同之处. 从源Java文件中的注释来看,似乎政府机构的罐子使用JavaCC来构建解析器,而来自ECP的政府罐子则使用SableCC.

Many java files have the same names but there are also many differences. From comments in the source java files it appears that the gov jars used JavaCC to build the parser while those from ECP used SableCC.

在RedHawk 1.10中实际上使用了哪些工具?还是它们都用于不同的目的?

Which ones are actually used in RedHawk 1.10 or are they both used for different purposes?

我正在尝试研究解析器错误,并想知道要看哪个解析器.

I am trying to look into a parser bug and would like to know which parser to look at.

对不起,我对Eclipse插件的开发并不熟悉,还没有弄清楚如何知道实际加载了哪些插件或如何使用它们.

Sorry, I am not familiar with Eclipse plugin development and have not figured out how to tell what plugins are actually loaded or how they are used.

推荐答案

Redhawk使用Eclipse Corba插件(ECP)项目为IDL文件提供编辑器:

Redhawk uses the Eclipse Corba Plugin (ECP) project to provide an editor for IDL files:

http://eclipsecorba.sourceforge.net/

编辑器不支持恒定的IDL表达(例如const foo = bar +1).不幸的是,该项目不再进行维护(2008年的最新版本).

The editor does not support constant IDL expresions (e.g. const foo = bar + 1). Unfortunately, the project is not maintained any more (last release in 2008).

对于IDE中的所有其他IDL功能(例如在资源管理器视图中的目标SDR"下显示IDL),Redhawk IDE都有自己的解析器代码来处理此问题.当前,IDE的解析器具有相同的限制-它无法识别常量IDL表达式.

For all other IDL functions in the IDE, such as displaying IDLs under the "Target SDR" in the explorer view, the Redhawk IDE has its own parser code which handles this. The IDE's parser currently has the same limitation - it does not recognize constant IDL expressions.

这篇关于RedHawk 1.10使用哪个插件进行IDL编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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