eclipse

Eclipse Encoding MacRoman -> UTF8

Hi! I recently created a project, organized it and well... I used my Mac with Eclipse running. Somehow it stored everything in MacRoman. The project has to be UTF8. Is there any easy way to handle the conversions? ...

Get the value of a selected java field in a eclipse view.

Hi, I making a eclipse view that is working with selected elements from other views. Let say I have opened a java file in the editor that has the following fields in it: private String world = " world!" private String hello = "hello" + world; When I select "hello" in the Outline view I'm able to get IFiled selection and I have access to...

Suppress warnings in Zend Studio

In Eclipse writing Java, it's easy to suppress warnings on some scopes, by annotating a method or variable within the IDE. Is it possible to suppress warnings at scopes while writing PHP within Zend Studio 7.0? ...

Updated list of refactoring support for different IDEs

Does anyone know of an updated list of refactoring support for different IDEs? How many of Fowler's refactorings have tool support in popular IDEs? And does any IDE use code smells to any greater extent? I guess one would have to use addons for some IDEs, so even if I did find an updated list of refactoring support for say Eclipse, tha...

How to get GWT 2.0 and Restlet 2.0 to play nice

Hello, I am having trouble getting Restlet to play nice with GWT in the same project. I have been trying the examples from Restlets website to no avail I am using Eclipse, Maven2 plugin, GWT, and Restlet GWT. I have never used server side code in this GWT project before and I know there is some custom setup involved. I am deploying loc...

How can i make projects bound to eachother in eclipse?

Hi! I have 3 projects in Eclipse that are bound to eachother. With bound i mean this: Everytime i add a class in one of the projects, the other projects also updates themselves and add the class Now i want to add another project to these, but i don't know how to bind it together with the other projects. Any suggestions? Edit: Thi...

Unable to incorporate Eclispe JDT codeAssist facilities outside a Plug-in

Using Eclipse jdt facilities, you can traverse the AST of java code snippets as follows: ASTParser ASTparser = ASTParser.newParser(AST.JLS3); ASTparser.setSource("package x;class X{}".toCharArray()); ASTparser.createAST(null).accept(...); But when trying to perform code complete & code selection it seems that I have to do it in a plug...

Why does the Eclipse Package Explorer show the projects from two different workspaces on my Mac?

I've discovered a curious thing on my Mac. At some point I apparently created two different Eclipse workspaces, one in /Users/username/workspace and the other in /Users/username/Documents/workspace (this may have happened as a result of some troubleshooting a while ago). I never knew until now that anything was amiss because the conten...

How to make a reference to a normal java class from GWT server side

I am building my project using GWT plugin for Eclipse Galileo. When I was done with RPC between the server and client, I tried to make a reference in the GWT project to a normal Java class in non-GWT project, but everytime when I create an object of this class I get a ClassNotFoundException. I did the buildpath for the GWT project, but i...

How to attach a combobox in a status line in eclipse rcp application.

I want to insert a combobox with 3 messages in my status bar in eclipse rcp application.Please tell me how to do it. ...

GWT tries to load a deleted module

I am using Eclispe with Google plugin for AppEngine and GWT. Recently I created a test GWT module, but eventually it has been deleted from the project and I can not find any sign of it in the project now. However, whenever I run the web app locally, I get in console the following message: Loading modules com.piq.exemity.Test [...

Maven webapp with maven-eclipse-plugin doesn't generates <dependent-module>

I use the eclipse:eclipse goal to generate an Eclipse Project environment. The deployment works fine. The goal creates the var classpath entries for all needed dependencies. With m2eclipse there was the Maven Container which defines an export folder which was WEB-INF/lib for me. But i don't want to rely on m2eclipse so i don't use it an...

TabHost NullPointerException in layout

I been following the Tab example provided by Google. I am trying to use the XML layout provided to setup a tab layout. I use this XML layout @ http://developer.android.com/guide/tutorials/views/hello-tabwidget.html <?xml version="1.0" encoding="utf-8"?> <TabHost xmlns:android="http://schemas.android.com/apk/res/android" android:id=...

Eclipse Java Profiler

I know this has been asked before, but I have not found anything recent that really gives a good answer. I'm trying to find a free profiler for eclipse that works well. I would like a graphical breakdown of execution time in particular. I've tried TPTP but have had no luck at all with GUI apps (it took almost a minute for a GUI app to st...

Is there any way to run eclipse plug-in applications without fully start the eclipse platform

Consider a simple "Hello world" plug-in, how can I run it without having to fully launch the eclipse platform? ...

How to debug on a real device (using Eclipse/ADT)

I'm trying to figure out how to debug applications directly on my phone (HTC Desire). I've installed the USB driver that came with the phone and the phone is listed when using "adb devices". How do I configure eclipse/ADT to launch on the phone instead of launching the emulator/virtual device? ...

Create a project in Eclipse in a subfolder of the workspace

I want to create a Java-project in a subfolder of the workspace-directory. The wizard either lets me create a project in the workspace-directory, or import an existing one. Is there any way to achieve this? ...

Eclipse - How to show warning for unused method parameter ?

I am using Eclipse v3.5. In previous Eclipse versions i remember if i have defined a method with a parameter and didn't use it internally a warning appears, like this : public void myMethod( int x ) { // Didn't use x here so a warning appears at the x parameter. } But in v3.5 i do not see this warning. How can i enable it in Eclips...

Eclipse Ant Builder problem

I made a custom ant script to automatically create a jar file each time I do a build. This is how it looks like: <?xml version="1.0" encoding="UTF-8"?> <project name="TestProj" basedir="." default="jar"> <property name="dist" value="dist" /> <property name="build" value="bin/test/testproj" /> <target name="jar"> <jar destf...

Landau notation (ide) tools support

It is good idea to have impotant information during developing like Landau notation to know functions's time costs. So it should be documented in sources isn't it? I'm looking for tools that can calculate it. ...