eclipse

Is it possible to have multipe team providers on one eclipse project

Hi all, To be question short the problem is following: Let's presume I have a project in eclipse workspace and want it to be held other two source control ( SVN and Mercurial to be more concrete) is it possible? ...

How to access external JAR files from JavaScript using Rhino and Eclipse?

Hi, I'm using Mozilla Rhino to write a JavaScript server application. I would like to include the HttpClient classes in my project to easily access the web, but I can't figure out how to configure my Eclipse project to get Rhino to load the HttpClient JAR file. I have added js.jar (from Rhino) and httpclient-4.0.1.jar to my project's b...

Eclipse - Debug As window

Whenever I press F11 to debug my Android application I get 'Debug as' window in which I need to select 'Android application' in order to continue. Is it possible to suppress this window and always, by default go with 'Android application' option? Thanks! ...

Java: Thread.currentThread().sleep(x) vs. Thread.sleep(x)

I have this in my code Thread.currentThread().sleep(x); Eclipse tells me to use the static Thread.sleep(x); instead, why? What's the difference, is there some difference in functionality at all between these 2 methods? ...

Eclipse Output Folders

Hi With following structure, how can I make Eclipse build the WAR file correctly? I need following folders to go into following output folders: mail/src into mail/war/WEB-INF/classes mail/www into mail/war/ I have tried setting the Output folders in Eclipse, but that doesn't result in anything but Eclipse magically deleting all WEB-...

Please help me use Eclipse effectively

How to run the last explicitly started Run Configuration? Eclipse always tries to run the file in the current editor which is annoying when this is a class that happens to have a main method or is some non Java file for which Eclipse then tries to set up a ant task instead of just running my program. I know I can click the top most item...

Eclipse + pydev - Missing Console-view toolbar in minimized mode

I'm using Eclipse + pydev plugin as the development environment. In fact my application needs a big console area and I usually resize the console and minimize it, so that whenever I run the application, it automatically shows up. But when I minimize the console view or detach it or mark it as Fast View, the toolbar for controlling the r...

Eclipse ClassCastException when trying to expand XML layout for Android

I am new to java, eclipse, and android development, so I may be missing something simple although I have checked basic stuff like spelling several times. Because there is no number picker control (such as that used in the date picker) in the public Android SDK, the conventional wisdom is to "clone and own" the control that exists in the...

How to share eclipse configuration over different workspaces

I'm using eclipse (pdt) as primary IDE on different machines. (like at home, laptop, in office, etc.). How could I share the eclipse and project configuration pragmatically between multiple computers? Should I version control them, or is there any easier way to do this? How do you ensure to use the same good and old even so up to date c...

Python class that inherits from itself? How does this work?

Relatively new to Python, and I saw the following construct in the PyFacebook library (source here: http://github.com/sciyoshi/pyfacebook/blob/master/facebook/init.py#L660). I'm curious what this does because it appears to be a class that inherits from itself. class AuthProxy(AuthProxy): """Special proxy for facebook.auth.""" ...

Setting breakpoint w/Eclipse PDT

I am SOOOOO discouraged. This seems so simple, but being a complete novice in Drupal and Eclipse PDT I have absolutely no idea where to look. My DAYS of searching seems to indicate that I am the only person on the planet with this problem. Eclipse IDE for PHP Developers (1.2.1.20090918-0703) WampServer Version 2.0 Apache 2.2.11 PH...

How to create default debug and run configuration in eclipse?

Whenever I hit Debug or Run, I get a dialog asking me what configuration I want to use. How do I set a default configuration and bind a keyboard shortcut? ...

Eclipse extension point for attribute content in JSP editor (webtools)

I am trying to find extension point for providing custom attribute values in JSP editors, similar to org.eclipse.jdt.ui.javaCompletionProposalComputer in JDT. I looked at WST and JST documentation referenced at http://www.eclipse.org/webtools/documentation/, but found nothing. Is there such extension point, or some other way to provide...

My proposals are hidden when using Java Proposals (Task-Focused)

I wrote custom java proposals contributor. It works fine when using "Java Proposals" advanced configuration of content-assist in Eclipse. However, when I select "Java Proposals (Task-Focused)" and uncheck "Java Proposals", my proposals no longer show up. Any idea why? Do I need to provide some extra information in my ICompletionProposa...

What do the numbers in stack trace mean?

How can I use the numbers in the stacktrace? What do these mean? In eclipse I get often exceptions, for example a NullPointerException: java.lang.NullPointerException at com.sun.midp.lcdui.DefaultEventHandler.commandEvent(+68) at com.sun.midp.lcdui.AutomatedEventHandler.commandEvent(+47) at com.sun.midp.lcdui.DefaultEventHandler$Q...

java.lang.ClassCastException when casting Object-result of java.lang.reflect.Method.invoke

I load dynamically an external class from my eclipse rcp application with urlClassLoader. The invoke()-method returns an Object of self-defined Type. ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader(); URLClassLoader cl = URLClassLoader.newInstance( url); Thread.currentThread().setContextClassLoader(cl); S...

Hide GWT output folders in Eclipse

Hi How can I hide the output folders (/war/com.projname.EntryPoint/) in the /war/ folder in Eclipse's Package Explorer? I've tried setting the folders to 'Derived' but it doesn't chage a thing. ...

Eclipse: Difference between the "Tasks" view and the "Task List" View

What is the difference between the "Tasks" view and the "Task List" view in eclipse. I understand that one is managed by Mylyn, but I would like a comprehensive answer if anyone's got the time. It will help many people in the future when they a are searching for information on eclipse. What are the differences between the two views? D...

CVS Server Configuration for Eclipse

Okay, I'm not an idiot; really... I'm an experienced developer, but totally new to Eclipse, and CVS. My wife and I want to work on the same source files from different computers in the same room. All of our google searches and all of the instructions at Eclipse, etc say something like "The first step is to connect to your configured ...

Unbound classpath container in Eclipse

I have checked out a project using Subversive for Eclipse and I am getting the following errors: The project cannot be built until build path errors are resolved Unbound classpath container: 'JRE System Library[jdk1.5.0_08]' I'm assuming the first error will be resolved as soon as the second one is. I think I need to install jdk1.5.0_...