eclipse

OS X 10.6.4 + Eclipse 3.5 + latest CDT not outputting cout/printf to console.

I spend most of my time in Eclipse these days, so I thought I would check out what Eclipse's C++ support was like (I usually use Xcode on Mac and Visual Studio for Windows). I found the CDT package for Eclipse 3.5, so I installed it. Everything installed properly and the default C++ "Hello World" project compiled nicely, however for th...

Eclipse memory allocation problem

Hi, I'm trying to analyse a ~800mb heap dump, which requires a bigger heap than the standard for my eclipse. however, when I go to the eclipse.ini file and set a -Xmx2g (or -Xmx2048m) I get an error "Failed to create the Java Virtual Machine". 1) yes, I have enough memory. 2) I can change it up to exactly -Xmx976m. 3) I've tried the st...

Including external jar-files in a new jar-file build with Ant

Hi, I have just 'inherited' a Java-project and not coming from a Java-background I am a little lost at times. Eclipse is used to debug and run the application during development. I have through Eclipse succeeded in creating a .jar-file that 'includes' all the required external jars like Log4J, xmlrpc-server, etc. This big .jar can then ...

Android emulator

How can i test touch enable app using eclipse with android emulator? Plc help me..... ...

Slow Buckminster plugin resolution

I am running a headless Buckminster build using ant that for some reason is taking 4+ hours to finish resolving all the plugins that need to be built. There are about 350 plugins that need to be built, all of which are already on the local filesystem and are provided in a rmap file as "local" providers. I have tried increasing the logg...

With latest Android sdks, is there still a Google Apis build target for Android 1.5?

I'm configuring a new machine for Android development and moving my current project over. I did a fresh install of all the Android tools and SDKs, and under "build targets", the Google APIs' target supports Android 2.2. Of course I need 1.5 as the base build target. My project doesn't build when I select that because the Google Maps stu...

Eclipse: Navigate to inheritor / base declaration

In Visual Studio + Resharper, I could hit Alt+Home to go from a method to the corresponding base class or interface declaration, and Alt+End to go from a base declaration to the implementation in a derived class. I could navigate source code pretty quickly, even when everything used interfaces rather than concrete classes. Is this doabl...

how to totally delete eclipse and start over (os x)?

I've having some problems with my eclipse set-up, and I'm thinking of just deleting it and starting again from scratch. If I delete my workspace directory, and the eclipse.app from the applications folder, will that get everything, or are there some extra hidden files somewhere I have to worry about? I'm on OS X. ...

A project with that name already exists in the workspace eclipse

I'm new to Eclipse/Java/Android I have already created this project, but I wanted to start over. deleted the HelloAndroid folder from my workspace folder restarted Eclipse now I can't create a project with the same name, because Finish is greyed out, and it gives me the following message: A project with that name already exists in the...

How do I edit project settings for an existing project in Eclipse?

I'm new to Eclipse/Java/Android I can create a new project using the New Android Project wizard shown below. However, if I wanted to go back and edit some of these settings after I click Finish, how would I do that? ...

Getting Errors and Warning to show In Eclipse via Maven

I'm using the m2eclipse plugin for eclipse to build my project, but I miss having the errors and warning of my build show up in the Problems tab. I use a maven project builder to build my project and don't use the default java builder in eclipse. I would really love a way to get all the errors and warnings that I can see when editing a...

SWT StyledText - How To Indent/Un-Indent Selected Text With Tab Or Shift+Tab Keys

Using the Eclipse SWT StyledText widget, how can you indent/un-indent a selected block of text with the tab or shift+tab keys? ...

In java, how do you import one project into another without having them in the same (Eclipse) workspace?

I've been a c++ programmer for 10 years, i'm used to just creating libraries and then linking to them from my existing project. However in java, i have 2 projects, one is my game engine, the other is the test environment that i would like to use, here is how it is structured: com.logic.engine com.logic.testapp yet in my test app, i ca...

Managing Markers panel in Eclipse

I've got an error showing in the Markers panel that doesn't actually affect anything. Is there a way to officially ignore it so I can stop looking at that red x? FWIW, the error is an XML problem: Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.0.xsd). For more information, right click on t...

Eclipse Command Line Java

[if this is a dupe, tell me and I'll delete it immediately] I would like to see the command that Eclipse is running when I hit run for a Java program. I've looked around the Eclipse preferences for Run/Debug (and console) and the Run Configurations, but to no avail. How can I see the line that Eclipse is using to launch? In JBuilder, i...

Can I run the Eclipse c++ Formatters from the command line

I found this page which shows how to run the Java formatter but I cannot find similar resources to run the built-in C/C++ formatters. It is possible To do this? ...

How would you write a library to be used on android?

I've already written a game engine in java using eclipse and opengl es, I had one project (an android project) which contained both of my packages com.logic.engine com.logic.testapp I wanted a way to keep my engine and test app seperate, I've made an earlier post about how this is done, and I figured out how to reference one project in...

Android XML layouts: Eclipse spits out a cryptic error message

This is my first time making an app with XML layouts. In the past I have always dynamically generated my layouts at runtime, so don't worry, I am NOT an Android newbie. Still, this is my first time with static layouts. So what's this message all about? [2010-09-22 20:43:23 - Rockport] 'default' is not a best match for any device/loca...

Android: How to reference a library project from an Eclipse ADT application project?

I have a project that is compiles but throws a NoClassDefFoundError on a classname included from a sibling library project, but only when built from Eclipse. When I build the project from the ant file, it runs just fine. How do I tell the Eclipse build system that my application's .apk needs a copy of the .class files from the library ...

Eclipse just does not start up

I recently uninstalled and then reinstalled Java on my machine and ever since, Eclipse just does not start up. I find this weird, because I uninstalled a different version of Java from the one that I use. I modified the eclipse.ini file, by adding the following: -vm C:\Program Files (x86)\Java\jre1.5.0_15\bin\javaw.exe This made no d...