eclipse

Eclipse wont open Android Xml files

I'm just starting with Android and everything seems to be working fine, but when I try to look at any XML file in eclipse, I get the following error. The only way I can see them is by "Opening With" -> TextFile. org.eclipse.core.runtime.CoreException: Error opening the Android XML editor. Is the document an XML file? at com.android.id...

Is there a good way to add Equinox source to Eclipse to help debugging an OSGi bundle?

I am banging my head against a mess of JNI code and DLLs that we are trying to shoehorn into an OSGi bundle. It has been particularly hard to get good debugging info out of the system and I have spent too much time stepping through raw byte code trying to infer what is happening inside equinox--when I really don't care--I am just not ge...

Adding images to a JAR file in Eclipse?

I'm trying to make a game in java, but I'm a bit of a newb. The game has images, and when I run the application from eclipse, they all show up fine. But when I export the project as an application, the images don't show up. When I put the application in the same folder as the images, they show up when I run the application, so someone s...

Schema missing from eclipse plugin environment

I am getting this in my plugin perspective. I get a generic menu istead of specific items e.g. action, etc. My "Preferences / Plugin development / Target platform" looks like : When I go to edit it looks like : ...

How to copy a django project from one folder location to another?

Am using eclipse+pydev to build my django apps. I created a new workspace, built a new pydev project then created an empty folder in the new pydev project. In that empty folder i imported my old django application. Eclipse copied all the files & folders from my old django location to the new workspace. I made the necessary changes in th...

Using the Android SDK on a Mac, Eclipse is really slow. How can I speed it up?

I'm using Eclipse + the Android SDK on a Mac running Snow Leopard to develop Android apps. Thing is, Eclipse is really slow - like, it "beach balls" for a few seconds when changing tabs. Is there anything I can do to improve it's performance? ...

How come AXIS generates multiple classes with similar names?

How come when eclipse generates a web service client from a wsdl using AXIS, it creates for each method two classes one that is named DoSomething and one with an E appended to it like DoSomethingE. ...

Developing WLST scripts with Eclipse

We are in the process of developing several WLST (WebLogic Scripting Tool) scripts and we would like to setup a development environment. Has anybody managed to configure Eclipse PyDev (or another plugin) to support it? Do you know any other alternative? Thank you for your answers. ...

Shortcut key to Snippet in eclipse.

I use a lot code templates which are great and I do control-space - control-space and choose my templates (down/down etc...) I would like to have some code templates bind to a key for example the Template 'if' bind to control-meta i Do you know if that's it possible or is there a plugin for that? Thanks, ...

Why don't eclipse run configurations survive a merge?

I had some nice eclipse run configurations I had created while working on a branch in SVN. I then merged these changes back into the trunk, and now my eclipse run configurations are gone. Why? My eclipse configuration directory is totally separate from my svn directory. ...

Installing JavaMail using Eclipse JavaSE 1.6

Would someone please be able to explain to me how to properly install JavaMail and have it to execute in Eclipse please. I have been trying for the past few hours and I am completely lost as to why this is. This is from trying to execute their demo projects msgsend.java and msgshow.java. I either find an error message stating inval...

Deployment of Web Application with ECLIPSE

Hi everyone, I have developped a web dynamic application using JSP and servlet and I want to deploy it. How to do it with eclipse. how to do to launch the application. Thanks for help. ...

How to use Eclipse and versioning for a matrix of projects

Our company develop several software products, which reuse each others packages (we use Java). Every product represented as separate Eclipse Java project and has it's own versioning repository (we use Mercurial). When we find a bug in some shared package, we need to transfer changes to all consuming projects, and this is a hell. The key...

Eclipse + Android + JUnit test references android.os class = NoClassDefFoundError

I have a custom timer that extends android.os.CountDownTimer. I have a test in the test project (standard Android/Eclipse project config) that tests the custom Timer. When I run this test, I get: java.lang.NoClassDefFoundError: android/os/CountDownTimer   at java.lang.ClassLoader.defineClass1(Native Method)   at java.lang.ClassLo...

Activating Eclipse Django Editor on OS X

I installed a plugin for Eclipse called Django Editor. I can't figure out how to use it. The editor is not in my list of editors so I cannot do "Open with Django Editor" on a file nor associate a file extension with it. It appears nowhere in my preferences. How can I activate this editor? I am running Mac OS X 10.5.8 and Eclipse 3.5...

Eclipse for PHP, need to know the supporting files?

I have download eclipse for php in winodws, i am new to this, can anyone tell me, like how to run a php program in eclipse environment I need to know the dependencies, i need to install to run eclipse and also tutorial if possible, Regards, RAVI ...

Java can't find file when running through Eclipse

When I run a Java application that should be reading from a file in Eclipse, I get a java.io.FileNotFoundException, even though the file is in the correct directory. I can compile and run the application from the command line just fine; the problem only occurs in Eclipse, with more than one project and application. Is there a setting I...

Android Emulator won't run application started from eclipse

I have followed the "Hello World" example from Google's Android developer's guide. When I try to run the application in the SDK emulator, nothing happens. The emulator startd up nicely, but after that nothing happens. I can't even see the application in the app tray. I am using Eclipse with the Android add-on installed. ...

How to setup eclipse ide for php development with pre-existing source

I have been using Dreamweaver for my web development and would like to try out eclipse. I would like to keep the source files where they are now. What do I need to set for my workspace and then how do I set it to look at my existing files? ...

Visual Editor for eclipse

I made a class that represents a composite. I want this composite to take up all available space. How can I do this and have it show up full size in the designer? ...