eclipse

Zombie http.proxyHost settings for JVM on OSX

I recently changed network and removed all my HTTP proxy settings from the System Preferences / Networking panel on OSX (Leopard). However, now whenever I use Eclipse the Java HTTP proxy system properties seem to be 'automagically' set to use my now defunct HTTP proxy. I can find no direct reference to this proxy anywhere on my system, ...

Is there a quick way to export a WAR file in Eclipse 3.4?

I know about the export->war file I would like something similar to the .jardesc that allows you to define the destination. So I could right-click on that .jardesc and do export. Except .wardesc instead of .jardesc :) Is the war export functionality tied to an eclipse ant task? I've put together an AHK macro so it will do the GUI mo...

Eclipse toolchain behavior

I've added a toolchain to a plugin for Eclipse 3.4.1/CDT 5.0.1. Basically, the way it's meant to work is, when I do a full build, we get my_compiler -c foo.c gcc -o foo foo.o And, when I do a build from Project|Build All, that's what I get. If I invoked the build programatically, I get my_compiler -c foo.c gcc -o foo.o That's rig...

XMLSpy in Eclipse

Hi, I need to test XMLSpy functionality in Eclipse. After I switch Eclipse to XMLSpy Perspective and QTP is runnig (record or run mode), it does not work. Could you help me? Thanks. ...

dynamic combo-box list in java swt table

I create a Combo-box control in org.eclipse.swt.widgets.Table The code snippet is below ... TableEditor editor = new TableEditor (table_LLSimDataFileInfo); CCombo combo = new CCombo (table_LLSimDataFileInfo, SWT.NONE); combo.setText("CCombo"); combo.add("item 1"); combo.add("item 2"); editor.grabHorizontal = true; ...

Is there a plugin that integrates to CPPUnit with VS2008 or Eclipse CDT?

We have some projects that have CPPUnit tests that are build and run using an ant script to build them all (right now we're using Borland C++, but we're moving to VS2008). The problem is that the interface to run and see the result of tests is unpleasant (command prompt). It would be awesome to have them run inside eclipse or VS2008. I...

How To Add Perspectives In Eclipse

If I have two versions of Eclipse installed, how do I add a perspective that I've installed in one [version of eclipse] to the other? How do perspectives get added in the first place? I.e., where do they come from (don't tell me "the 'Open Perspective' dialog")? ...

How Do You Reinstall Installed Eclipse Plugins?

How do you "remove" or "copy" an eclipse plugin from one eclipse install to another? E.g. I have two installs of eclipse, one of which has a plugin installed that I don't have an installer for nor is it readily available online. Is it possible to get this plugin installed on my other version of eclipse? If so, how? Also, does it matt...

How to change the color of Eclipse RCP view title bar

How to change the color of Eclipse RCP view title bar? ...

How to retrieve a list of deprecated methods from a class

How do I retrieve a list of deprecated methods from a class. I need to list the methods that have been marked as deprecated for a class to pass on to documentation. I don't really want to copy and paste each method and its javadoc into a seperate file, is it possible to do this through the javadoc tool or through eclipse? ...

Error connection to CVS

I try to connect to CVS through eclipse. After entering (host, repository path, user, password) and by clicking finish, it gives me the following error : Error validating location : "Could not connect to :pserver:username@host:/CVS/Myproject:I/O exception occured: ProxyHTTP: java.IOEXCEPTION: proxy error (the specified socket layer (...

Using checkstyle with Ant during an automated eclipse build

For the last months I've been slowly improved the Eclipse automated PDE build process for our application. The first thing I tried was automating the test cases. The next step was some scripting code to generate an installer automatically, for both linux and windows. Now I want to add some static code analysis reports to the process. ...

Automatically add properties when running JUnit in Eclipse

In order to run my unit tests on my Eclipse, I need to set some properties for the VM. Thus, when I first run my JUnit test, I go in "Open Run Dialog", then in my JUnit configuration for this test, I go in "Arguments" tab and put everything I need in the "VM arguments" text area. Is there a way to automatically add a set of properties ...

Automate tasks in Eclipse by buttonpress

Is there an easy way (i.e. not developing a custom plug-in) to create a button to my task bar that would run a specific Ant target? It doesn't have to be native - it's ok if it escapes to the OS shell, or other magic trickery. I'm using Eclipse Ganymede on OSX. ...

Why does a junit test fail in eclipse but pass from ant?

I have a JUnit test that is checking to make sure that a customized xml serialization is working properly. The customized xml serialization is just a few custom converters for Xstream. The deserializers work, but for some reason in Eclipse 3.x, JUnit fails the serialization. In Ant on the command line, it works just fine. It also wor...

Can you make subclipse create a folder structure when sharing a project?

When in eclipse and you decide to share a project in a subversion repository using subclipse, can you make it create a folder structure for that project automagically somehow? What I want is for every shared project to add this kind of structure: /Client/Project/branches /Client/Project/tags /Client/Project/trunk/EclipseProject Where ...

SWT DropTargetListener has empty event data under Mac OS X

I'm currently experiencing a weird platform inconsistency between Mac OS X and Windows/Linux. I've implemented an SWT DropTargetListener and tried to analyze the data dropped in the dragEnter method. Unfortunately, the data attribute of the TransferData contained in the DropTargetEvent parameter is always null on OS X (but becomes valid...

Can Eclipse highlight unreachable code?

I have for example an if clause which is always false (not that the variable is FINAL) e.g.: public static final boolean FOO = false; if (FOO) { doSomething(); } I want it to be shown for example in gray in Eclipse. So basically I would like this to work exactly like Visual C++ does this for macro if's which are unreachable. Up...

Python Profiling in Eclipse

This questions is semi-based of this one here: http://stackoverflow.com/questions/582336/how-can-you-profile-a-python-script I thought that this would be a great idea to run on some of my programs. Although profiling from a batch file as explained in the aforementioned answer is possible, I think it would be even better to have this op...

Laying out a SWT component hierarchy

What's the best way to cause a component hierarchy to relayout when a SWT control's preferred size changes? My particular situation is a dynamic update of a Label's text. ...