eclipse

Setup Java 6 annotation processing configuration for eclipse compiler with maven

What's the best way to setup the eclipse project compiler configuration for Java 6 annotation processors? My solution is to setup the org.eclipse.jdt.apt.core.prefs and factorypath files manually. This is a bit cumbersome: Reference the processor jar in the factorypath file Configure the eclipse annotation processor output directory (...

How to work with database from eclipse

I have a MySQL database server installed on my local machine. I have connected it with eclipse data source explorer. can you please point me to tutorials on effectively working with the database from eclipse itself without using command line MySQL client ? thanks ...

Generating Indexed Property Getters/Setters in Eclipse

By default, eclipse generates getters/setters according to JavaBeans regular properties style: * public void setName(String name) * public String getName() As of J2SE 5.0 JavaBeans specification allows IndexedPropertyChangeEvents which have a different getter/setter naming scheme for arrays: * public void setName(int index, String n...

Aptana spell checking

I'm currently using Aptana as an Eclipse plugin and I noticed that when I make a typo in my comments (PHP) that it underlines it with a squiggly line. However, Aptana seems to be smart enough to know that I made a type but I can't find any option to let it make the spelling correction for me (like a right click on the word and to be pres...

java isEmpty() undefined for string

I'm working on a school project in eclipse, and when I try and use the isEmpty() method on a String, Eclipse shows up the following error: "The method isEmpty() is undefined for the type String" I've run the Java updates, but am still getting it. Is any reason why this method would be undefined? ...

Bring FMIT (Free Music INstrument Tuner) into Eclipse as a project, Build and Run in Ubuntu

I am trying to import the download available at http://home.gna.org/fmit/ into Eclipse (on Ubuntu), compile and run. I have managed to create a C++ project in Eclipse, and then use the project wizard to import the home folder of the FMIT download. But I am lost when it comes to using the makefile to set the project up, build and run it...

Eclipse won't delete files

Hi, I've got an ANT project with libs managed by ivy (they are under lib_managed). Eclipse is using the jars to. Probelm is: if I try to update the directory ant refuses to delete it because eclipse holds on to the jars in its classpath. Even if I update (empty) eclipses classpath I can't delete the files. If anyone had the same problem...

Eclipse 3.5 ugrade

I got a notification to upgrade eclipse yesterday so I did it. When I started it up again today it ask for another upgrade. So I looked through the list and most of the dates were pretty old. I did the upgrade and the shut down and started eclipse and it asked for the same upgrades again. Should I just do a clean install? Why is thi...

Remote Java development with Eclipse (or something else)?

I'm fairly new to Java development, and people have been suggesting I use Eclipse as an IDE for the work I'm doing. My code lives on a linux box (running Ubuntu of some fairly recent version), but I use a MacBook as my main computer. I've been ssh'ing into the linux box to work on the non-Java code, simply using vim and have done the sam...

How to change value of 'Read timeout' of Eclipse's Update Manager?

How to change value of 'Read timeout' of Eclipse's Update Manager? I have slow internet connection and I cannot install any plugin, because Eclipse's Update manager throws me exception: Transfer Exception java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStr...

exclude files from jar or war in eclipse

Is there a way to tell Eclipse to not include specified files, directories, or patterns in a JAR or WAR? ...

Turn off FreeMarker validation in Eclipse 3.5

I'm using Eclipse 3.5 with the FreeMarker template plugin, and it's showing me a syntax validation problem that I don't care to see. How do I turn this validation off, or possibly downgrade this template error to a warning? In previous versions of Eclipse, I'd probably look under Window -> Preferences -> Validation, but I don't see tha...

Eclipse doesn't load plugins in the dropins folder

I just downloaded Eclipse SDK 3.5.1 and want to install some add ons such as GEF, EMF, etc. I downloaded all the zip files for everything I needed and decided to install them in the dropins folder. I read http://wiki.eclipse.org/Equinox_p2_Getting_Started and structured my dropin folder as specified: eclipse/ dropins/ emf/...

How to reduce Eclipse's memory usage?

The memory usage of Eclipse 3.4 is through the roof to the point where it's becoming an issue. I have a simple BlackBerry project loaded and the usage skyrockets to nearly 400 MB, sometimes higher. Is there something that can be done to bring it down? ...

what is the shortcut key for opening a resource in RAD 6.0? Ctrl + Shift + R !?

This may be a basic question, but I'm still looking for the answer. I've been using Eclipse IDE for a long time and I know the shortcut ket 'Ctrl + Shift + R' which will open the resources dialog box. Recently I switched to RAD 6.0 IDE (as per project need), and I could not use the shortcut 'Ctrl + Shift + R' in RAD 6.0. The shortcut '...

Can not install Google eclipse plugin

I am trying to install Google eclipse plugin on eclipse 3.5 - Galileo. But it gives me following error. !ENTRY org.eclipse.equinox.p2.core 4 0 2009-09-29 11:55:29.563 !MESSAGE Provisioning exception !STACK 1 org.eclipse.equinox.internal.provisional.p2.core.ProvisionException: No repository found at at org.eclipse.equinox.internal.p2...

Eclipse on VMPlayer/Ubuntu keeps saying my files have changed on disk.

Spurred on by success stories of developers using VMs I've decided to give it a try. I am running Eclipse on an Ubuntu 9.04 guest, on a WinXP host. Since my networked drive on the host is backed up twice a day, I decided to share my Eclipse workspace with the VM from the networked drive. All seems good, except on the guest Eclipse fre...

Eclipse plugin not working in Ganymede but working in Galileo

hi i made a plugin in eclipse Galileo. my plugin has folowing dependencies: Require-Bundle: org.eclipse.ui;bundle-version="3.5.0", org.eclipse.core.runtime;bundle-version="3.5.0", org.eclipse.core.resources;bundle-version="3.5.0", org.eclipse.jdt.core;bundle-version="3.5.0", org.eclipse.jdt.ui;bundle-version="3.5.0" but since Gany...

J2me Polish integration problem with Eclipse as plugin.

Hi, I am trying to integrate the j2me polish into the Eclipse IDE as plugin. I have followed all the instructions given into the j2me polish site: http://www.j2mepolish.org/cms/leftsection/documentation/installation/ide-integration/eclips/installation.html But i cant see any j2me polish updates into my eclipse. In Windows->preference...

Easy way of running the same junit test over and over?

Like the title says, I'm looking for some simple way to run JUnit 4.x tests several times in a row automatically using Eclipse. An example would be running the same test 10 times in a row and reporting back the result. We already have a complex way of doing this but I'm looking for a simple way of doing it so that I can be sorta sure t...