eclipse

How to configure Eclipse build path to use Maven dependencies?

I would like to take advantage of the features that Maven provides for managing dependencies in a project. My brief understanding of how Maven works is that it will aquire the JARs needed and then build the project with these libraries. Currently I have a simple POM file set up as a test: <project xmlns="http://maven.apache.org/POM/4.0...

Animated GIF in SWT table/tree viewer cell

http://www.java2s.com/Code/Java/SWT-JFace-Eclipse/DisplayananimatedGIF.htm describes how to display an animated GIF in SWT - in general. While the code works and is easily comprehensible I'm facing serious issues displaying an animated GIF in a SWT/JFace table/tree viewer cell with that technique. -> all code below Essentially, I implem...

Why does Android Eclipse constantly refresh external folders and take forver?

Just my a new Android phone and I've been tinkering with some basic apps. It's been driving my crazy that the Android plugin for Eclipse refreshes externals folders whenever I save ANYTHING. Normally I wouldn't mind but when it takes 10s to refresh I start to notice. I already searched and other people have this problem, but there are ...

Function parameters in Eclipse/PyDev

How do I display the function parameters help box when I'm in the middle of typing them? By looking at questions like this one, it seems that I have to hit either Ctrl+SPACE or Ctrl+Shift+SPACE, but neither of these seems to work. The parameters are displayed when I type the (, but then they disappear. BTW, a related question: It seems ...

Do too many plug-ins slow down Eclipse?

I have recently installed a new project into my Eclipse and also needed to install some plug-ins to manage it. I also installed other plug-ins which I do not need to manage the project but thought it will be nice to try out. After this, I noticed that my IDE isn’t as fast to respond as before. I’m not sure if it has something to do with...

undefined reference to WinMain Error 1 in eclipse using mingw

Build of configuration Debug for project testcase ** make all Building target: testcase.exe Invoking: MinGW C++ Linker g++ -o"testcase.exe" ./atest.o ./main.o C:/cppunit/src/cppunit/.libs/libcppunit.a /mingw/lib/libmingw32.a(main.o):main.c:(.text+0xd2): undefined reference to `WinMain@16' collect2: ld returned 1 exit status make: ...

Java Generics: Who is right, javac or Eclipse compile?

Calling this method: public static @Nonnull <TV, TG extends TV> Maybe<TV> something(final @Nonnull TG value) { return new Maybe<TV>(value); } like this: public @Nonnull Maybe<Foo> visit() { return Maybe.something(new BarExtendsFoo()); } compiles just fine in Eclipse, but javac gives an "incompatable types" warning: found ...

how java.exe and javaw.exe are used in eclipse?

i know the use of java.exe and javaw.exe in command console.. but how they are used in eclipse? ...

What can cause this Java behaviour?

My project generates some text/binary files. If I run it normally, some files will have a pretty low size ( which indicates something went wrong ). If I run it from debug mode ( stepping through code ), the files will be generated correctly. What can cause this behaviour? I'm pretty sure I don't have any unclosed files. EDIT: I've gone...

Custom CompareEditor with multiple panes

Eclipse's CompareEditor looks beautiful and has a great functionality. But, I'm cannot find a simple way to create a custom CompareEditor with multiple panes? For example: class MultiCompareEditor extends CompareEditor { MultiCompareEditor (Object... InputElement) { } } After that I'd like to see CompareEditor with number o...

Eclipse, remove override error

Hi, I have overriden a controller class in a java projects in order to add an interceptor, I would like to know if there is anyway I can remove the "error" showing up in Eclipse: The type CRUD is already defined I don't think the code will help much but there you go: package controllers; public abstract class CRUD extends Con...

Problems with team ... switch to another branch in Eclipse

I'm working on a project in Eclipse that has a backend on CVS. When I installed the project, I set up a CVS repository and used eclipse to determine all the branches (via the "Perform Deep Search" dialog), and then used the CVS repository to "Check out into an existing project." Everything works fine, CVS checkout, update, commit. Fast ...

Eclipse keyboard bindings in Visual Studio 2008

Is there anyway to mimic the majority of Eclipse keyboard bindings in Visual Studio 2008? ...

Eclipse randomly exits after installation of Blackberry plugin/SDK

Hello all Since adding the Blackberry Java classes from their website into eclipse, I've had it where eclipse will randomly close, with no discernible pattern, rhyme, error or reason. Here is the environment/software packages that I am using: Windows XP SP2 Eclipse v3.5.1 Blackberry Java Plugin v1.1.1.200911111641-15 Blackberry Java SD...

how to use appcfg.py for google-app-engine projects created using google's eclipse plugin?

I have created a google-app-engine java project in Eclipse using Google's Eclipse plugin. My previous attempt to deploy failed. Now, when I retry, I get the following message: Unable to update app: Error posting to URL : http://appengine.google.com/api/appversion/create?app_id=mybdaywisherversion=1 409 conflict Another transaction for ...

eclipse howto start a application client on java ee glassfish appl srv

i have installed the glassfish eclipse tools bundle... i can start a project like dynamic web & a ear project and deploy them on the glassfish... it works perfect & under the localhost url i will get an hello world but how i do this if i want to make an application client. please help... at the moment i simply created an "app client pr...

when using eclipse/netbeans, can you make it use the maven to build?

Confused as to building a java spring/mvc web app. When you use netbeans or eclipse, do you have to use the maven/ant build script? if you don't use maven/ant, how does netbeans/eclipse perform the build then? ...

Using XDebug to trace a PHP web service page

I'm using Eclipse and XDebug to develop a PHP application that relies on web services. I have test pages that consume my services in 2 ways: AJAX (using jQuery) and cURL. I add breakpoints to my service page and launch the debugger. When I call the the service from AJAX, execution stops nicely at the breakpoint, and I get my variables, ...

Server is down, is there an alternative server for ECF than ecftcp://ecf.eclipse.org:3282/

I was trying to setup up the Eclipse CollaborationFramework using the doc share plgin I managed to connect the through google talk OK, but when I tried to create a collboration to share the workspace, on trying to connect to ther server I got a connection failed error, could not connect to the server Anybody know if is the server not...

Including other Eclipse Projects in an Android application project

I have a library-only Android eclipse project (no main class, only library classes) that I want to include in my main Android Application project. I went to the Build Path and added the library project to the "Required projects on the build path" on the Projects tab, and checked it on the "Order and Export" tab. However, when the appl...