eclipse

How do I get eclipse's web page editor to work?

I installed the eclipse web page editor from the help->updates->Ganymede Update Side-> Web and Java EE Development. - version 2.1.0 Whenever I try to open an html page though, I get the error: java.lang.NoSuchMethodError An error has occurred. See error log for more details. org.eclipse.wst.sse.ui.StructuredTextEditor.isBlockSelection...

What are the most important IDE features missing in Vim?

I have been programming almost exclusively in Vim since 1/1/2001, and I feel that Vim fulfulls all my needs as an editor/IDE, but I can't help but wonder if perhaps there have been some new killer features developed for other IDEs in the last decade that would allow me to be more productive than I can be using Vim. So I ask: What are the...

How to get classloader for a bundle in equinox?

How can I get the classloader for a osgi bundle in eclipse equinox setup. Thanks, Suraj ...

How to set javadoc path for a jar in a projet using Eclipse

I'm using JUnit 3 in Eclipse Galileo. The junit.jar (located in the project in vendor/lib/) contains both the classes and the javadoc. In my project which I share using CVS, I want the doc to be available for everybody who checks-out the project. So I committed the .classpath file. When adding the javadoc path to the lib using the Eclip...

Eclipse: Java, see where class is used

Is there a way in Eclipse to select a Java class, and then bring up a list of all Java files where that class is used within a project? ...

Failing to add a builder to my eclipse project.

Hi, I am trying to add a new builder to an eclipse project and I am having a problem. The new builder is an external program. This is what I have done: I have created a new program configuration in the external tools. After creating it I have tested it by making it run - it worked OK. Than, I have opened the project properties and unde...

Could not create servlet in web application project (google app engine) by using eclipse

I am following Google App Engine Guestbook sample to create a new servlet in src folder. When the create servlet dialog open, I found I can't choose or type "Web Project" and can't browse to select "source folder" either. The eclipse is version 3.5, jdk I installed is 1.6.0_14-b08 I am working on Windows XP Pro with SP3. Before I tri...

Create Runnable JAR with .properties files using Java Eclipse

Hi, I'm trying to build a runnable JAR using Eclipse's Export function. everything works fine except several .properties files I have under the root directory. I added all the .properties files into Build Path, and they appears under 'Order and Export' tab in Java Build Path dialog. However, when I try to run the Export, I got the foll...

Debugging breakpoints on JUnit test in Eclipse are not working

I am trying to debug a junit test in eclipse but my breakpoints are not firing (unless they are on the first or second line). I've tried deleting and recreating all breakpoints in the workspace, cleaning the project, creating a new debug configuration, and running the test method individually and as part of a test class with other metho...

Why would exporting an eclipse RCP product hang?

I am building Mac and Win versions of an RCP product using Eclipse 3.5.1. I've installed the RCP delta pack and everything looks great. However, when I go to export, the progress bar gets stuck at "Publishing Metadata" (about 20% through the export process). It never makes any progress after that. Further, cancelling has no effect at all...

Suspend on uncaught runtime exceptions in Eclipse Junit test runner

Eclipse is not suspending on an uncaught runtime exception during debugging of a Junit test. I've tried: JRE 1.6 update 15 and 16 Eclipse 3.5.0 and Eclipse 3.4.2 Checked "Suspend on uncaught exception" for the exception and all runtime exceptions Checked "Keep JUnit running after a test run when debugging" Debugging when running only t...

Using eclipse comparator from command line

Can Eclipse Compare tool be called from command line? I just want to use it as a merge tool from an external tool. Thanks a lot. ...

Eclipse plugin: NoClassDefFoundError on org/eclipse/jdt/ui/JavaUI

I am creating a plugin which requires jdt.ui.JavaUI class. I included the jdt.ui plugin into the dependencies. This is my Manifest.MF: Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: PanelGenerator Plug-in Bundle-SymbolicName: PanelGeneratorPlugin; singleton:=true Bundle-Version: 0.1.0 Bundle-Activator: panelgenerator.plugi...

Manually added location updates stop working in Eclipse

Hi folks, I'm working on a 1.5 Android application. Developing in Eclipse 3.4.2 on Windows XP. I have a MapView, have requested updates, etc. The problem is that after the first manually injected GPS coordinate, the app stops recognizing that a GPS coord has been sent. LocationManager lm = (LocationManager) getSystemService(Contex...

Eclipse Java project folder organization

I am coming to Java and Eclipse from a C#/Visual Studio background. In the latter, I would normally organize a solution like so: \MyProjects\MyApp\MyAppsUtilities\LowerLevelStuff where MyApp would contain a project to build a .exe, MyAppsUtilities would make an assembly DLL called by the .exe, and LowerLevelStuff would probably build ...

Depending on com.sun.javadoc from tools.jar (Sun JDK) in Eclipse

One of our plugins requires an installed JDK, not just an JRE. We need com.sun.javadoc and friends from tools.jar. I do not think Sun's license will allow redistributing tools.jar (which is not necessary if you already have a JDK anyway). It also seems there is no way in Eclipse to specify a JDK as a dependency. All answers in the Eclip...

Mismatching JVM versions in deploying web-app between Eclipse and Tomcat

Hi, I have a web-app, built and compiled in Eclipse, which I want to deploy to my Tomcat 6 (I want to do it manually) and I get a UnsupportedClassVersionError exception which means the JVM tomcat is running is older than the one my eclipse is running. After some checking I see that in the tomcat manager window it says: JVM Version-1.5.0_...

Optimized Project Structure in Eclipse CDT

Hi, I'm in a c++ project on linux in the starting stages. (team contains 3-5 developer, IDE is Eclipse CDT 6) And i'm wondering your ideas about what should be the project structure about the following subjects: Dependency management, how would you reference different sub-project directories in the same project Building system, handwri...

How to Display Current Function in Eclipse

I miss a certain functionality in Eclipse. I would like to know the name of the current function the cursor is currently inside. This is useful when browsing unknown code using the search function, for example. Any idea how to show it? Maybe a plugin? ...

Quick Java Optimization Question

Will the Eclipse compiler automatically convert multiplication by a power of two into a bit shift, or should I do that manually? Thanks for the help. ...