eclipse

Why is the Android emulator skipping my return statement?

I'm getting unexpected behavior in my Android 1.5 application under the Windows emulator and debugging with Eclipse. Here's a generalization of what the code is doing: if (someCondition) { System.out.println("got here"); return "a"; } if (someOtherCondition) return "b" return "c"; If I step through this code with the de...

Building openjdk from eclipse (or any other IDE)

To any openjdk developers out there: I've been working on openjdk lately, and so far I've just been using vim to edit code (and I'm too ashamed to speak of how I've been debugging). Starting a build only to have it fail after a minute because of a misspelled variable or something like that is very annoying. Even worse is when it compil...

Java | Webservices WSDL validation error

I have successfully built and deployed a jax-ws webservice on myecplise with java 5 and tomcat 5.0 but when I try to create a webservice client I'm getting a validation error on the validation screen WS-I: A problem occurred while running the WS-I WSDL conformance check: org.eclipse.wst.wsi.internal.analyzer.WSIAnalyzerException. The W...

How to clean up combined vars declarations in Eclipse?

Hi, could anyone advice an option in Eclipse IDE for cleaning up combined vars declarations. I was unable to find one in "Clean up" settings for Eclipse. To turn this: int a=0, b, c; into this: int a=0; int b; int c; Thanks for answers. ...

Which type of Eclipse

For programming the Android, which Eclipse do I need ? (I means Eclipse for c++ or java or ...) ...

Debug C++ code in visual studio from python code running in eclipse

Does any one know how we can do this? I have python code in eclipse and whenever it calls c++ functions, i want the break point to go to the visual studio c++ project. ...

Using the Eclipse AST

I have recently come into the need of modifying some Java code (adding methods, changing the signatures of some fields and removing methods) and I think that all of this can be accomplished though the use of the Eclipse SDK's AST. I know from some research how to parse in a source file but I don't know how to do the things mentioned abo...

Java RESTful Web Service Tutorial with Eclipse and Jetty

Hello, I want to build a RESTful Web Service in Java, deployed using Jetty and developed usng Eclipse as IDE. I was wondering if anyone could post or link me to a beginner tutorial (even a "hello world!" would be good, for starters). Thanks in advance! ...

Create remote P2 eclipse update site?

I have created an eclipse update site using the Plugin project wizard in eclipse helios. I have added some features to this site and build it and it works fine (I can add the site to the update manager in eclipse). Now I would like to move this update site to a server so it can be accessed globally. But where do I find info on setting u...

Create an Eclipse plugin with customizable key bindings

I tried to create an Eclipse plugin with commands with customizable key bindings. I tried with this plugin.xml: <plugin> <extension point="org.eclipse.ui.commands"> <command description="Do something" id="com.myplugin.myCommand" name="My command"> </command> </extension> ...

question about GwT

i have following code package e.vogella.gwt.helloworld; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.ui.Button; import com.google.gwt.user.client.ui.Label; ...

Eclipse Warning with Java HashMap

Eclipse is saying "HashMap is a raw type" When I use the following code HashMap = new HashMap(); Any idea what could be wrong? ...

Missing package property files in war build

Littered throughout my project are various property files located in packages that are not being included when the package goal is run from a Maven build. Using the 0.10.2 m2eclipse plugin and the default "package" goal. In the project: src->main->java->mypackage->MyProperties.java src->main->java->mypackage->MyProperties.properti...

What is practical use of IDEA MPS and Eclipse Xtext

Both of those frameworks deal with meta-model: XText (Eclipse) MPS (JetBrain) Do you have example of practical applications based on meta-model transformation with those tools? ...

"source not found" for jsp in eclipse

It is utterly frustrating. I can set breakpoints in the jsp, and they work, however the source does not get loaded into eclipse and I see the blank page with source not found message. I have done the add sources thing and also in the debug configuration I added my jsp src directory. This is a regular eclipse project not WTP, beacuse out...

How do I add a folder full of Jar files to my classpath in Eclipse?

I would even want it to go recursively multiple folders down and grab all the jar files. ...

What is the best Eclipse distribution for a mix of Java and Web?

Basically, I want to mix in Java and Web (JavaScript, CSS, HTML, PHP, .NET, etc..) into one. So what is the best IDE for that? Since I'm a huge fan of Eclipse, I'd like to move from Dreamweaver to Eclipse for my Web Development. I love using Eclipse for Java development but I want to be able to maintain the functionality of Dreamweaver ...

How does JUnit find the eclipse plug-in being tested?

I am writing a plug-in (ClassRefactoringPlugin) that examines source code in Eclipse 3.5.2. The plug-in contains a CallData class that examines a Java source file and figures out which Java elements are called from a method using JDT operations. I wrote a JUnit 4 test for this class that also resides in the ClassRefactoringPlugin proje...

PHP file not read in Eclipse

I get the following error: Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/r/workspace/_compiled/APIBase.php on line 288 I can not see the dir it is checking because all the code is encrypted. I do not know another way around it as I have reinstalled and re downloaded twice. Plus I have tried on both XP...

pydev eclipse configuration for __builtins__ ?

suppose on init I've install my function under builtins then throughout my project I can access it directly that function, no need to import, but how can I tell this to eclipse - so it should not show RED Error "undefined variable" __builtins__['_'] = gettext.gettext ...