eclipse

Creating dynamically loaded Linux libraries using Eclipse

I am writing a program in C++ using Eclipse. I want to compile it as a library for Linux, somthing like a DLL in Windows. How I can do this? Do you know any tutorials on how libraries are created? I just want to understand that is the analog of a DLL for Linux and how to create it. I will be thankful for a small example. ...

How to execute some function in eclipse while debugging a java program?

Like firebug for debugging javascript, is there such a feature in eclipse? or do I need a plugin? ...

How to recover corrupted Eclipse workspace?

I just managed to corrupt contents of my Eclipse .metadata directory. Starting up with eclipse -clean did not work out. Deleting .metadata and then importing all projects, plugins and setting does not sound too interesting. I ended up moving .metadata/.plugins/org.eclipse.core.resources/ elsewhere and reimporting my projects only. Are t...

Eclipse plug-in/setting to detect empty exception blocks?

I have several Java projects checked out into my Eclipse workspace, some of which are being worked on by several distributed teams. Is there a plug-in/setting that will allow me to detect exception blocks that are empty? I am trying to figure out how we can improve code quality across all of our projects and avoid expensive defects down ...

Eclipse - @SuppressWarnings("javadoc") does not work

Hi, I have my Eclipse configured to show warnings on missing javadoc comments and tags for public elements. That comes very usefull for me in order to keep my code well documented. But sometimes I have a class, where I have several constants describing for example states of DFA or something.. theres no need to document theese constant...

Maintaining a common set of Eclipse preferences

Whenever I switch workspaces/Eclipse installs I need to copy/redo the preferences: compiler settings; font sizes/families; code formatter; java code templates; editor templates; code clean-ups; I would like to maintain these settings in an unitary way, preferrably under source control. How can I do that? I know about 'copy setting...

How do I fix eclipse warning: "It is recommended for plug-in 'XXX' to run from a JAR, specify 'unpack="false"' attribute"

The plug-in really needs to be unpacked, yes I know it shouldn't care, but it does. I just want to make this warning go away, how do I do that? ...

Eclipse WTP: How do I enable SSL on Tomcat?

Eclipse WTP creates its own server.xml file which it places in some folder which configures the tomcat instance you are running for your web project. If you double click on the server in the servers list you get a nice screen which makes it simple to configure some aspects of the server.xml file. How do I configure a new connection to a...

Eclipse 3.4 GWT 1.6 project - how to reference source from other projects?

I've got a GWT 1.6 project in Eclipse 3.4 and am trying to reference source from another (non-GWT) project in my workspace. I've added the project to my build path, but I can't run the application in hosted mode. When I do, I get a "no source code is available" error. I've done some searching and reading and have tried a few things th...

How do I save Eclipse launch profiles across workspaces?

When I copy an Eclipse project directory, it contains the .classpath and .project files so that when I take that same directory to another Eclipse instance, I don't have to setup my build path and such (assuming that all the resources are contained in the project, and not external.) However, this procedure doesn't cause launch profiles ...

Can't save project preferences in Eclipse.

All I am trying to do is to set the Java compiler for my project as 5.0. It is 1.4 by default. When I try to save by pressing OK button I get the following error. Preferences Save Failed: Reason: Exception Occured while saving project preferences: /com.myproj.reqmanager.ui/.settings/org.eclipse.jdt.ui.prefs. I never got this error ear...

Need a Java and Javascript diff tool written in Java

We need an accurate diff utility for Java and Javascript files, written in Java. It should be invokable from within an Eclipse (version 3.2 or 3.3) application. Preferably we need the Java source code for this utility also. The utility should be able to compare two files (old and new, say) and determine the following accurately: Numbe...

Eclipse JFace's Wizards

I need a wizard which second page content depends on the first page's selection. The first page asks the user the "kind" of filter he wants to create and the second one asks the user to create one filter instance of the selected "kind". JFace's wizards pages contents (createControl(...) method) are all created when the wizard is open an...

jBPM Standalone App with SWT

According to the whitepaper on the jBPM page [1], jBMP can be easily used in a standalone app. However I could not find any information about how to actually do this. I want to create a simple java app (maybe with SWT), which displays a process with jBPM. The user should then be able to modify the applications behavior, by modifying the ...

Cant focus WxWidgets frame in Mac OSX compiled with SCons

Hello. I have this WxWidgets test source code that compiles, and when run, it shows a simple frame: /* * hworld.cpp * Hello world sample by Robert Roebling */ #include "wx-2.8/wx/wx.h" class MyApp: public wxApp { virtual bool OnInit(); }; class MyFrame: public wxFrame { public: MyFrame(const wxString& title, const wxPoin...

Linux c++ error: undefined reference to 'dlopen'

Hi all! I work in Linux with c++ (eclipse) and want to use a library. Eclipse shows me an error: undefined reference to 'dlopen' Do you know a solution? Here is my code. #include <stdlib.h> #include <stdio.h> #include <dlfcn.h> int main(int argc, char **argv) { void *handle; double (*desk)(char*); char *error; ha...

Eclipse cleanup code-style for entire package/class set

Is there any way to run the Eclipse cleanup rules on a whole set of classes/packages instead of individual classes? (Preferences > Java > Code Style > Clean Up) I right-click on the class and invoke Source-Clean Up, but it sure would be nice to invoke it on a set of classes. ...

GWT-Designer does not bild Async interfaces upon addition of Remote Service

Hello, I'm using GWT-Designer on a GWT project. It has been working well however some configuration got fouled up and it no longer builds Async interfaces and Implementations when you create a new Remote service. It has something to do with Eclipse Auto Build but I don't know how to see if this is enabled or how to trouble shoot it. ...

Eclipse optimizations

The question dealing with Visual Studio optimizations saved me so much time firing it up and using it I have a hard time going back to Eclipse when I have to do J2EE development. Hence, I was also wondering if people have any tips or tricks to help speed Eclipse up in day to day use. For information, I'm using the Eclipse version 3.4.1...

How to set the java.library.path from Eclipse

How can I set the java.library.path for a whole Eclipse Project? I'm using a Java library that relies on OS specific files and need to find a .dll/.so/.jnilib. But the Application always exits with an error message that those files are not found on the library path. I would like to configure this whole project to use the library path. ...