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.
...
Like firebug for debugging javascript,
is there such a feature in eclipse? or do I need a plugin?
...
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...
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 ...
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...
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...
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 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...
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...
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 ...
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...
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...
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...
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 ...
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...
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...
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.
...
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. ...
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 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. ...