eclipse

Make JFace Window blink in taskbar or get users attention?

Hi folks I wonder someone has any idea how to solve this: In my Java Eclipse plugin there are some processes which take some time. Therefore the user might minimize the window and let the process run in the background. Now, when the process is finished, I can force the window to come to the top again, but that is a no-no in usability. I'...

m2eclipse resource filtering

I've having problems with resource filtering using m2eclipse Maven support in Eclipse. It seems that filtering only takes place on resources that have changed. This is fundamentally flawed because, if I have a file that references properties (e.g. ${my.property}, if the value of the property changes, the filtering will only be performed ...

WebServiceexception "No Content-type in the header" when trying to consume JBoss hosted webservice with a console application

I have a small assignment where I have to consume a webservice hosted with JBoss using a console application. I have 2 projects in the same workspace, The DynamicWebApplication that I used as a webservice that is hosted using JBoss and a console application to access it. The console application also has the java files generated with wsi...

Eclipse: how to show the information about a PHP function?

Hi, when i go with the mouse pointer on the function it doesn't show the location, class... i have this problem in one of my projects. All is executed ok so the functions are there :). Build id: 20090920-1017 Any idea? Javi ...

Eclipse: Garbage Collector Button

What happens when I press the "Run Garbage Collector" button in Eclipse? Does it just call System.gc()? ...

Using MySQL in Pydev Eclipse

Hi, I am trying to access a MySQL database with python through Pydev Eclipse. I have installed the necessary files to access MysQL from python and I can access the database only when I write code in Python IDLE environment and run it from command prompt. However I am not able to run my applications from Pydev. when I use this "import M...

Create Batch File From Eclipse Project

How can I create a runtime package of some sort -- an all-in-one jar with the Main class specified, a Mac .app, or similar -- from an Eclipse Java project? I would like to get all the required jars and so forth without having to make the batch file myself. ...

Generate a collection of changed lines between two revisions of a file using Java

I am writing an eclipse plugin which needs to be able to determine which lines of a file have changed compared to a different version of the same file. Is there an existing class or library which I can use for this task? The closest I have found is org.eclipse.compare.internal.merge.DocumentMerger. This can be used to find the informat...

Cycle in Eclipse

If I open two Java projects in Eclipse which depend on each other, I have to add dependencies between these two projects in the Build Path (Properties -> Java build path). This works fine for one way, but why doesn't allow Eclipse to set the dependencies vice versa? The following error message occurs: A cycle was detected in the buil...

Howto ignore specific undefined variables in Pydev Eclipse

I'm writing a crossplatform python script on windows using Eclipse with the Pydev plugin. The script makes use of the os.symlink() and os.readlink() methods if the current platform isn't NT. Since the os.symlink() and os.readlink() methods aren't available on the Windows platform Pydev flags them as undefined variables--like so: Qu...

How do I set up derby in eclipse on Ubuntu?

The question basically says it all. I'm trying setup up JavaDB on my virtualbox running Ubuntu 9.10. I have the package downloaded and installed through the package manager, which I believe is the right to go about it. I have also installed the Eclipse's Data Platform Tools. I've been following this tutorial here: http://www.vogella.de/...

Can I and How to disable the popup when mouse hover/over the "plus(+)" mark in Eclipse?

When I use Eclipse to code Java programs, I can fold a block of codes, for example: a method or a comment. And When I fold the block, there will be a "plus(+)" mark appearing on the left side of the editor in Eclipse. If you hover your mouse over the mark, Eclipse will pop-up a frame showing those folded codes. I feel it's annoying, but ...

Modify static variables while debugging in Eclipse

As an extension the the question "Modify/view static variables while debugging in Eclipse", I'd like to be able to modify static variables while debugging in Eclipse. For instance and local variables, I can just choose the variable in the "Variables" view of Eclipse, and use the context menu "Change value..." to change the value. This ...

Eclipse Galileo/Windows/Java memory woes

In short, I have 8G of memory and eclipse/java is dying after the splash screen when I try to set the vmargs to something reasonable, like -Xms512m -Xmx2048m. In long: I'm running XP Pro x64, v. 2003, SP2. I'm attempting to use scala with eclipse, and in the interest of being up-to-date, I downloaded a recent Galileo for RCP/Plug-in ...

When I'm looking at ASTNodes in Eclipse, how can I tell if one is in a valid state?

When I'm going through the abstract syntax tree of a project in Eclipse how can I tell if a TypeDeclaration is in a valid state (ie, will compile)? I have tried calling type.getFlags() but it always returns 2 (ASTNode.ORIGINAL) even when it's a type I know is not valid (ie it implements an interface that doesn't exist). Is there a way t...

port binding "problem" with Eclipse, Java, & Windows

Hi All, I use eclipse to develop a web based java application. My normal course of business is grab the next task tracking ticket. If there is a problem that needs to correcting, I run the application locally, which loads of a Jetty webserver, and binds to port 8080. After verifying the problem, I fix the problem, rebuild, and the r...

Deploying a java program

I have a java application that I created. Now I want to give it to my friend? How do I create a deploy version of this that they can run? ...

Eclipse Subversive SVN client not updating local copies with new files

When I update my local working copy of an SVN repository in Eclipse using the Subversive plugin it isnt bringing any new files which have been added to the SVN repository. It thinks that the local working copy is up to date and if I ask Eclipse to update it it just says no further changes. Anyone got any ideas why this is happening? ...

Error when installing plugin in Eclipse

When I try to install a plugin in Eclipse I get these error messages Registry event dispatcher Error notifying registry change listener. Error notifying registry change listener. Invalid registry object Error notifying registry change listener. Invalid registry object Error notifying registry change listener. Invalid registry objec...

Issues using SoapUI with Eclipse

I get the following in the Error log when using the latest SoapUI 3.5. plugin in Eclipse Galileo on Ubuntu. Also, this seems to continually freeze Eclipse. I have tried a complete uninstall and restarting Eclipse with -clean argument to no avail. Has anyone encountered the same issue? Is there anything I can do to fix this? Could not...