Loading

Tag Archives: eclipse

Eclipse bug 149890 finally solved

After long long time since the bug #149890 was reported on 2006-07-06 has been finally resolved on 2008-02-03. I wonder if my comment on javalobby a couple of days ago has something to do with this. Now it seems that is possible to have a dynamic MenuManager as a submenu of the parent MenuManager.

Bookmark It

Hide [...]

Eclipse Bug #201116 update: Switch compare viewer for java files

I’ve submitted a patch (Attachment #77777 and a couple of screenshots ( Attachment #77774 y Attachment #77776) to Bug #201116. It’s only a preliminary work but it enables the user to select with contentMergeViewer to use with each FileType/ContentType. Now it’s only useful if you use my java formatting compare plugin. Currently the org.eclipse.compare [...]

Bug 201116 – Compare will silently discard additional contentMergeViewers associated with the same file extension

I filled
Bug 201116 – Compare will silently discard additional contentMergeViewers associated with the same file extension a couple of days ago. As Szymon Brandys says eclipse should allow the user to switch between the differente merge viewer available for a given extension. He proposes two solutions:
1) Having a mechanishm inside the compare [...]

Updating the java compare plugin

I received some comments about my java compare plugin about my plugin ignoring preferences for text font and formatter settings. I didn’t address those at the beginning because I didn’t notice so as soon as I realized that was missing I put my hands at work.
The java formatter settings was easy just modifying the [...]

Eclipse Compare. Ignoring java formatting changes not only whitespace.

I met some difficulties dealing with the default eclipse java compare. I got involved on a project where everybody likes to commit code to CVS formatted their way, so comparing between CVS revisions is almost impossible.
So I decided to start investigating about Eclipse plugin development to make a Java Compare Viewer that not only [...]

Eclipse Error Reporting: Exception stacktrace details

I’m working with Eclipse 3.2.2 RCP right now and I’m getting an exception that I want to display on screen. I found in the eclipsepedia that we must use ErrorDialog to report errors:

try {
// …
} catch (InvocationTargetException e) {
IStatus status = new Status(IStatus.ERROR, Application.ID, 1, "Exception found.", e.getCause());
ErrorDialog.openError(window.getShell(),"Error while loading file", [...]

Eclipse Preference Page Extension Wizard troubleshooting

Today I tried to add a Preference Page to an RCP application that I’m working on with no luck. After executing the Extension -> Add -> Extension Wizards -> Preference Page I end up with 3 new classes. But 2 of then have compilation errors, they refer to an unexisting PreferenceClass. After googling a bit [...]

Compiling and building JMeter with Eclipse 3.2.x

The developer notes on how to compile and debug Jmeter with Eclipse 1 and 2 are very difficult to follow and outdated. If you are interested in modifying Jmeter using Eclipse 3.2 Callisto you can follow the following procedure:
1. Install Subclipse Callisto release (update site: http://subclipse.tigris.org/update_1.2.x)
2. Download optional libraries. Although they’re optional is [...]

New views don’t show up when using Eclipse RCP setSaveAndRestore

If you add a new view to an Eclipse RCP and when launch it the new view is not there you probably hit the problem described in this
CT Arrington’s Weblog post.
The IWorkbenchConfigurer.setSaveAndRestore(true) called from your WorkbenchAdvisor can be the source of the problem. The Eclipse RCP platform is trying to restore the perspective from [...]

(Tomcat 5.5.x) java.lang.NoClassDefFoundError: javax/servlet/http/HttpSessionListener

Or

java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

for that matter.
NoClassDefFoundError on HttpSessionListener , ServletListener , ServletContextListener, etc. can be caused by a custom classloader like Sysdeo DevLoader (I use it with Eclipse) in you Context definition in the Tomcat’s server.xml file.

the solution: add
useSystemClassLoaderAsParent=”false”
to the Loader

This should do the trick more information here and here

Bookmark It

Hide Sites

$$(‘div.d122′).each( function(e) { e.visualEffect(’slide_up’,{duration:0.5}) }); [...]