eclipse

Monitoring Eclipse Window Acceptance

I know that the Eclipse Foundation has a Program withhin Eclipse (I guess it's a Plugin) that can Monitor the User behaviour. E.g. what Window was used how many times. I forgot the Name of that Program and wonder if it's possible to use the Plugin in a Company to monitor how the Programers use Eclipse? ...

Move common include files to a separate directory, yet keep them easily editable within eclipse?

We are using Eclipse+CDT+SVN(Linux). How can we have some common header files in a separate include directory, which is also in the SVN, but not in the project specific subdirectory. The main goal would be to create some common, reusable code for multiple projects and to be able to easily edit/commit that code within eclipse. We have d...

How to create EJB 2.1 beans in Eclipse 3.5

I am not able to create EJB 2.1 beans using a wizard in the latest version of Eclipse. I only see options to create EJB 3.0 beans. I selected 2.1 as the 'EJB Module Version' while creating the "EJB Project". But now when I want to create a session bean, I don't see any option to create a 2.1 bean. Is there a plugin/setting I need to en...

Update Site Creation Automation

Hi, I've developed an eclipse plug in, and created a feature and an update site projects inside eclipse to publish it. What i am looking for, is a way to automate the process of creating my update site during our automatic build process through a command line rather that manually throught the UI of the update site project. It seems to ...

Import xml file (defined in build.xml) to eclipse

I have the following entry in my build.xml with all other jar files defined <import file="/qa-properties.xml" /> When I clean the project it gives the following error. BUILD FAILED /home/pv40143/tools-2.3/build/subdirs.xml:54: The following error occurred while executing this line: /home/pv40143/automation/fb_vasip1028/common/buil...

What do the icons in Eclipse mean?

What do the icons in the Eclipse debugger mean? What do the icons in Eclipse's Package Explorer mean? What do the little letters on top of Eclipse icons mean? What's the difference between the two error icons in Eclipse (the x in the red circle and the one with the light bulb)? I just came to SO looking for this, didn't find it, and fou...

Fixing Vanishing LaunchShortcut in Eclipse Plugin

I'm developing an eclipse plugin for creating a plugin for another java platform. I've managed to figure out the LaunchShortcut concept, LaunchDelegate, etc. The basic codepath of the plugin: I have a launchShortcut display if it detects the project right clicked is a "plugin" project. This is detected via a propertyTester Once succes...

Eclipse console in RCP missing output

In my RCP I show the Console and want to output different categories of output (not just STDERR and STDOUT). I have looked at and used code from both: http://stackoverflow.com/questions/720963/eclipse-console {filter_workaround}://stackoverflow.com/questions/716615/writing-to-the-eclipse-console I go through all the actions as prescrib...

Netbeans project in Eclipse

Hello, I am Java beginner. I have developed only two Java desktop applications and I use Eclipse as IDE. Right now I wanted to work on this project https://nbjfuguesupport.dev.java.net/ All code is in Netbeans. I suceeded to import all libraries that are used in source files in eclipse, and I have no errors showing in code in Eclipse. T...

Eclipse Code Format Behavior

My apologies if I'm missing something obvious but there's something that really bugs me about the Eclipse code formatter. I don't want it to make any lines of code longer, only shorter. Is there a way to force the formatter to behavior this way? Example 1: if (somethingIsTrue() || somethingElseIsTrue()) { //-- Do Something. } Exa...

How to run with old version of Junit 4 in Eclipse (Galileo)

We need to run unit tests with an older version of JUnit4 (for arcane reasons). Eclipse has a choice between Junit3 and Junit4, but there is no way to add/change the Junit4 version. A temporary work around was to copy the junit plugin from Eclipse Ganymede, but this gets clobbered when Galileo updates itself. It looks as far as the up...

Netbeans generated code

I have a netbeans project that I imported into eclipse. When I use my code formatting style in eclipse, it breaks the auto generated code in Netbeans. The code is similar to the following. private void customActionPerformed(java.awt.event.ActionEvent evt) {// GEN-FIRST:event_customActionPerformed // aaa }// GEN-LAST:event_customAc...

cmake and eclipse: default include paths?

Hello! I have a project that builds with CMake system, and I like to import it in Eclipse. However, when I generate eclipse project files with 'cmake -G "Eclipse CDT4 - Unix Makefiles"' there are no default include paths in Eclipse project(such as /usr/include' or the gcc path for standard headers). How to fix that in most right way? ...

OpenCV in Eclipse on Fedora Library issues

I'm trying to compile a small OpenCV program using Eclipse. I'm limited in library locations, as I'm running them on a University shared server. I have a fully working makefile, with which I can compile and run the program from the terminal as intended, however when using Eclipse, it compiles fine but on running I get the following error...

Share folder including Eclipse workspace with Git between WinXP and Mac OS X

Hi, I have this general project folder of mine which includes a variety of stuff: text, images, binary files etc. I want and need to keep this project in version control under git, so if I mess up something I can revert to a previous version of all files. One thing inside this project is an Eclipse IDE Java workspace with all it's cont...

Eclipse packages and folders and such...

I am creating a project with eclipse, but am unfamiliar with their folder structure. I want to create a folder to keep a bunch of game objects in of a particular type (an attempt at organization), but they extend a class from a different folder... When I try to do this I get errors saying that the class cannot be resolved to a type... If...

How to debug a swing UI in Eclipse?

I am trying to figure out where in some Swing code a UI window is created. It is ~1 million lines of code (no joke), and I have done a reasonable amount of searching and debugging. I am looking for a tool where I can click on a window in the UI and it will show me something about its Java code (name of an object, etc). I am using Ecli...

Properties file in Eclipse

I have an application that uses a properties file that was added by hand at the /project/bin folder (Eclipse project). The application locates the file using: this.getClass().getClassLoader().getResourceAsStream("filename.properties") Now I want to add this file in Eclipse, so it's actually part of the project. In which directory shou...

Eclipse development environment for WAS 6.1

Hi, Currently I am working with MyEclipse for developing a J2EE application for WAS 6.1. I noticed that eclipse added the new J2EE development environment. When trying to configure it I can see that there is a support for WebSphere 6.0 only. Is it possible to configure the environment to work / debug with WAS 6.1/7.0? Any cookbook? ...

How can I force the Eclipse toolbar to be on one row

The toolbar seems to like to take 2 rows instead of one after a restart, even though: there is enough horizontal space; I manually arrange them to be on one row; the toolbars are locked. How can I prevent the toolbar position from being reset after a restart? This is Eclipse 3.5.1 on Linux x86 GTK. Update: Please note that Ecli...