eclipse

Eclipse always runs all projects - how can I only run one?

OK, I'm an Eclipse noob, just working through the first couple of Plug-In creation tutorials and I have this really annoying problem: I can't figure out how to stop Eclipse from always building all projects when I only want to run one of them. Let me elaborate: I have project A (Java), B (Java) and C (Python). They're completely unrela...

java + eclipse + apple snow: missing javax.servlet.*

I'm trying to write a simple java applet program, but it seems that I'm missing the javax.servlet.* class definitions. Using: apple snow eclipse Java EE ide Do I need to add a specific JAR file to my project and if so, which one? I have Macports installed in case something from the ports might be helpful. ...

Eclipse Key Preferences; Debugging; Adding A "Watch Expression" Using The Keyboard

How do I define a custom key binding in eclipse? I have to admit, for a FREE PRODUCT, Eclipse really delivers. However, sometimes I have to scratch my head about certain missing features... Eclipse has over ELEVEN HUNDRED different key bindings. I would like to use one of those KeyBindings to add a "Watch" Expression to the express...

Problem With PHP Eclipse Key Binding

I have to admit, for a FREE PRODUCT, Eclipse really delivers. However, sometimes I don't understand certain missing features... Eclipse has over ELEVEN HUNDRED different key bindings. I would like to use one of those KeyBindings to add a "Watch" Expression to the expressions window, while debugging. Here is an additional screensh...

Visual Studio 2010 Formatting

I have plenty of experience with Eclipse, and now I'm trying out Visual Studio 2010. I find its formatting somewhat counter-intuitive. Here are some things I'm trying to figure out: Is there a way to select all text and format/indent it properly, like SHIFT+A SHIFT+I in Eclipse? Why is it that when I type a line like if (n == 0) {, as ...

How to stop Eclipse from trying to run XML files?

I'm mostly using Eclipse for Android development these days, and have developed good muscle memory for Ctrl-F11 to run my app. Problem is, if I happen to be editing an XML file (like manifest or layout) when I hit that key combination, Eclipse does something that I find inscrutable... It attempts to "run" my XML file, creating an erroneo...

standalone tool for generating makefile(s) from Eclipse's .cproject file?

Is there a standalone tool, that can be ran from a shell script, to generate a makefile from the .cproject? Actually, the same functionality as the CDT itself, but that can be non-interactive. As is probably obvious, I want to be able to run a script that checkouts and builds the software, comprising from several C++ project. I am tryin...

can i use only the eclipse IDE without using the myeclipse?

In my new project i work on, we use the myeclipse on top of Eclipse IDE. Our architecture includes jsp, jsf, ajax, spring framework with hibernate persistence and also has blaze for some business validations. We also expose Web services. For the build we have the maven and ant. The server used is weblogic.Also like to mention that we u...

Can't run JUnit 4 test case in eclipse

Hi All I am new to Java and am trying to run a unit test on a class I am writing. Eclipse (3.5) created the unit test class for me and added Junit4 to my class path. My Class: public class DistanceUtil { public static double metersToMiles( double meters ) { return 0; } public static double metersToKilometers( double meters ) {...

how to add my compiler to eclipse ?

i have a mini compiler written using flex and bison using c++ and i want to use it in eclipse as using java compiler , but i dont know any thing how to do that , so i want some help and some advices and if there is another method please point to it . thanks ...

How to Use External Class Files in an Eclipse Project

Hi all, My lecturer didn't provide us with the .java files for a tutorial. My question is, how would i use his class files in my eclipse project, and defeat the following error? Error: Exception in thread "main" java.lang.NoClassDefFoundError: lec/utils/InputReader at randomIt.main(randomIt.java:17) Caused by: java.lang.ClassNot...

Eclipse plugins for Spring / Hibernate development?

I have a running dynamic web project in Eclipse (Java EE + Maven + Spring). I am at the point where I need to integrate a persistence layer and want to use Hibernate with a mySql database. I am wonder what plugins would be useful for me at this point? For Hibernate should I install hibernate tools or is it not necessary? Are then any ...

What is the keyboard shortcut to run all unit tests in the current project in PyDev + Eclipse?

I know Ctrl + F9 runs a single file. How to run them all? If there is no such thing, how to bind one keyboard shortcut to it? ...

Is it possible to group projects in eclipse?

Hi, is it possible to group projects in eclipse? Or maybe have a project with sub-projects? ...

REMOTELY Debugging PHP Using Eclipse

I'm a self-taught noobie, trying to debug PHP on my GoDaddy hosted server. Is this idea even rational, or do I need to continue to do all development locally and just continuously re-ftp upload the changes? Is there some way that I can use eclipse to step through, and debug my php scripts that are hosted on a third party site? ...

Task Manager with Trac support for Mac

Found Mylyn as a very good task manager that supports Trac and Gmail Task. I've seen Tasktop, but looking for something with smaller memory footprint that I could always run in background. Is there any lighter client (not on Eclipse platform) to manager at least Trac tasks (via XML-RPC) and in best case scenario with GMail Tasks suppor...

Newbie cannot program Hello world app

I recently downloaded Eclipse (Galileo), the Android SDK and Java. I followed instructions to write the "Hello World" app http://developer.android.com/guide/tutorials/hello-world.html from the developers'webpage and ran the app. a window opens with a phone screen that reads "ANDROID" on the left and a keyboard image on the right. It do...

adb error: unable to parse adb version

Is there anyone who has had any problems using WIN7 and Eclipse? Everytime Eclipse starts this error always comes up: UNABLE TO PARSE ADB VERSION If you try and run/debug the app from within WIN7, The connection to adb is down, and a severe error has occured. [2010-01-29 19:00:17 - app name] You must restart adb and Eclipse. [2010-01-...

Why when I rename a project in Eclipse does Tomcat not pick up the new resource name?

I did refactor > rename on a project in my workspace, but then when I went under the servers tab and did a right-click > Add and Remove for my Tomcat server in order to modify the resources configured on the server, the resource name for my project is my old project name. I looked everywhere to try and change this, like some sort of Tomc...

Making wxPython GUI launch on a different screen from Eclipse

I currently have a dual-monitor setup with Eclipse on monitor 2. When I run the code that launches the wxPython GUI, I would like for this GUI to appear on monitor 1. Currently, the GUI consistently appears on monitor 2, covering Eclipse, and I have to drag it to monitor 1 every time. Is there a solution to this problem -- either a confi...