eclipse

Do you know eclipse plugin to change localised text into html entities?

I have resource bundle with my country characters - how to change them into html entities. I prefer plugin integrated with Eclipse to have all tools in one place. ...

How do I start designing portlets in Eclipse?

Is there any plugins for Eclipse for portlet design and deployment? I have never designed portlets so are there any good tutorials on the web as well? ...

Eclipse Optimize Imports to Include Static Imports

Is there anyway to get Eclipse to automatically look for static imports? For example, now that I've finally upgraded to Junit 4, I'd like to be able to write: assertEquals(expectedValue, actualValue); hit ctrl-SHIFT-O and have Eclipse add: import static org.junit.Assert.assertEquals; Maybe I'm asking too much. ...

How to identify which lines of code participated in a specific execution of a Java program?

Suppose that I have a Java program within an IDE (Eclipse in this case). Suppose now that I execute the program and at some point terminate it or it ends naturally. Is there a convenient way to determine which lines executed at least once and which ones did not (e.g., exception handling or conditions that weren't reached?) A manual way...

Eclipse jump to closing brace

What is the keyboard short cut in Eclipse to jump to the closing brace of a scope? ...

Can you register an ActiveX dll in Java programmatically?

I have a third-party ActiveX dll, and I'd like to register it programmatically at run time, if possible. Can this be done in Java? The application I'm working with is an Eclipse application on Windows XP. ...

Building Eclipse from source

I have been trying to build eclipse fetched from CVS, but cannot find where to begin? Usually it has been simple, make X, build X, but I am not finding it that easy with this. There are hundreds of plugins, and I cannot seem to find where to build them all and have the eclipse IDE. Is there any tutorial that will step me through the pr...

How can I automate (script) creating a war file in eclipse?

It's 5 button clicks to get eclipse to create a deployable war file for my eclipse project, I figure there's probably some eclipse command line option to do the same thing, so I can just write it into a script, but I'm not seeing it. ...

Eclipse 3.4 ant task hangs

When I launch ant script from Eclipse 3.4.x it print output to console until certain stage. After that it often hangs (wait forever). Last lines that I see at the screen (console) - partial output from my obfuscator. Under Eclipse 3.3.2 everything works fine (the same project, workspace, settings, JVM etc.). Does anybody have the same ...

Using the eclipse remote debugger and getting com.sun.jdi.InternalException: Got error code in reply:35 occurred while retrieving value. for all expressions

I am getting this error for all expressions and cant find anything on it. My guess is that the debugger isn't correctly connecting to the remote version, but I am not sure. ...

Integrating command-line generated python .coverage files with PyDev

My build environment is configured to compile, run and create coverage file at the command line (using Ned Batchelder coverage.py tool). I'm using Eclipse with PyDev as my editor, but for practical reasons, it's not possible/convenient for me to convert my whole build environment to Eclipse (and thus generate the coverage data directly...

Starting JBoss from Eclipse

Staring JBoss server from within Eclipse Ganymede gives me the following problem: "Server JBoss v4.0 at localhost was unable to start within 120 seconds. If the server requires more time, try increasing the timeout in the server editor." The console shows JBoss has started in so and so minutes but soon after, there is a pop up if the ab...

Ways to purge the workspace environment with RAD (based on Eclipse)

I am getting a lot of errors when starting RAD7. The server doesn't respond to class changes. Sometimes the server won't start. Sometimes RAD will not acknowledge modules that I added to the server. It is kind of buggy. I know there is metadata in the workspace, are there safe ways to clean the metadata or RAD in general? Where RAD...

How to write a plugin for eclipse?

Hi, my question it's very easy, how I can write a plugin for eclipse? I've looked for documentation but unfortunately there is very little or it's poor, so can anyone recommend any articles? ...

Double click text selection in CFEclipse

In CFEclipse, I do a lot of double-clicking to select text. The standard behavior is to select all text within the nearest word boundaries. This is problematic when editing code where the original editor didn't use camel-case; for example, they wrote "myObject" as "my_object". Is there a way to change the double-click selection behavior...

Get the absolute path of the currently edited file in Eclipse

I'd like to write a plugin that does something with the currently edited file in Eclipse. But I'm not sure how to properly get the file's full path. This is what I do now: IFile file = (IFile) window.getActivePage().getActiveEditor.getEditorInput(). getAdapter(IFile.class); Now I have an IFile object, and I can retrieve it's path...

eclipse support for custom facelets tags

Hi I recently started facelets development, and a couple of days ago made my first useful custom tag. Now I would like to have autocompletion support in eclipse, like I have for standard taglibs like h, c and ui. Is there any easy way (less than 30 min work) to enable tool support for custom tags? I'm using eclipse 3.4 with jboss tool...

How to move only the current file with Eclipse and/or Ant?

I am working on a small team of web application developers. We edit JSPs in Eclipse on our own machines and then move them over to a shared application server to test the changes. I have an Ant script that will take ALL the JSPs on my machine and move them over to the application server, but will only overwrite JSPs if the ones on my m...

Launching a URL from an Eclipse plugin

I'd like to have my Eclipse plugin cause a URL to be opened by the users' default browser. This seems like pretty standard behavior, but I haven't been able to find any docs on how to do this. Can anyone help? ...

Hungry Backspace in Eclipse?

In some editors there exist plugins implementing a feature called "hungry backspace" or "hungry delete". If this mode is active in a text editor then one hit to the backspace key will automatically delete all whitespace chars backwards from the current cursor position up to the first non-whitespace character. For example, this feature ...