eclipse

Confusion over Eclipse SWT ViewPart and its Toolbars?

I followed roughly the recipe in this blog entry http://eclipsercptutorials.blogspot.com/2009/05/add-toolbar-to-view-in-eclipse-rcp.html Which looks like that the image appears left to the minimize/maximize icons The thing is, if I don't assign an image to the action, then the item doesn't appear in the header, but in a separate to...

Is there a free Eclipse plugin that creates a UML diagram out of Java classes / packages?

This seemed to me like the easiest thing to find, a simple way to display my classes as UML in eclipse But except this: http://java2uml.gforge.enseeiht.fr/ and this http://sourceforge.jp/projects/amateras/releases/ I haven't found any new, maintained and "good" implementation (with all due respect to the above two) Anything else I've m...

Number of lines of code in RAD/Eclipse workspace

How do I find number of lines of code in RAD or Eclipse in entire workspace (all the projects)?? ...

Why my SWT application does not work?

I am trying to create a Hello World SWT application using Eclipse. I follow all instructions and in the end my program does not work. This is my code: import gnu.gcj.xlib.Display; import org.eclipse.swt.widgets.Shell; public class HelloWorldSWT { /** * @param args */ public static void main(String[] args) { ...

Maven and Eclipse problem - looking for resources

Hello! I have a problem, that maven is looking for resources inside of Eclipse installation folder. It is saying: This file was not found: file:/C:/eclipse/eclipse/src/main/resources/config/spring/applicationContext.xml While my workspace is in c:/Work/Core/ and inside src/main/resources. Is there any configuration for pom.xml to o...

JDI Thread Evaluations has encountered a problem

I'm running Eclipse for Java. I created a DOM version of an XML file. Now I want to change an attribute of an element in the file. I called a method that called a method in the class that controls the DOM, and I got a dialog box saying "JDI Thread Evaluations has encountered a problem. Exception processing async thread queue" while debug...

Associating existing Eclipse project with existing SVN repository

Hi All, I have an eclipse project on my hard disk, which is a fairly recent check out from an SVN repository. I've imported this project into my Eclipse workspace, and now want to associate it with the SVN repository. How do I do this? The only options I seem to have under Right-click -> Team is "Share Project", which only seems to al...

Personal Plugin in Eclipse

I own a plugin for eclipse, but I want to use it at work. Is there a way to make eclipse use plugin files without it affecting other people using the same central version of Eclipse? Maybe some custom preferences? Thanks. EDIT: Started a bounty. Please specify a step-by-step solution to this, as I'm not very experienced with the inner-...

Why "Source > Organize Imports" does not work in Eclipse?

I am writning a Hello World SWT application in Eclipse (I follow instructions given by Eclipse). At some point I have to "Right click in the Java editor and select Source > Organize Imports". I did it in Eclipse installed on Ubuntu. This operation has generated import statements in the beginning of my code. But it was not sufficient to ...

How to Merge GWT (Google Web Toolkit) Project and Dynamic Web Project (i.e. Java Web App/Servlets) in Eclipse?

I currently have a primary Java Web App Project which houses some Servlets, JSPs and static HTML pages. Later on, I also created a second Eclipse Google Web Toolkit Project (GWT). Now, after finishing the GWT Project, I want to integrate or merge the GWT Project (while retaining its RPC capabilities with Servlets) with the Primary Java W...

Java Tools for combining runtime execution with coverage

Are there any free tools for Java (preferably Eclipse) that can give metrics on both how frequently code is executed (based on a recorded run) and do a side by side with coverage? I'm not sure if there is already a metric for measuring this but it seems it would be an interesting one to see. ...

How to increase productivity with Vim and Eclipse for PHP5.3 projects (possibly using Eclim integration with Zend Studio)

I always strive to increase my productivity when developing applications and in the span of the last few years, I can say that I have made good steps towards increasing that productivity, but I still find I need more tools or methods. I need to edit faster and learn touch typing (currently in the process) and therefore I find a need to m...

Can I run from command line program created by Eclipse?

Using Eclipse I have created a SWT Hello World program. I was able to run this program from Eclipse and it worked fine. In the "/home/myname/workspace/HelloWorldSWT" I found two files: HelloWorldSWT.java and HelloWorldSWT.class. I wanted to execute the corresponding program from the command line. First I tried to type "java HelloWorld" ...

Subclipse plugin doesn't work in Eclipse?

Hi, even though there was no error when installing Subclipse in Eclipse. I won't see the SVN perspective at all? I have tried with "Eclipse Classic 3.5.1" and with "Eclipse for PHP Developers". After downloading and unzipping the packages I used Eclipse's "Install Software" mechanism to install Subclipse 1.6.x. I followed the steps descr...

JDK/JRE/JVM/Java SDK | What do they all mean? Sometimes you can develop with JRE and sometimes you need JDK?

To tell the truth, I am quite confused on all these terms (JDK/JRE/Java SDK). I am not sure what each one does. When I first started doing simple java examples in eclipse, I am pretty sure I only had the JRE, which I believed was the default java installer regular users use to be able to run java programs/applets on their system. Howev...

how to run php script in phpeclipse

Hello to all, I was downloaded the phpeclipse from the eclipse downloads. i have wamp in my machine(c:/wamp/). i set path like c:/wamp/php/php.exe in system environmental varariables path. now i want to run php script from phpeclipse. what i have to do to run php script. is there any runconfigurations in the phpeclipse. if exists....

Break when a variable is assigned some value

I want jdb (which I'm using via the Eclipse debugger) to break when a variable is assigned some value. I'm not interested in setting a breakpoint at some specific line but rather more generally. For example, break every time x == null. Is such a thing achievable? ...

APT ANT task fails in eclipse but works from shell

I have a ant javac task which is supposed to run some annotation processor. It works fine when run from a batch file, but fails with Error running javac.exe compiler when started from eclipse. Normal compiling javac tasks work just fine. I guess ant started from eclipse uses some different compiler? How do I change it to the normal c...

dynamic MenuContribution - Get a warning

Hi folks, I am using dynamic MenuContribution and get a warning that two of my referenced identifers "cannot be found". Even though the contribution works. These warnings bug me. I have a CompoundContributionItem implementation defined in one of my plugings. Basically it looks like this: public class ViewerHistoryMenuItems extends Com...

Dynamic lib(rary) in Eclipse for NON-Dynamic Web Projects

Is there a way to add a dynamic library folder to a plain Java project similar to WEB-INF/lib in a Dynamic Web Project? I mean, can I specify a simple folder, let's just call it lib, and have Eclipse monitor it for any library jars I might want to add or remove. Currently I only know this behaviour from the Web App Libraries where any ...