eclipse

Smarter Editor Tab Labels in Eclipse

Has anyone found an option/plugin that allows customisation of Editor tabs in Eclipse? I have started using Eclipse for Pylons development and found that it is easy to do lots of tab hunting when my model and controller files have the same name. I was thinking of just prepending the package name to the file i.e models/page.py | control...

How to collapse blocks of code in Eclipse?

Some days ago my Eclipse was working fine and a +/- appeared in every block that could be collapsed (functions, classes, etc.)... but now it does appear, and I don't know how to activate that feature again. I know this question is kind of silly, but it's driving me nutts. If it helps, it's Eclipse Helios, running on a Gentoo Linux box. ...

Running a very simple Weld SE project in Eclipse

I've been using Seam 2 (also started looking into Java EE 6) in my web apps and a couple of days ago I found out that Seam's CDI can be leveraged in an SE application with Weld. According to Weld's Documentation page for Weld SE the setup is trivial. So I tried to setup an Eclipse project with a single class HelloWeld, weld-se.jar and th...

How to script the "Convert to AspectJ" action when creating a new Eclipse project?

I have a command line script that creates a (mostly) ready-to-go Eclipse project for me. It uses Maven's eclipse plugin, and has some other scripted steps such as copying our code standard settings from our repo into .settings. This is very handy, since I need to spin up new projects often, from this one template. (For branch work, one-o...

How to run Javah from Eclipse

So I'm trying to run the 'javah' tool on a compiled .class file in Eclipse, but I have no idea how to do it. The examples I found simply said something along the lines of 'run javah on your class...' but I don't really know where I'd find such a command line in Eclipse. If someone can give me a set of idiot proof instructions get this ...

Java maven development slow

I am developing a war/java website that is built via maven. Currently, I have to make changes... tell maven to build them... then deploy to Tomcat. This is around 40seconds. So every change I make, I have to wait >=40seconds to see the change. This is becoming very frustrating, so I have tried to speed up the deployment. I deployed ...

Eclipse RSE and xdebug - will this work?

I have a remote server connected over SSH using the RSE plugin in Eclipse Galileo. Is there anyway to "map" it to a PHP Debug session in Eclipse? (Xdebug is installed and working) I have heard that another solution is SSHFS but this might be tricky as I'm on WinXP and would prefer a 'generic' Eclipse solution. ...

Eclipse: How Do I decompile jar and load it as a project ?

how can I decompile a jar and load it as a project in my Eclipse so I can modify the code ? fyi I have googled jar decompiler. Looking for a guide or any insight on experiences with it. ...

Java generics code compiles with javac, fails with Eclipse Helios

I have the following test class that uses generics to overload a method. It works when compiled with javac and fails to compile in Eclipse Helios. My java version is 1.6.0_21. All the articles I read indicate that Eclipse is right and this code should not work. However when compiled with javac and run, the right method is selected. Ho...

In Eclipse, is there a way to open a file by typing its path and name?

IDEs are wonderful for many things. But I dislike how they make me use a GUI for something I can do faster typing in a command line. For example, opening a known specific file. If I know the name of a file, from the command line I can just type the name of my editor and the filename. With tab-completion I can accomplish this very quic...

Breakpoint at exception in Eclipse - how to examine Exception object?

I feel like I'm missing something very simple here. I have Eclipse set up to break on all exceptions. So, let's say that it breaks on an AssertationFailedException. The Debug window will show that thread suspended and has the following data: Thread [Thread-1] (Suspended (exception AssertionFailedException)) ContactManager.addCon...

How do I get Eclipse to find the "org.eclipse.team.cvs.ssh" bundle?

I've been trying to install IAM or m2eclipse without success. Both of them need the org.eclipse.team.cvs.ssh bundle, but Eclipse Helios complains that the repository could not be found. I've been attempting to then just install that single bundle without success. I select the "Helios - http://download.eclipse.org/releases/helios" reposi...

Method to pass an image value?

How would i go about passing an image to the next page for android? ...

Where is the place to disscuss vrapper problems?

http://sourceforge.net/projects/vrapper/ Vrapper is my favoriate vim-like plugin for eclipse. I got some problem with it - the ":format" does not work. I don't know where to ask my question. Can anybody point me out? ...

eclipse and easy eclipse interface differentiation, for casual java programmers

what is the difference between the easy eclipse interface and regular eclipse? any other specifics that i should consider when picking between the 2? ...

Running Groovy Unit Tests from a Eclipse Plugin Fragment?

Hey there, i'm currently working on a Eclipse RCP Project. I have a Plugin Fragment where i store my Unit Tests. I like to store the Groovy Unit Tests there as well. But when i try to create a Groovy unit test, Eclipse doesn't let me, because the fragment is not a Groovy Project. Is there a way to run the the groovy tests inside the fr...

running applet via ant from eclipse

hello, i would like to launch an applet in an build.xml like this: <java classname="sun.applet.AppletViewer" classpath="${libraries}"> </java> (at least that is how it works in netbeans) but i get the error message: [java] JVM args ignored when same JVM is used. [java] Could not find sun.applet.AppletViewer. Make sure you have it...

Using assertArrayEquals in unit tests

My intention is to use assertArrayEquals Junit method described out there: [http://www.junit.org/apidocs/org/junit/Assert.html#assertArrayEquals(int[], int[])][1] for verification of one method in my class. But it happened Eclipse shows me the error message it can't recognize such a method. Those two imports are in place: import java.u...

Eclipse regex find and replace

I want to replace the below statement ImageIcon("images/calender.gif"); with ImageIcon(res.getResource("images/calender.gif")); Can anyone suggest a regex to do this in eclipse.Instead of "calender.gif" any filename can come. ...

What enables the Android Eclipse LogCat?

The LogCat window is open. Sometimes LogCat displays Log messages, sometimes it does not, with or without the physical target attached. Is there an enable/disable Log somewhere in the debug environment? ...