eclipse

Exporting feature fails, but exporting contained plug-in works

I'm trying to bundle a bunch of Eclipse plug-ins into a feature. Currently I've got just one plug-in project which makes use of classes contained in package org.osgi.framework and org.tigris.subversion.javahl. Exporting the plug-in works fine. Now I added another feature project and added the above plug-in to the feature's plug-ins. The...

Android project won't build when editing a resource file

I have an Android 1.5 project in Eclipse and whenever I merely have an xml resource file open the build dies with an error. E.g. if I have the res\layout\main.xml open as the active document it won't build and throws the following error: Error in an XML file: aborting build. res\layout\main.xml:0: ERROR Resource entry main is already de...

Keyboard shortcut to navigate to next/previous search match in eclipse for java.

Is it possible to assign a shortcut to this function? ...

Adding library in Eclipse in C in Linux

How to add libraries in Eclipse project in C in Linux? ...

Eclipse: auto format XML files on save

Is it possible to somehow auto-format when saving XML files in Eclipse? I know it's possible to do it for Java files, but I would like it to happen for XML files as well. Specifically, I'm using and loving the auto format feature for XML files while developing for Android, as Android is quite heavy on using XML files. ...

'Must Override a Superclass Method' Errors after importing a project into Eclipse

Anytime I have to re-import my projects into Eclipse (if I reinstalled Eclipse, or changed the location of the projects), almost all of my overridden methods are not formatted correctly, causing the error 'The method ?????????? must override a superclass method'. It may be noteworthy to mention this is with Android projects - for whatev...

How to get Java API Javadocs to show up in Eclipse in Ubuntu

Hi... I'm here again with a docs question. At my university, when using Eclipse, when placing the cursor over a Java API method name (for example: .size() ), I get very nice documentation about it. Here at home I get Note: This element neither has attached source nor attached Javadoc and hence no information could be found. Any qu...

Turning on anti-aliasing in SWT

I've called gc.setAntialias(SWT.ON); and it does nothing. According to that method, it should work. The Javadoc states: Sets the receiver's anti-aliasing value to the parameter, which must be one of SWT.DEFAULT, SWT.OFF or SWT.ON. It's not working for me, and I'm painting on a simple Canvas. ...

Eclipse Doesn't Find Java On Snow Leopard

I have Cocoa 64-bit Galileo Eclipse installed on snow leopard. For some reason all my java is underlined in red, even standard java library functions. When i try to add a jre it tells me "Standard VM not supported on MacOS." I've even tried installing the 1.5 java sdk and still doesn't work. I also get Unhandled Loop Exceptions. I've tri...

Communication between custom eclipse view and running program??

Hi, I am working on a project that is some kind of a 3d visualization of some simulation. This visualization is a separate eclipse plugin that can be run. The problem is that the gui is imagined as a new eclipse perspective with custom views where at runtime, while the visualization is running, in eclipse views in our own perspective val...

How to deploy on JBoss exploded web application from Eclipse Galileo?

Is it possible to deploy on JBoss exploded web application(not archived war file) from Eclipse Galileo? ...

Eclipse skipping over breakpoints when debugging java

I've been using Eclipse for ages and I use the debugger all the time but recently I've known it to skip over breakpoints while debugging! I've even had it so that I've set a break point on a println I'll see the text come out but not hit the breakpoint. Also sometimes I'll hit a break point consistently in one area of the code but not ...

Is it possible to decouple the code indexing capabilities of Eclipse?

I am looking to write a static analyser for a university class. To provide more power for the tool I would like to be able to look up the call hierarchy (as Ctrl+Alt+H does in Eclipse). This would also have to be a fast operation, so the lookup would probably have to be done against an index rather than bytecode scanning. However, writi...

"JDI thread evaluations" error when debugging java in Eclipse

When I'm debugging my Android applications in Eclipse, I frequently get a "JDI thread evaluations" error when I try to display the value of particular expressions using the Display view. Similarly, it also seems to happen when I set conditions on breakpoints. I'm not 100% sure about this, but the problem seems to occur when I evaluate ...

Hi, I'd like to learn struts2 with eclipse. Which version of eclipse should i download?

Hi, I'd like to learn struts2 with eclipse. Which version of eclipse should i download? My background is as a c# developer, so i don't really know much at all about java but i'm keen to learn. I'm looking on the eclipse site http://eclipse.org/downloads/ and i think what i want is one of these, but i'm not sure: Eclipse for Java EE d...

Does anyone have a beginners guide to installing and using glassfish?

I am after a all round installation and introduction to Glassfish. (ie Your boss has told you need to develop your web applications for glassfish instead of tomcat) ...

Color Themes For Eclipse Python Development

I am looking for Eclipse themes that are similar to the following and support Python/xhtml/css/js by default. ...

To fetch the absolute path of .mdzip file(Magicdraw project) opened in Eclipse editor

"I need to fetch the absolute file path of any .mdzip file opened in Eclipse editor. The MDZIP file corresponds to a Magicdraw project which can be opened in Eclipse after integrating the Magicdraw plugin into Eclipse. Normally, the path of opened file in Editor can be fetched by using: FileStoreEditorInput fipp = (FileStoreEditorInput)...

To display secondary views under Eclipse menu Window -> Show VIew

I have created a Eclipse plugin application, in which there are many secondary views created at runtime for a single static view. In the menu 'Window-> Show View', only the entry for the view statically created in the plugin.xml is displayed. But the view that is created statically is useless in terms of showing results because the resu...

Display view in Eclipse menu Window-> Show View

"I have created an Eclipse plugin which creates a view in Eclipse. Currently it is displayed in the Eclipse menu as : 'Window->Show View->Others'. I want to show it in 'Window -> Show View' and not under the submenu 'Others'. I have tried it giving the 'Category' of the view in the plugin.xml file as 'org.eclipse.ui' but it is still sh...