eclipse

Problem importing Android project archives into Eclipse

My apologies if this is a stupid newbie question... I'm using Eclipse (Helios release) and have the Android SDK all configured as per the developer.android.com recommendations. I can create and run new projects without any problem but I can't import archived project code samples (found on the web etc.) using Import > Existing Projects I...

Moving one word to left or right on Mac (in Eclipse)

We all love our keyboard shortcuts and on a Windows machine two of my most commonly used combos are Ctrl + left/right or Ctrl-Shift + left/right. I find these speed my development quite a bit. Now on a Mac you can Cmd + left/right which grabs the whole line. And in some apps Option + left/right will navigate a word at a time. I find in ...

Hadoop and Eclipse

Hi, i'm trying to implement PageRank algorithm on Hadoop platform with Eclipse, but I'm facing some unusual problems :). I tried locally: installed cygwin, set up Hadoop 0.19.2 (and 0.18.0), started the necessary daemons and installed Eclipse 3.3.1. I uploaded testinf .txt file and then tried to run the WordCount example or even a simpl...

I have eclipse with pydev and i set the background to black and text white. now when i click on any word, is highlighted in a yellow color

I have eclipse with pydev and i set the background to black and text white. now when i click on any word, is highlighted in a yellow color and i don't know how to change this yellow color to another. please help ...

Eclipse Helios plug in behemoth (I like to write behemoth on everything)

Hi, just changed from Netbeans to Eclipse just for fun (Only developer on the company, So I can code on whatever and with whatever I feel like.) That's why I liked the new version of netBeans over vim, it could load resources or plugins, I am not quite aware of their naming conventions, on demand. For example if you were working on a Gra...

Android Question - Please explain Android ID's to me?

I am still trying to figure out frame animation, but I need to use IDs. I don't get it... I get the wierdest errors... <?xml version="1.0" encoding="UTF-8"?> <animation-list xmlns:android="http://schemas.android.com/apk/res/android" android:oneshot="false" android:id="@+id/carrotsmileanim"> <item android:drawable="@drawable/carrotsmil...

BIRT - PDF report creation from a Linux platfrom

I am trying to call BIRT API in linux environment. My source is an XML file and i create html, xml and pdf reports on that source XML. My html and xml reports generates properly, but PDF report is created with size '0' (no contents). However if i run the same program from a windows system, PDF report is created properly. Is BIRT havi...

No data shown on listview

Here is my Arrival.java package one.two; import java.io.IOException; import java.util.ArrayList; import java.util.List; import android.app.ListActivity; import android.database.Cursor; import android.os.Bundle; import android.widget.ArrayAdapter; import android.widget.ListView; import android.widget.SimpleCursorAdapter; public class ...

Eclipse 3.4 Vs Eclipse 3.6.

Which one is better and in what way because I do use FindBugs, PMD reports and CheckStyles plugins along with code coverage plugin. If anyone could guide me please let me know. ...

Eclipse: Working with Systemresources

Hello all Based on feedback from http://stackoverflow.com/questions/861500/url-to-load-resources-from-the-classpath-in-java i have changed my project, to include my image resources into Images.jar My project setup is now /program.jar /Images.jar In my code i load my images using InputStream connectedImage = ClassLoader.getSystemRes...

Eclipse Ganymede javascript editor uses huge memory

Hi, I am new to here, but I wish someone can help me resolve the problem: version: 3.5 OS: Win 7 64bit JVM 1.6 I am using the javascript editor to write some code using YUI package, and seems it uses extremely huge amount of memory. Even when I put the mouse cursor on a variable, it will put up about 100M, so it runs to 1G very soon.....

Eclipse Maven Plugin Configuration Problem

I have followed this thread now when i try to build using maven plugin installed i am getting following error. goal i executed was clean -X install Unable to locate the Javac Compiler in: C:\Program Files\Java\jre6\..\lib\tools.jar Please ensure you are using JDK 1.4 or above and not a JRE (the com.sun.tools.javac.Main class is requi...

Is it possible to automaticly rename the unit test class when renaming the class who's tested in eclipse?

I often use the refactor -> rename functionality in eclipse and I also have the habit of naming the associated unit test TestedClassNameTest. But when I rename my tested class I must not forget to rename my unitTest. It would be extremely useful to rename my unit test automatically when the tested class is renamed. I guess it wouldn't b...

Can Eclipse indent new line with 1 tab after JavaScript array initializer?

I'm using Eclipse to edit JavaScript files and I guess I'm "doing it wrong". Given the following code, where » represents a tab, · represents a space, and | represents the cursor: function·foo()·{ » var·baz·=·[| } If I hit enter at this point, I get function·foo()·{ » var·baz·=·[ » ···········| } Yuck. I would much rather g...

Eclipse Will Not Recognize Quotation Marks?

This was my code: <android:id="@+id/carrotsmileanim></android:id> I fixed it because it was missing a quotation mark, but now eclipse won't recognize the quotiations nor the @ sign! What do I do?!? ...

Cannot be resolved or is not a field (Notepad exercises from android dev website)

I'm running through the notepad exercises on the android dev website, currently working on exercise (found here http://developer.android.com/resources/tutorials/notepad/notepad-ex2.html). I came to the end of the tutorial and found that I had several errors in the main two java files regaurding R file relations, such as 'setContentView(R...

Eclipse - netbeans style tab template completion

In NetBeans I can set up a bunch of templates such that typing psvm tab expands to public static void main(String[] args) { } I see that Eclipse also has templates, but they are triggered in a different way - Ctrl-Space. But I don't see a way that you can have the template automatically triggered -instead, a popup appears and you ...

my eclipse stopped working today

Hi everyone Today I was running into problems with eclipse, like every time I closed a project a window popped up saying something like "error saving workspace" and complaining about apache xerces. I decided to download a fresh install, and now it won't even start. I tried many variants (classic, javase, c++), hoping there was some dis...

Export runnable jar from eclipse while excluding some files but including libraries

I am trying to create a runnable jar from an Eclipse project. If I use the new "export runnable jar", as far as I can see there's no way to exclude specific files. (I have a properties file that I am using for testing but that I don't want included in the production jar because I want the user to provide his own properties file.) On th...

Most robust way to convert a CVS repository containing Eclipse projects to git?

I have a situation where I have an elderly CVS repository which we would like to convert to git once and for all while keeping full history etc. All folders at the root of the repository contains Eclipse projects (either plain or dynamic web projects) including .classpath and .project. We use Team ProjectSets to check out the projects ...