eclipse

Eclipse ignoring source when deploying webapp

Hey, I'm running eclipse with tomcat 5.5. For some unknown reason from one day to the other eclipse stoped compiling my beans and java files that are in the source folder. If I go to the work directory, I find all the JSP compiled, the folders of the packadges i have, but no classes compiled inside of them. Neither eclipse, nor tomcat ...

How to take emulator screen shots using Eclipse?

I need to take screen shots of an android application running on an emulator in Eclipse Galileo. Is there a built in feature for this or do I have to download a plugin of some sorts? ...

eclipse: changing the # of spaces to indent/unindent

How do I adjust the # of spaces added/removed by Eclipse when I hit Tab or Shift+Tab, for a given filetype? I am working on reStructuredText files (.rst) and want 2 spaces for those instead of 4. ...

Diagnosing 404 error issue with servlet (Eclipse and Glassfish 3)

I am in the process of writing a Java web app and am having issues getting my servlet to work properly. This is from my web.xml file: <servlet> <description>Called to process any forms on the website</description> <display-name>Form Processing Servlet</display-name> <servlet-name>FormAction</servlet-name> <servlet-cla...

if I open my spring app in eclipse and netbeans, will they both create their own files?

If I open my application in both eclipse and netbeans (having created the file layout using maven), will both eclipse and netbeans create their own project file? I know netbeans has an option of opening an existing project, but not sure if it will add files to my project? ...

Is Eclipse platform independent?

Is eclipse platform independent? As per my knowledge, eclipse is written in java. If it is so eclipse should be platform independent. But there are different eclipse for different OS??? ...

WAR files and Subversion

Hi How should I handle WAR files (using GWT) along with Subversion in Eclipse? The problem atm. is when adding the war folder to SVN, it includes all the compiled code, which I don't have a option to filter out, making svn checkouts long and pointless. I don't want my compiled class files on my subversion server, and I don't want svn ...

How to stop Eclipse IDE from trying to download DTDs for validation?

I have a XHTML-file using the following doctype-definition: `<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;` Eclipse is trying to validate the file by using the referenced dtd file, which results in this error: ParseException: Error validating the model: Se...

Error in using Hadoop MapReduce in Eclipse

When I executed a MapReduce program in Eclipse using Hadoop, I got the below error. It has to be some change in path, but I'm not able to figure it out. Any idea? 16:35:39 INFO mapred.JobClient: Task Id : attempt_201001151609_0001_m_000006_0, Status : FAILED java.io.FileNotFoundException: File C:/tmp/hadoop-Shwe/mapred/local/taskTracker...

Can i use/import eclipse formatter in netbeans ?

We are using eclipse since long time. We have formater for each of our project. Now, some of us are moving to netbeans. Is it possible to migrate / sync / import eclipse formater to netbeans ? I tried importing eclipse project in netbeans. It does not import formater we used. ...

Source not found Android?

dear friends, am facing a problem in Eclipse android development tool Source not found EDIT SOURCE LOOKUP PATH while i debug code in class Instrumentation.class at line @param info ActivityInfo from the manifest above error is raised. can any one guide me how to resolve this issue?? i am new to android development.. ...

How to merge large projects in Eclipse?

I've been working with branches for quite some time now, but I always used command-line tools to do the actual merging. However, now I need to do it from Eclipse only. Branching and merging being a widely used feature of SCM systems for many years now, I expected Eclipse to have good had support for it, but it just doesn't seem to be the...

Eclipse "Creation of Element Failed"

I'm using WID 6.1, built on Eclipse 3.x. When trying to right click a folder, New->Class, type a name for the class, then click Finish, I get the error "Creation of element failed. org.xml.sax.SAXParseException: Premature end of file." I recreated my workspace yesterday when this happened, but now it's happening again. Rein...

Eclipse: export to .jar AND include resource files (ANT)

Hi Our project in eclipse approximately shows the following folders: application - src - JRE System Library [1.6] - Referenced Libraries - lib - rsc In our project, we would like to use File > Export... > Executable JAR Well that works fine, with some exception: If we want to run our application.jar, we still nee...

For someone coming from Visual Studio/C# background and wants to learn Java - Which should I get: Netbeans or Eclipse?

I'm looking for the following: A nice debugger that allows me to easily view variable values if I use breakpoints. Works very nicely in Windows 7. Has something similar to the Toolbox pane in Visual Studio. Built in intellisense, and code completion with the TAB key. Long term support. I mean something that will last and stay in act...

Google Map View Error when running - Droid

I want to learn some programming for my android phone. I was successful doing the hello world app. Now I wanted to try the mapview found here: http://developer.android.com/resources/tutorials/views/hello-mapview.html My code is the following: package com.example.hellomapview; import android.os.Bundle; import android.widget.LinearLayou...

Eclipse: Exclude specific packages when autocompleting a class name

When auto-completing a class name in Eclipse, e.g. if you type: ListITab A pop-up menu appears offering you matching class names for completion (which you can select with the mouse or by using the arrow keys: In this example I almost certainly want java.util.ListIterator and the probability that com.sun.xml.internal.bind.v2.runtime....

Changing Eclipse project to use Maven?

My boss asked me to convert one of our projects to use Maven to build. So I created a pom.xml file and now Maven builds the project fine and runs all the tests and everything. "Fine", my boss said, "We don't need these any more" and he deleted the /libs directory from the project, and he deleted the JRE from the classpath. That's fine...

Current state of Git support in Eclipse

What's the current state of Git support in Eclipse? The EGit downloads page looks empty. I'd like to give Git a try for a new project, but I need to know how well it works with Eclipse right now. If it's likely to cause huge pain I'd rather stick with Subversion. Anybody out there happily using Git and Eclipse? Anybody who tried it rec...

After partioning an eclipse project in a few modules build performance degraded

The project currently has only 3 modules with following dependencies: main +-> subsystem -> shared +-> shared After partioning around 3.000 classes compilation takes 3 minutes instead of 30 seconds (before partioning). I would like to split the main project into further modules. It seems that something causes eclipse to do a full...