eclipse

No R class is generated

The automatic generation of the R class does not work anymore. I have tried Project -> Clean... A warning on all xml files has also showed up: “No grammar constraints (DTD or XML schema) detected for the document.” Maybe that is why the code generation have stoped. Any idea how to get the R class generated again? ...

Problems with Android SDK and Eclipse (Windows 7 32bit)

Hi , before posting I have searching around this forum and the web on one of my problems the Java build path error. Currently I am going through a Sams learn Android SDK in 24 hours book and cannot get past the first hour!!!! because of the problems As I mentioned before, I have read all suggestions I could find on the gen folder erro...

configure an eclipse based IDE

Hi There, I am new to programming. In fact this is my first job and it has been just a month. I work for a company who use Savvion as BPM tool to automate some process. It has an Eclipse based IDE. The way it works is that we can map business process using worksteps and linking those work steps. My question is how to configure that ...

eclipse recovering from crash

I had eclipse open when my computer crashed - now I've restarted and there are various errors in my project. It appears as if some files do not contain recently made changes. I am quite sure I saved everything before the crash. Does anyone know the best way to recover? ...

Getting the following build error: "the type {---} cannot be resolved. it is indirectly referenced from required .class files"

Hello... So, I have the following setup in Eclipse (Java): I have a project (lets call this "project 1") which provides an interface (which is package private) I have another project ("project 2") which contains a package from project 1... Classes in this package extend the package private interfaces in "project 1" and provide a nice ...

Problem with android

Booking.java This is part of my spinner code. public void onItemSelected(AdapterView<?> arg0, View v,int position, long id) { boolean result = Booking.this.myCursor.moveToPosition(position); if (result) { String title=Booking.this.myCursor.getString(2); Booking.this.txtArrival.setText(title); } } There is ...

Which Eclipse version: Java, RCP or "Eclipse Classic"?

The following link states that "A Java or RCP version of Eclipse is recommended. For Eclipse 3.5, the "Eclipse Classic" version is recommended." http://developer.android.com/sdk/installing.html However, Eclipse 3.6 is available and as a total newbie I am not sure whether the recommendation for "Eclipse Classic" over RCP (or Java) still...

skin and snippet in eclipse PDT

Is there a skin like textmate in eclipse pdt ? And also how to use snippet in eclipse ? for example if I want to insert full to including title,head,body etc. ALso how to make custom snippets ? ...

Using Eclipse's JDT, how does one get an IType from a class name?

Is there a simple, straightforward way to get an IType from a class name? I think there must be some static method somewhere. Basically, I'd like to do something like: IType objectType = Somewhere.getType("java.lang.Object") Does anybody know of something like this? I have been searching in vain. ...

How to fold or hide setters and getters in Eclipse?

The problem is that, there're two much setters and getters messing up the source code editor, I have to scroll up and down and distinguish where are the demarcation of the business methods. Is there a plugin that I can hide or fold setters and getters? I know there're some libraries can eliminate setters and getters by using annotation...

How to put breakpoint in class without having it's source?

I have a web application where I need to find all classes that accesses the http request object (because one of them is causing a hard to find bug). Therefore I would like to put breakpoint in some of the methods of ServletRequest implementation. This implementation is however provided by Weblogic for which I don't have sources. How can ...

How do you activate Mylyn in the current Eclipse perspective?

I installed Mylyn but it doesn't seem to be activated in my current perspective. How do I do this? ...

! symbol infront of project in eclipse even if there are no errors

I am using Eclipse Java EE IDE for Web Developers. Version: Helios Release Build id: 20100617-1415 It gives me an ! mark in front of the package icon in the Package explorer at times all of a sudden even though there is no error in the files. I am unable to build the project. I tried clean up and build again but it's not working. Here ...

issue in retriving the height and width

hi all, I have developed an application in the blackberry in which it have to be build in any model of blackberry, the application in which i have developed does not show some icon which are in border, can any body help how to get the height and width of the mobile in the blackberry ...

Using web2py on Eclipse

I am trying to use the steps I found on the net to make web2py work on Eclipse, but I must have something setup wrong because Eclipse gives me error on the imports. For instance the instructions say to do this at the top of controllers: if 0: from gluon.globals import * from gluon.html import * from gluon....

How to make Eclipse to format JSP code properly?

I use code formatting command (Ctrl + Shift + F) a lot in Eclipse IDE. While this works pretty well for Java / CSS source codes, the JSP formatting is just sucks. Is there any plug-in available to make the JSP formatting better in Eclipse IDE? By formatting I mean proper indenting of JSP/HTML tags. ...

Unsatisfied Link Error in Blackberry/Java eclipse project

I've mangaed to get a suite of Junit tests running against a blackberry project by importing them as seperate projects in eclipse. 60 some-odd tests run correctly without any problems but 2 new ones that test behavior that uses the Arrays.sort native method are now throwing Unsatisfied Link Errors: java.lang.UnsatisfiedLinkError: net.ri...

profile eclipse in order to diagnose performance degradation after working with xml schema files?

I'm using Eclipse 3.5.2 with all the relevant updates on OS X Leopard. Lately I've noticed that whenever I work with XML schema files, the whole IDE bogs down. This persists even after I've closed all the XSDs I had open. When I say "the whole IDE" I mean even simple tasks like changing the focus from one open Java file to a different...

Beyond Compare as default diff tool in Eclipse when using Mercurial?

Is there any way to make Beyond Compare 3 the default diff tool in Eclipse? I'm using the Mercurial plugin and would like to use BC3 for diffing files and handling merge conflicts. I'm only able to find solutions when it comes to CVS or SVN when searching this site. ...

Double Clicking Highlighting

In Notepad++ if you double click a word to highlight it, all the occurrences of the word in the file are also highlighted, a feature that is quite handy for finding where variables are declared/used. Does the eclipse editor have this functionality? :) If so, how can I turn it on? ...