eclipse

Getting Invalid at the top level of the document. Error processing resource 'http://localhost:8080/AjaxDecoder/response'. Line 1, ...

Getting the following error when loading the URL in the browser: The XML page cannot be displayed Invalid at the top level of the document. Error processing resource 'http://localhost:8080/AjaxDecoder/response'. Line 1, ... Using Eclipse with Tomcat integrated. My web.xml file is: <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, I...

Error with spinner

There is an error when i run my android program. My Booking.java package one.two; import android.app.ListActivity; import android.database.Cursor; import android.os.Bundle; import android.widget.SimpleCursorAdapter; import android.widget.Spinner; public class Booking extends ListActivity { private DBAdapter db; /** Called w...

eclipse: auto build after save

Hi, I have an ant script that creates runnable jar and I want it to run each time I make changes in my code and save them. I guess I need some "auto build after save" option in eclipse. Is there such a thing? Thanks, Dave ...

column _id does not exist

Hi, the error in my logcat is such Logcat 08-29 08:20:57.961: ERROR/AndroidRuntime(1766): java.lang.RuntimeException: Unable to start activity ComponentInfo{one.two/one.two.Booking}: java.lang.IllegalArgumentException: column '_id' does not exist 08-29 08:20:57.961: ERROR/AndroidRuntime(1766): at android.app.ActivityThread.performL...

Eclipse Hellios 3.6

I have installed Google plugin on Eclipse 3.6, but I can't create web applications because of an error (and a large error log file is created). What is reason for these errors? Here was a full list, but I have deleted it because of the maximum 30000 characters. I have left this part: !SESSION 2010-06-23 09:50:36.994 -------------------...

Which Eclipse IDE to use for android development?

Hi all, I want to know which Eclipse IDE to use for android development. The following url http://www.eclipse.org/downloads/ shows a lot of option. Right now i am using Mac OS X v 10.6.4. ...

Reading Resources correctly in Eclipse with Java

Hi Guys, I try to load a property-file that is here <project>/resource/text/translation_en.properties With the following code (in a static context, no Objects are initialized from me right now): <This_Classes_name>.class.getResourceAsStream("/resource/text/translation_en.properties"); Why do I load it this way? First I use the cla...

Eclipse and PyDev

I want to start using Eclipse with the PyDev plugin, as recommended by this poster. The PyDev download page says I need Eclipse (3.2 to 3.5) and that I can use the Platform Runtime Binary. Can I also use Eclipse 3.5.2 (or maybe even 3.6) instead of 3.5? Where can I find the Platform Runtime Binary? I'm a little bit lost in the Eclips...

eclipse with GWT

when i am going to create web application and writing package name for example com.example.helloworld it writes following errors The selected App Engine SDK is not valid: SDK directory 'C:\Users\David\AppData\Local\Temp\Rar$EX00.443\eclipse\plugins what it means? ...

AVD Emulator Error when starting

I am a beginner android developer and I had followed the instructions in the Quick Start and SDK Setup. After following all the steps I attempted to run the Hello World sample application and when I run the project, I get the standard "emulator.exe has encountered a problem and needs to close." box. I tried running the avd that I creat...

Compiling C++ program for Linux in Windows using Eclipse?

I wanted to know if it is possible to write and debug a C++ application for Linux in Windows using Eclipse? If so could you point me in the right direction for configuring Eclipse? Thanks ...

How do I make Eclipse recognize JUnit tests when creating a suite?

When I use Eclipse to create a JUnit test suite, it does not detect any existing tests, and warns "No test classes selected." I started from the test class package (test/com/.../package), and the package is selected. There are several JUnit tests there, also created through the same version of Eclipse, but there is no way to select the...

wsdlc Ant task ignores constraints

Hi all, I'm attempting to create a web services project using eclipse with the Oracle Enterprise Pack. When generating the web services from a WSDL document using the wsdlc Ant task, all the restrictions/constraints in the WSDL are completely ignored. Is there a way to generate POJO's with built-in constraints such as minoccurs=1 or f...

Tomcat STDOUT as Error in Eclipse

Hi, I am configuring Tomcat (5.5) server in Eclipse (3.3.2). Once I add Tomcat and start it, the output is printed in Eclipse Console. This output is printed in RED indicating its Standard Error. Although the server gets started without any error the normal INFO is also marked as error. Jul 29, 2010 7:06:14 PM org.apache.catalina.core.A...

Java EE Module Dependencies in web project?

Hey guys, I have this webprojec to which I have to add a jar from another EJB project. Normally I'd right-click the webproject and go to properties -> Java EE Module Dependencies. I don't know if it is because I upgraded eclipse, or i'm doing something wrong, but I just can't find the "Java EE Module Dependencies" in the properties wind...

How to understand Open Source projects/libraries?

There are few open source projects/APIs/libraries that we use in our project (Spring, Struts, iBatis etc.) and I want to understand their design and how they work internally. What is the best way to understand these projects? Note that I am already using these libraries in my project. And I know the input-output interaction/configuratio...

Eclipse subsersive - delete a file but keep it locally

Hello everybody, my question is in the title. How can I delete a file from the repository but keeping it locally ? In other words, an eclipse subsersive equivalent to the "svn --keep-local" command line When I right-click on my file, the only Delete item I can found is even not in the TEAM menu but in the general file menu. By delet...

Android SDK plug-in appears to impact Eclipse heavily

Am I the only Eclipse developer whose workbench quickly sputters, wheezes, crashes or hangs and makes me use Windows 7 Task Manager to hard-bounce it? I've got dedicated, Android-only (as it were) installations of Eclipse Helios (3.6) and Galileo (3.5) with the very latest Android SDK (0.9.7.v201005071157-36220) using android-sdk_r06-wi...

Eclipse CDT: Loading debug symbols for an external shared libraries

Hi, I'm trying to debug into a third-party library (GTS). I installed the shared library and its debugging symbols from the Synaptic Package Manager in Ubuntu. I also downloaded the source files for the library from Sourceforge. I'm using Eclipse CDT to debug one the provided examples, and I would like to go into the library's code. Th...

Attempting to remove an object off screen moves all the objects in play?! - Android. Please Help!!

Hi there I am building an android game where objects randomly come in from either side of the screen towards a sprite in the middle of the screen. When one passes the tripwire on the central sprite it is dealt with by my collision detection which sets the enemy objects co-ordinates to somewhere off the screen, thats desired but as this ...