eclipse

Android Emulator Debugging, Code will not Update

I'm having a troubling problem testing some code for and Android app. My app has two parts, and activity where the user changes some settings, and a broadcast receiver that responds to SMS messages, both in the same package. Here's the problem, I first implemented some simple code to test out the broadcast receiver and the activity, an...

How to Install Visual Editor on Eclipse Helios?

Hey, I use Eclipse Helios in Ubuntu, and I'd like to install a plugin for eclipse that works with swing. So, I found visual editor in this site http://www.eclipse.org/vep/downloads/, and I downloaded it. Now, I'd like to know hoe to install it. I tryied going in Help>Install new Software, but nothing. So if someone could help me with thi...

eclipse debugger - stepping over only one method within another

how come that when the debugger pointer is on this line " object1.method1(object2.method2()); " stepping over skips both of the methods, instead of just the method2 ? I always have to step into the method2 if I want then to step into method1. Usually method2 is some kind of low level stuff I'm not interested in. ...

An internal error occurred while processing dirty regions

I got this error message in Eclipse today. Any idea what went wrong? ...

Android: How can I use the Button background(style)

I want to use the button style on another control. How can I call that bg? ...

Makefile for java

I am running Eclipse in windows for doing my homeworks. I have to submit a makefile so that my code (singlefile.java) can be compiled. How can I do this. I found this. Can it be tested on windows. EDIT: As per the suggestions, I installed gnu make for windows: My make file is as follows: JFLAGS = -g JC = javac # .SUFFIXES: .java .cla...

How to display parent(s) methods/variables in Outline?

The Eclipse Outline View only displays the active class's methods/variables. Is it possible to/How do I also display the active class's parent class's methods/variables (and maybe that class's parent's methods/variables, and so on) in the Outline View? ...

eclipse: change jre that is used to run ant

hello, is it possible to change the JRE (from 64bit to 32bit) that is used to run ant from inside eclipse? if yes, how? thanks! ...

Eclipse PDT is freezing from time to time

I am usign Eclipse PDT Helios and it sometimes freezes for 2-3 seconds even when working with small PHP files, like 10 rows without any includes in them or any complex statement that may cause a problem while parsing. My machine has more than 3GB RAM and I have setup the HEAP size to 990MB. The CPU is Intel E7500 2.9Ghz. What could be ...

Is there a way in Eclipse to create shortcuts for commonly typed phrases?

It's often a bit of a pain to type something like MY_LOGGER_SET_CATEGORY(LOGGING_CATEGORY); That would make sense to assign a shortcut like CTRL + X + S which can easily be done in editors like VIM, for example. I was wondering if there exists a plug-in or a feature to do similar in Eclipse? ...

How to find type specific references to equals() in the workspace in Eclipse?

I've got a class which overrides equals() and I want to see where this equals method is being used in the workspace. Using Eclipse, I generally do Ctrl-Shift-g which finds all references in the workspace. Unfortunately, for equals(), its pulling back every single reference of equals in my workspace from any type, not just the one where...

I can't update Eclipse 3.5 up to 3.6. If I install 3.6 over it, will I retain my plugins?

Hi All, When I go to Help->Check for Updates in Eclipse, it checks all the repositories and says "Nothing to update", but my Eclipse version is 3.5.2.R35... I am trying to install the eclim plugin and that requires Eclipse 3.6.x. If I install Eclipse 3.6 from the eclipse.org website, would that preserve the plugins and configuration I c...

Android emulators not simulating correct density or resolution. Possibly a surfaceview implementation issue.

I’m building a small app that is using a surfaceview class that extends surfaceholder.callback. It is implemented just like the lunarlander example. My problem is that each type of emulator I use (low, medium or high density) doesn’t seem to actually change the density of the screen or the resolution to what I would expect. I recently...

Use sun.* classes in Eclipse Java project

I was sent some Java code that uses classes in the sun.awt.shell package, which is not part of the JDK public API, so Eclipse will not compile the project: Access restriction: The method getIcon(boolean) from the type ShellFolder is not accessible due to restriction on required library /System/Library/Frameworks/JavaVM.framework/Vers...

Define Eclipse project encoding as UTF-8 from Maven

Hi, I want to have the encoding of my project's file to be set to UTF-8. Following maven FAQ answer, I set the project.build.sourceEncoding property to UTF-8. unfortunatly, it has no effect. Then, by looking at a m2eclipse JIRA, I tried a workaround by defining compiler plugin sourceEncoding, but it neither worked, as I try to do that ...

Where can I find the Eclipse Plugin for GWT 2.1 RC1?

I can't seem to find the Eclipse Plugin for GWT 2.1.0.RC1. GWT's site points me to the main update site... http://dl.google.com/eclipse/plugin/3.6 ...but this pulls the most recent GWT SDK: 2.0.4, not 2.1.0.RC1. I googled around for a while, but could not find either the update site to download from Eclipse, nor the SVN url to get ch...

Android App Launch Creates Blank xml File

I launch my app from Eclipse on an emulator and Eclipse creates a new blank file called main.out.xml then refuses to launch because this new file is blank. What is causing this? What do I do about it? ...

Using Eclipse for Android App: App won't install freshly because it's already on the device.

Is there any way to always do a fresh install when I'm "Running" my Android app for testing on either a real device or an emulator. It always tells me "No need to install because application is already on device", then just launches the main Intent. Any ideas? Thanks! ...

Why does Eclipse not deploy dependency to Glassfish?

I am using Eclipse Helios, Glassfish 3.0.1 (Full Platform) and myfaces 2.0 . There a two projects in the workspace: A simple Java project (=> JP) and a dynamic web project (=> WP). I added JP to the classpath of WP. I added one class from JP as a managed bean to the faces-config.xml file of WP. <managed-bean> <managed-bean-name>m...

Format freemarker files in Eclipse

Hi, Actually we have freemarker files (ftl) under Eclipse + Freemarker plugin (from JBoss). Do you know a way to format ftl files ? Thanks ...