eclipse

Eclipse - find all classes that extend interface

We have an interface that has a child interface. Ie: public interface GenCalculator extends Serializable {} public interface SpecialCalculator extends GenCalculator {} In Eclipse, how can you find all interface-s that extend in this case GenCalculator? If I right click, select "Open Type Hierarchy" in the GenCalculator interface, I...

what is this ANT build ?

I am new to jav/Eclipse. I installed eclipse and working on a JAVA 1.4 file using it as an IDE. I made my code changes and saved it and wanted to Run (cntr F11) or debub (F11) every time i am getting select what to run Ant Build Ant Build.. what is this Ant Build ? How to rectify /connect/ Ant Build? Ant ...

Eclipse debugging / step into method skipping AOP wiring

I'm debugging a SpringSource application in Eclipse 3.5 that makes heavy use of AOP to wire up the components. If I want to step into a method of a class wired with AOP, I first have to step through around 20 layers of SpringSource wiring methods before reaching my own source code again. Is there a way to configure Eclipse to skip th...

Eclipse: which plugins for HTML & Javascript?

Which plugins do you use for editing (with syntax highlighting) HTML & Javascript in Eclipse 3.5? ...

Eclipse: How to create and load custom key bindings schemes?

I started using Eclipse recently along with the awesome PyDev plugin for Python development. Being used to the Visual Studio key bindings, I found that Eclipse has built-in support for a Visual Studio (and Emacs too) key bindings scheme. However, I would like to create my own custom key bindings scheme and be able to load the scheme int...

JavaDoc plugin for eclipse?

Hi there, i was looking for a javadoc plugin for eclipse so that i can document for methods etc. I know in eclipse you can do ALT + SHIFT + J but i was wondering if there was a more powerful plugin, I use GhostDoc in VS 2008 which basically when you say document it enters all the parameters and return values and even starts the paragr...

Saving TreeViewer state before setInput()

I'm trying to save jface TreeViewer expansion state to refresh it after calling setInput() method. I tried getExpandedElements, setExpandedElements, getExpandedTreePaths, setExpandedTreePaths methods of TreeViewer bu it doesn't work. Object[] expandedElements = viewer.getExpandedElements(); TreePath[] expandedTreePaths = viewer.getExpan...

Using C++ with Eclipse

I'm figuring out that there's two ways of writing C++ in Eclipse: either download the Eclipse IDE for C/C++ Developers or download the regular Eclipse for java and add the CDT plugin. What is the difference between these two? (Note that I'm already exstensively using Eclipse for Java) Thank you ...

How to get a list of all possible exceptions that could happen within a specific scope

I've a class class_A dealing with another class class_B which has methods with calls to other objects dealing with HTTP and JSON. Now I don't wanna handle these exceptions within class_B but rather on a higher level and thus forward them via throw e to class_A. Now I'm wondering when in my class A surrounding the call to a method of cla...

How to pass paramater into code-template in eclipse-plugin

I want to create a plugin which defines a new code template (like this blog post). How can I pass a parameter into the template? like ${name:param}? ...

Incremental Publishing in Eclipse for Static Web Project

I have a static Web project added to an Apache server. Whenever I make a change to the project, regardless of how small the change is, the entire project republishes instead of the individual file. I was under the impression that the publishing process was supposed to keep a delta and only republish the files that have been marked as cha...

Spring Explorer not showing beans from bean definition file

I just downloaded the Springsource Tool Suite, and I created a simple bean configuration file called myDefinition.xml and placed it in the root directory of the Spring Project. However, the Spring Explorer is not showing any data. I'm using eclipse 3.5 and the latest SpringSource all-in-one installation. Also, if I specify invalid prope...

Profiling a Java Application in Eclipse? (plug-in)

I'm looking to find bottlenecks in my Java application in Eclipse. I'm thinking this might be useful: http://www.eclipse.org/projects/project%5Fsummary.php?projectid=tptp.performance Any other good plug-ins to use? EDIT OK, it doesn't necessarily have to be an Eclipse plug-in. But it would be nice. And, I'm most interested in speed. ...

Java+Eclipse: how do you debug a java program that is receiving piped/redirected stdin?

I'm using Eclipse to develop a Java program, and figured I'd add an option to my program to parse stdin if there are no arguments. (otherwise it parses a file) I am having problems if I execute "somecommand | java -jar myjar.jar" and went to debug... then realized I don't know how to start a process in Eclipse like that. And if I run it...

How to install a custom plug-in in Eclipse Ganymede?

Hi, We have a custom plug-in. That is, the company where I'm working developed it in house. I would like to install it as an available plug-in in Eclipse Ganymede. How do I do that? From what I can figure out, the Eclipse software install only supports installation from Eclipse software update sites. I went to Help -> Install New Soft...

How do I set the Java path in Eclipse so I can run it on an external drive?

I have Eclipse 3.5.1 and Java Portable (from Portableapps.com) installed on a portable hard drive and would like to point my Eclipse to use the portable apps Java version. This will allow me to use Eclipse on a computer even if Java isn't installed. How do I accomplish this? ...

Perspective disapeared in Eclipse

I run Fedora 11 x86_64 and I use fedora eclipse. Was compiling code in c++ in my c++ perspective, one of the many I had and than fedora crashed for no reason. No big deal, I just restart my system but when I reopen eclipse for me to continue coding. Eclipse has put me in a weird "resource" perspective. So, I instinctively got to open m...

Eclipse cannot find java file generated via jsp on the work folder

I am currently programming using Eclipse 3.4.1 and using the Apache 5.5 as backend server. I am also using the com.sysdeo.eclipse.tomcat_3.2.1 plugin for tomcat. I was just wondering, when I encounter an error and prints the stack trace for the exception. I always would see the line code where the error occured on the java work file gen...

How do I change in an eclipse web project the WebContent folder to something different?

With the Galileo release it is finally possible to convert a normal Java project to a dynamic web project. Unfortunately it assumes that the Web stuff is located in a folder WebContent, which is not necessarily the case for an existing project. How can I change it? In MyEclipse it is quite easy, but with a stock eclipse I don't find such...

Debug PHP with Eclipse?

What is the best way to debug PHP with Eclipse? Specifically, I'm trying to work through some issues on a Drupal 6 installation. I like Eclipse's debugging for Java. Is there a way to do the same for PHP? ...