eclipse

Does eclipse have a debugger "step into selected" option that prompts for the method to step into?

I have used IntelliJ Idea on a few projects and I really like the feature it has in the debugger where I can step into a line of code, but choose which of the methods I REALLY want to step into, instead of going through them all until I hit the one I want. For example, the debugger stops at this line: String restult = getMyResult(getPa...

Difference between export to a jar and running directly in eclipse

I am writing a java program, and I have a test to see what is the performance of my program. While it has difference result when I run it directly in eclipse and export to a jar. Running directly in eclipse is 2 times faster. Can anyone tell me about the difference between: 1. Run from eclipse 2. export to jar ...

Passing object to method in java appears to be by reference (and Java is by val)

I thought when you passed objects to methods in Java, they were supposed to be by value. Here is my code: public class MyClass{ int mRows; int mCols; Tile mTiles[][]; //Custom class //Constructor public MyClass(Tile[][] tiles, int rows, int cols) { mRows = rows; mCols = cols; mTiles = n...

Problem Installing Eclipse on Ubuntu

I downloaded the Eclipse IDE for Java Developers Linux 32 Bit file from here. I extracted the file and launched eclipse from the command line. Instead of Eclipse starting I get this message in a dialog box: VM terminated. Exit code=13 /usr/bin/java -Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx384m -jar /home/justme/...

Do developers actually use vim to write code (Java) on a Windows OS?

...or is vi/vim only used when developing on a non-Windows OS? If not, what feature(s) does vim provide that modern IDEs such as Eclipse do not? Why would one elect to use vim over Eclipse (or IntelliJ, Websphere, or other feature-rich IDEs) when developing on a Windows workstation? Note that I'm referring to Java development and to som...

Can I create Project Template on Eclipse like on Visual Studio

Visual Studio can easily create a project template from an existing project by exporting project template and it will magically appears in visual studio template directory and in IDE. Does Eclipse have such a feature ? ...

How to run JUnit Eclipse Plugin tests with JMock?

Hello, I have Eclipse plug-in and junit tests for it, which are using jMock library. When I run my test 'as junit', all tests are running correctly. But when I run them 'as JUnit plugin test' I'm getting the following error: java.lang.TypeNotPresentException: Type [unknown] not present at sun.reflect.annotation.TypeNotPresentException...

How can I remember editors when Perspective change

I have two Perspectives and two editor part each. When preperspective changed to postperspective , the editor opend is closed . then changed again to preperspective , no editor can be recovered. How can I rememver the Editor Opend , even when changing perspective occured. and can I recover it again? ...

PHP Eclipse cannot open local PHP file!

I click on file, select to open it with Eclipse, Eclipse opens but the file is not showing. Just empty Eclipse. Manual opening via 'File->Open file' works. Also when I want to open remote file via Filezilla (files are on a remote ftp server), Eclipse opens as well but the file is not loaded. I use Eclipse PHP, Helios Release, Build id: 2...

Where does jdo data go while running a war google appengine app in eclipse?

I'm using eclipse and google appengine plugin to develop a war app. I'm trying to use JDO persistency (per appengine rules). I'd like to be able to inspect, add and remove jdo objects my app uses. Is that possible? If so, how? ...

How protect/license an Eclipse RCP feature/product?

How can I protect an Eclipse RCP based product? What I would like to do is ask for a licence key to the user and avoid adding more plugins or changing plugins that aren't 'signed by me'. Is there some plug-in to do this? Or should I use an external lincense tool like License3j or truelicense? ...

How can I tell TFS to give me the entire project how it was at THIS specific changeset?

I'm using Eclipse with the TFS plugin and I used Team -> Get Latest Version and it download some newer additions from my colleague. Now some of his code isn't working and I can no longer build the application to test because of the errors in his code. How can I tell the client to download the Entire application from TFS at THIS SPECIFIC...

Add a new activity to the AndroidManifest?

I'm on a new android project - just a simple one. I have three "tabs" (activity1,2,3) with different tasks. Anyways, how do I add these 3 activities do the AndroidManifest? my manifest; </application> <uses-sdk android:minSdkVersion="4" /> Yeah,...

How to create custom home screen

I've downloaded the source for both google's default home screen and adw. I created a project in Eclipse and used those sources. However, I can not compile the code as there are quite a few errors. Does anyone know how to do this correctly? Do I need to add all of the google code to my project? (I asked the same question in another t...

Moving a project source directory in eclipse under mercurial revision control

I hope this is OK to ask here instead of superuser since I get very little response there to very specific questions like this. I have a project that's under mercurial revision control and I'd like to move where it is located on my computer (from ~/workspace to ~/Dropbox/Projects). But if I move the project and then re-import it, it los...

StackOverflowError while Refactoring

I'm trying to refactor a package name (pretty near the root of the project hierarchy), and I'm getting the following error (flash builder 4): A fatal error occurred while performing the refactoring An unexpected exception occurred while creating a change object. See the error log for more details. The log file looks like this.... !...

Change background color of UI elements in eclipse IDE

I am using Eclipse 3.5 IDE on Fedora linux. Too much white or light gray color is hurtful to my eyes. I managed to change the background of editor and console window to black but nothing else so I am still seeing 30 to 40% space as not black. How do I change the background color of package explorer? If not possible then how to hack int...

Eclipse BIRT 2.6.0 P2 Update site?

I just updated my eclipse to the new Helios SR1 version and now my reporting version is 2.6.1. But I need to use version 2.6.0 to make an older application work. Is it possible to add an eclipse helios update site that contains the 2.6.0 version without installing the "old" version of eclipse? ...

Android - How to load HelloWorld app onto my Phone?

I made an Android Hello world app and I'm trying to load it onto my HTC Incredible. I believe it has 2.2 (how do I confirm that?) Anyway, Eclipse gives me this message and then brings up the window in the screenshot below. Automatic Target Mode: Unable to detect device compatibility. Please select a target device. I'm on Ubun...

OpenCMS production practices

I'm (very) new to OpenCMS, and so is everyone else on my team. We've just started a new project and we're using OpenCMS. Right now we have an instance of OpenCMS running on each developer's machine, as well as a production server. We're using Eclipse/CVS for source control, but propagating changes to a different machine does not prop...