eclipse

Makefile for Eclipse C/C++ in Linux

Hello, i'm using Eclipse 3.6 for C/C++ for Linux. I need to compile existing project with my own working makefile. This makefile works well from the command line, but when I imported my project into Eclipse and try to use Build, it doesn't work, seems that it try to use makefile automatically created by Eclipse. I unchecked the switch "G...

How to add a file to an Android project, deploy it to the device, and then open it?

I have an Android (2.2) project in Eclipse (Helios). I want to add an MP3 file to the project so that the MP3 file is deployed to the device along with the application. I then would like to open the file as a File object, which means I'd need to know the full path (?) to the file on the device, but I don't know how paths are specified ...

Unchecked cast from String to String

Original code without the cast: ArrayList<String> elements = new ArrayList<String>(); for (ListTreeNode pos : positions) elements.add(pos.getElement()); In ListTreeNode: public String getElement() { return element; } Eclipse is telling me that it is an unchecked cast from String to String if I do: elements.add((String)pos....

Loading models for autocompletion using PHPDoc @property

Hello all I am using Codeigniter framework for PHP. I was wondering if there is a way to load methods in a Model for autocompletion using PHPDoc @property. What I mean is .... class abc_controller extends Controller { /** * @property Model1 */ function func() { $this->load->model("Model1"); // I am loading the model he...

Eclipse Debugging:Thread.exit() line not exist

Hi, When I try to debug a Java file in eclipse then its finally says "Thread.exit() line not exist"->Edit Source Path . What is this message says.Also there is no method exit in Thread class.Please comment on this. ...

Enabling Debugging Logs while loading JavaFX Applet

My JavaFX app is working when executed via the JavaFX Eclipse plugin. But when I try to embed it into my web project, it is not being rendered properly and after a while a black rectangle is loaded in it's place. Here is the code for loading my JavaFX Application: <script src="http://dl.javafx.com/1.2/dtfx.js"&gt;&lt;/script&gt;...

How to fix?: Server in Eclipse suddenly requires jars in server's launch classpath.

I have a web project built in eclipse using Spring and for Tomcat. Before some recent changes that I either cannot remember or undo, I could simply start the server in the ide and hit my servlets without issue. After making those changes, when I started the server, I got the stacktrace as follows. SEVERE: Error configuring application...

How can I rename my android device?

It has a really long cryptic name. I want to rename it to something shorter. ...

Goto Function definition in Eclipse

If my cursor is in a function call in a perl file , is there any shortcut in eclipse that would take me to the definition of the function( in the same file) like gd in vim? ...

Renaming package and version names of Android project in eclipse

Hi, I have an Android project created in eclipse.I want to slightly modify this(package names,etc) and make another app.I want both apps to be installed on phone.How to take care of versioning an app name.How should i go about renaming package and project names? Thanks Dheepak ...

Bundle-ManifestVersion=2 vs. Bundle-ManifestVersion=1

Background: We are building an eclipse RCP plugin with Maven and generating the MANIFEST.MF file with the Apache Felix plugin. This plugin is part of a bigger RCP framework that is developed internally in our company. The problem: The Felix plugin sets Bundle-ManifestVersion=2 in the MANIFEST.MF file. When we use this manifest file...

How does the enable and disable options work for these actions in eclipse?

Actions in the Run menu such as Toggle Break Point, Toggle Line Break Point etc.. will be enabled when a .java file is opened and will be disabled for any other type of files. similarly the step over, step into etc will be enabled when we are debugging a java program and will be disabled otherwise. So i wanted to know how enabling and d...

Eclipse CDT "Path must include project and resource name"

Hi there, I've been banging my head against a brick wall with this, so any help will be much appreciated :) I have created two projects with the following structure. There is one source folder under C:\ide\xxx\source There is a project folder under C:\ide\xxx\build1 There is a project folder under C:\ide\xxx\build2 Both build1 and bu...

Which is the better Eclipse plugin for developing JAX-WS WebServices: JAX-WS Tools or SOA Tools?

Which is the better Eclipse plugin for developing JAX-WS WebServices? JAX-WS Tools SOA Tools Thanks in advance. ...

Make Eclipse RCP Intro part of a perspective

Hi, For a product we are creating, we want to be able to have the welcome screen display in a perspective (which we are calling "Start Here"). The intro is the only thing that needs to be in that perspective, however, when I try to add our intro view to the perspective, it says that the view already exists in the layout. I have tried p...

Run EMF Validation of an ecore model outside of Eclipse

Hello, I found nothing how to validate an ecore model outside of eclipse. Does someone know how to do this? ...

JAR version control

Hi all, Can i generate jar from eclipse with version number for the jar created newly for every jar export? Regards, magggi. ...

How to ‘partly compile’ Java in Eclipse?

My Eclipse is configured 'Project'->'Build Automatically'. There are large number of Java files in my project. Once one java file is modified, all java files are compiled under the project. It spends much time really. My question is how to configure Eclipse as 'partly compile' which merely compiles related java files. Does it make sense...

Is it possible to install apache derby eclipse plugin in myeclipse?

Ive got myeclipse ide, and want to install the ui plugin for derby so I can access ij from inside eclipse. The problem is when I drop the ui plugin components into the plugins folder the plugins dont seem to load. Is there anything whacky I need to do to tell myeclipse to load these plugins? I am following http://db.apache.org/derby/in...

Eclipse Javadocs: How to *easily* create @see links?

I often want to use @see when writing classes & methods but I usually end up not doing so because it's so annoying trying to write out @see links by hand. Is there some easy way to do this, built into Eclipse JDT? ...