将配置和日志透视添加到RedHat上的Eclipse [英] Adding Profiling and Logging perspective to Eclipse on RedHat
问题描述
我正在设置Eclipse,所以我可以使用TPTP分析器来配置Java程序。我已经下载并解压缩了我认为我需要的所有 .zip
文件,但是Eclipse仍然没有提供分析和记录的视角。我还需要做些什么来获得这个观点?我可以编辑一个配置文件吗?
I am trying to set up Eclipse so I can profile a Java program using the TPTP profiler. I have downloaded and unzipped all the .zip
files that I believe I need, but Eclipse still does not provide a "Profiling and Logging" perspective. What more must I do to get this perspective? Is there perhaps a configuration file I must edit?
- 我使用的是Red Hat RHEL5,因此Eclipse 3.2.0,TPTP 4.2。
-
窗口>开放视角>其他...
对话框不列出分析和记录的角度。 -
帮助>关于Eclipse平台>插件详细信息
窗口列出了org.eclipse.tptp
名称空间中的许多pacakges,包括org.eclipse。 tptp.platform.lta
和org.eclipse.tptp.trace
。哪个插件负责提供透视? -
窗口>首选项...
对话框没有分析和记录条目。
- I'm using Red Hat RHEL5, and thus Eclipse 3.2.0, TPTP 4.2.0.2.
- The
Window > Open Perspective > Other...
dialog-box does not list the "Profiling and Logging" perspective. - The
Help > About Eclipse Platform > Plug-in Details
window lists numerous pacakges in theorg.eclipse.tptp
name-space, includingorg.eclipse.tptp.platform.lta
andorg.eclipse.tptp.trace
. Which plug-in is responsible for providing the perspective? - The
Window > Preferences...
dialog does not have an entry for "Profiling and Logging".
推荐答案
所以,我再次尝试使用帮助>软件更新>查找并安装...
让Eclipse下载并安装插件本身。这一次更成功,但还是没有喜悦。重要的是它尝试更新Eclipse核心的一些部分。该安装失败,因为 / usr / shar / eclipse
文件(由Red Hat的eclipse RPM安装)由 root
而不是我自己。因此,似乎尽管发布说明中说,TPTP需要一个固定版本的Eclipse 3.2。我想这个故事的道德是忘记尝试使用Eclipse RPM,而是将其下载并安装到您的主目录中。
So, I tried again to use Help > Software Updates > Find and Install...
to have Eclipse download and install the plug-ins itself. This time with more success, but still no joy. Significantly it tries to update some parts of the Eclipse core. That installation failed because the /usr/shar/eclipse
files (installed by the eclipse RPM from Red Hat) are owned by root
rather than myself. It seems therefore that, despite what the release notes say, TPTP requires a fixed version of Eclipse 3.2. I guess the moral of this story is to forget about trying to use the Eclipse RPM, and instead down-load and install it in your home directory.
这篇关于将配置和日志透视添加到RedHat上的Eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!