eclipse

Why is creating Servlets in Eclipse breaking my web.xml?

Being somewhat lazy, I was rather happy to find that I could create a new servlet source code by going New -> Servlet, instead of going New -> Class and then editing the class into a servlet. However, I have discovered that every time I create a new servlet in Eclipse, Eclipse modifies my web.xml. Specifically, it modifies the top elem...

How can I delete a project shared into SVN repository?

I work under Ubuntu and use Eclipse+Subversive to commit code to my SVN repository. I accidentally shared a project I don't want to be shared. I disconnected it, but obviously I can still see it (e.g. via websvn interface). How can I delete this project (folder) from the repository itself? ...

Can't Configure Android SDK in Eclipse in Ubuntu After Upgraded to 10.10

I have installed eclipse 5.2 in ubuntu 10.10. In the 'Install New Software', it show Android Developments Installed. And when i goto preferences window, Android is not listed in the left panel. Already i was running Android SDK in ubuntu 10.04, after i upgraded ubuntu OS, eclipse is not showing the Android. ...

How can I redirect JNI console output to Eclipse Console view, when Eclipse plugin uses JNI?

Greetings, I have an Eclipse plugin (A) which has a dependency on another plugin (B). Plugin B is simply a wrapper around a jar, which contains a native dll, and performs jni functionality. Given this setup, I have the following code in A's Activator class's start method: MessageConsole jniConsole = new MessageConsole("Opereffa Output...

Difference between eclipse europa, helios, galileo

What is the difference between eclipse (europa, helios, galileo). Which is the best for desktop application. ...

How to change the background color for the line number column in eclipse?

I am using Eclipse 3.6.1 classic and trying to tweak the color syntax to my desire. The one thing I haven't been able to change is the background color for the line number column. If this is not possible because Eclipse doesn't have an option for it, I will be satisfied even with a hack/plugin if any of you know of any. Thanks. ...

How to execute or implement batch file in java project with eclipse

Is it possible to implement or extract batch file in eclipse and debug java project in debug mode. Because without batch file I can't debugging my project and can't set breakpoint.Or some another solution. How to debug my application with use .bat file to start my java project. ...

Open file in eclipse on mac 10.6

I have a deceivingly (at least for me) simple problem. I want to open a file in eclipse FROM Mac's finder. Whenever I try, I get the alert that Eclipse cannot open that file. Yet, from within Eclipse I can open the file, either by double clicking it in the Explorer/Navigator window or going file/Open File ... At the end of the day, I wa...

How to create an eclipse theme?

I've seen there are a couple of eclipse color themes around but none seem to be exactly as I want. How can I create an eclipse theme myself? I could edit a file but I'm more curious in learning than just tweaking thing I don't know. Thanks. ...

Generic static factory method problem

Hello, I have class like following: public class Tree<T extends Comparable<? super T>> { // private data omitted private Tree() {} // non parametric private constructor, not exposed // static factory method public static <T extends Comparable<? super T>> Tree<T> newInstance() { return new Tree<T>(); } } Now from anothe...

Java/Eclipse on MacOSX: where is the src.zip ?

Hi, With the latest Java update on MacOSX 10.6, Eclipse does not find the Java sources anymore. I am not exactly sure (i.e. don't remember anymore) if I have downloaded the sources manually in the past and put them somewhere or if MacOSX provided them and Eclipse found them automatically. Does MacOSX have the sources somewhere? (Pleas...

Eclipse delete word behavior

What preference in Eclipse controls how much is deleted when you press control-delete/backspace? This is the delete whole word command as defined by the operating system (but I imagine expanded on in Eclipse). In CDT, it's great. If you press control-delete in some white space it will delete all the way up to the first character. Lik...

File Path Problem in Eclipse (Java).

Hi, I am using Eclipse to create a Dynamic Web Project. My eclipse is in /home/pc/eclipse and My project is in /home/pc/workspace/MyWebProj Now I placed the files in the above Project Directory. When I want to read any File from my code, It always searches the files in /home/pc/eclipse folder instead of /home/pc/workspace/MyWebProj,...

eclipse default preferences file (windows7 32bit)

Guys, I was trying to have a dark color theme for eclipse but I think I imported an epf file for older eclipse versions so everything looks strange now for all programming languages. (colors, fonts, even menu background) I tried to import other other themes, removed eclipse, removed everything related to eclipse from "c:\users" and Wind...

In Eclipse, hide files ending in tilde `~`

Eclipse, by default, hides files that begin with . in the Package Explorer, Navigator, and other file views (e.g. .classpath, .settings, etc). Is it possible to hide files which end in ~ (e.g. somefile.txt~). Yes, these are Emacs backup files, created while using both Eclipse and Emacs on the same project. ...

Android: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml

Volker Voecking had responded to earlier question by Vaibhav, ---If you enter the URL in a browser and then look at the source code of the page you will see that an XML document is returned. The reason why that URL would work in a browser but not in the android manager might be that you are required to specify a proxy server. In Eclips...

Eclipse PDT Code folding

I would like to fold {} brackets i.e if/else, for, while, foreach... sections in eclipse pdt. How can i do it. I don't see any options in settings. ...

weird error in eclipse !

Hi All, I am facing a weird problem in eclipse. I am doing a project on android. After some minute modifications, I suddenly noticed the project icon has a small red cross icon. However, no other file/package/folder is showing this icon. I am not sure where the error is and how to solve it. Can anyone please help me out ? Thanks. -ah...

Ant script build time vs. Eclipse build time

Exporting a project as a runnable jar takes approx 30sec to build, the (auto created) Ant script that does the same takes about 10 minutes to build. What am I missing? ...

Is there any keyboard shorcut available for "Go Into" in eclipse 3.5 tool?

I just wanted to know about, Is there any keyboard shortcut key available for the "Go Into" option into the eclipse 3.5 IDE. Any help will be really appreciate. See below this screen shot if you can figure out the answer. ...