Search code examples
javaeclipseprofileeclipse-tptp

Adding Profiling and Logging perspective to Eclipse on RedHat


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?

  • 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 the org.eclipse.tptp name-space, including org.eclipse.tptp.platform.lta and org.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".

Solution

  • 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.