eclipse

Is eclipse's Garbage Collector different than the default?

From questions posted here and an old one of mine I have created the impression that you cannot explicitly run the Java Garbage Collector whenever you please. If you call it, you simply instruct the system to call it whenever it can or thinks is appropriate. But in eclipse, if you press the "Run Garbage Collector" button you see an imm...

java.lang.exception no runnable methods junit

Hi All, I have a suite, inside which i have added the test class. I am using surefire to run my Junits. MY test class ends with test and the methods has @test annotations to it. Please help me to resolve the problem. Thanks and Regards, Saurav ...

How to copy Eclipse app with it's all projects and space from one Mac into another?

I have a new Mac computer at the office. And I need to copy Eclipse from my home Mac. I need to keep all the setting and plugins working fine, as on my home computer. Moreover, I need to have all the SVN setting and projects working too. So, can you suggest the best option how to do it clearly, to have the final result completely the sa...

Eclipse question - panels don't get restored when double clicking

You know how, in Eclipse, when you double click on a file tab (which shows the class name), the editor gets expanded to the whole screen minimizing other panels? Well normally I just double click again on the tab to restore everything, but all of the sudden double clicking again doesnt do anything (the editor remains in full screen and a...

possible solutions of the warning

Hello, I have a very large code, that's why I can't post here all my code, can somebody explain what might be a problem if I have an error incompatible pointer type and give me several ways to solve it, thanks in advance just small clarification: I'm workin with pointers to functions ptrLine createBasicLine(){ DECLARE_RESULT_ALLOC...

eclipse/maven/sonatype war build problem

Hi all My (simple) war project builds fine using mvn:package at the command line, but fails to build in eclipse using maven via the sonatype plugin. The error I'm getting is: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1-alpha-1:war (default-war) on project shoploops_webapp: Execution default-war of goal o...

Writing Eclipse plug-ins based on .Net controls?

Is it possible to host a .Net WinForms control within eclipse. We have a set of editor controls that we would like to make available as an Eclipse plug-in, but they are written in .Net. Is there any way to use them as the basis of a Eclipse plug-in? I’ve seen references to IBM’s “Interoperability Tool for Eclipse and .NET WinForms”, bu...

(g)Vim with version control like Eclipse

I was an Eclipse user, now I have to use Vim in my machine. I used to "compare" a file I edited with a CVS repository to do merges an commit the files, using a context menu and my mouse. Is this possible in Vim? Opening a vimdiff for a file before commiting, and commit it from vim itself? And how is that supposed to work? I'm supposi...

Is needing to refresh the Project Explorer Pane in Eclipse when the file structure changes a bug or a feature?

I'm kinda torn on this one... It could be a feature, because then if the file structure of your project changes on disk, then you'll be able to refer back to project explorer to see what you had before the change, before you refresh. On the other hand it's a little annoying, but not too bad when you get used to it... So which is it? ...

Regular expression question

Please help me construct a regex to match: some text(x, x, x, x) where x can be any integer either positive or negative. I need it to match exactly as it is shown above. Each x can be a different positive or negative integer. ...

enable javascript support for eclipse

how do I enable javascript support in eclipse pdt. I have aptana installed. thx ...

How to add "make install" target to simple Eclipse C project

I have a simple Eclipse C project. Is there a way to add a "make install" target to the generated makefile? I can't seem to find the right search keywords to find any useful information in the doc or by googling (i.e. there is too much noise and no signal.) I tried creating a simple project using the autotools plug-in but without being ...

java web application best practices

Hi all I'm trying to figure out the optimum way to develop and release a fairly simple web application, and I'm running into several problems. I'll outline the decisions I've made, because somewhere I've clearly gone off the rails.. Hugely grateful for any help! I have what I think is a fairly simple web application. It contains a coupl...

In eclipse, how can I create a shortcut for an existing command that has no shortcut binding in the keys preference?

In eclipse, the behavior of Ctrl+F11 is determined by preference config, and you could have either "Run last launch in history" or "Run current resource/editor" option available. But I'd like to have both of them at the same time, with an additional shortcut (e.g. Alt+F11). But eclipse doesn't provide the two commands in "key preference...

How to add external library properly in Eclipse?

So today I downloaded Apache Commons Lang library (binary, zip format). I extracted it to C:\eclipse\commons-lang-2.5 folder. There are a commons-lang-2.5.jar, a commons-lang-2.5-javadoc.jar, and a commons-lang-2.5-sources.jar inside, and a folder for HTML Javadoc. I started Eclipse, added commons-lang-2.5.jar, and set its source and Jav...

Problem connecting to Hsqldb via Hibernate when running a Eclipse GWT project.

Hi, I'm trying to run a simple GWT project where I'm trying to do a simple persitence via hibernate to a HSQLDB database. The database I'm using I have been using for at least 2 years with several osgi applications without any problems. So all I done is reused the same configuration and added a simple object mapping file. The problem I ...

What is CTabFolderPageManager?

This Eclipse bug mentions something called CTabFolderPageManager, which seems like it could be useful for me. However, searching for CTabFolderPageManager doesn't give any results. Is it a future feature for SWT (given that the bug report is from 2007, this would be surprising)? Or did I just fail at searching for it? ...

Help with XML path views

Hi all, is there any tool that will give me a view for XML fields like so. <Service> <header/> <Body> <element1/> <element2/> </Body> </Service> I want something that will show me the a view like so, if i select element1 Service/Body/element1 Is there any tool for eclipse for doing the above. Thanks. ...

File Encoding handling in Eclipse 3.5

Hi, I use Eclipse 3.5 on Windows, with PDT and Subclipse plugins, with both legacy projects using ISO-8859-1 encoding (latin-1), and newers ones wich use UTF-8. I configured my workspace to use UTF-8, and I configured old projects to use latin-1. But every time I open an old project, it use UTF-8. With a workspace using latin-1 by defa...

Android Eclipse OSX Creating AVD using Terminal launches AVD Manager

I'm new to programming and working with Eclipse on a Mac. I'm trying to create a new AVD with Google Maps Support and when launch 'android' (in the SDK tools folder) I get "No command line parameters provided, launching UI". This launches the Eclipse Android SDK and AVD manager. My question is how do I create a new AVD with Google Maps ...