eclipse

What is so great about Visual Studio?

In my admittedly somewhat short time as programmer, I have used many development environments on many platforms. Most notably, Eclipse/Linux, XCode/OSX, CLI/editor/Linux, VisualDSP/Blackfin/Windows and MSVC/Windows. (I used each one for several months) There are neat features in pretty much all of them. But somehow, I just can't find an...

How to Configure Hibernate with Eclipse Galileo

Can someone tell me how to configure hibernate (Annotations) with Eclipse? ...

Moving to Eclipse from Visual Studio

Hi all, I'm curious about your thoughts on moving to a new IDE (specifically Eclipse). I have been hearing wonderful things about it from this community and I'm always on the lookout to try new things. Currently I'm running Visual Studio 2005, with a bunch of external commands loaded (for compiling down to a binary, running lint, etc)...

How to identify when my session variable is changed?

I am having a session variable whose value can be changed from java and from Jsp as well. Is it possible to detect when this variable's value is changed? ...

How to keep an eclipse workspace synchronized among two machines?

I have nearly identical Linux (Fedora) machines at home and at work and I keep my files on both machines synchronized using the excellent Unison program. I have been trying to keep an eclipse workspace synchronized across the two machines but this has failed. I tried both: Synchronize just the /workspace directory, badness due to plugi...

Eclipse CDT 6.0 (galileo) problem

I installed CDT 6.0 on my eclipse Galileo, but when I try to build or run my existing C++ project, there is no result. Clicking on "build project" button simply does nothing, no message in the console. Does anyone know how to get rid of this problem? The installation of CDT has not been clean. The main features got installed but the opt...

Annoying "Remote System Explorer Operation" causing freeze for couple of seconds

I observe "Remote System Explorer Operation" in Progress view of Eclipse after each save of Java file (so it might be related to compiling?). It makes the Eclipse unusable for 1 to 10 seconds. In some projects (of about the same size) it's quicker, in some it's slower. I have no idea which plugin might be the cause for it. I have Build ...

maven import a project to eclipse Mylin with WTP features enabled

I need to import a maven project with WTP features enabled I allready tried: mvn -Dwtpversion=R7 eclipse:eclipse But when I did the import it doens't have the WTP features enabled. ...

Alternative or way to force eclipse source code formatter to break line at 80 characters?

Whenever I use the Eclipse source code formatter / beautifier (via the menu item Source - Clean Up or CTRL - SHIFT - f) it reformats statements that I have broken into multiple lines back into one line that is longer than 80 chars, eg I have: public CDataCacheContainer loadDataset(CDataFileDef dsd) throws IOException { and it beco...

Remote deploy from Eclipse to JBoss AS and integration Eclipse with remote JBoss

Hi, I have following situation. My JBoss server runs on the remote server under some bound address. I would like run Eclipse on my local machine and deploy results of work to the remote server where I could test it and debug it. I'm working on enterprise Java project and I'm normally deploying one ear file. I know how to provide remote...

Eclipse doesn't recognize lua files after installing the lua plugin

I downloaded Eclipse Classic off of the Eclipse website then the Lua Eclipse IDE plugin. I followed the install instructions but Eclipse doesn't seem to recognize or be able to understand lua files. Can someone help? ...

Import new Maven module in Eclipse automatically

I have a multi-module Maven project in a Subversion repository with many developers working on it with Eclipse + M2Eclipse. Now if a developer adds a module, others need to do an SVN update from the command line (as Eclipse doesn't see the common root of the Maven project), and import the new module manually as an Eclipse project. Is th...

AST for current selected code in eclipse editor?

I need to get the AST for the current selection in the java editor fo eclipse. Basically I want to convert the selected java code in to some other form(maybe some other language or XML etc..). So I guess, I need to get the AST for the selection. Currently I am able to get the selection as simple text. Is there any way out for such proble...

Remote C++ Development using SSH only inside Eclipse Environment

How do you integrate Remote Systems Explorer and CDT plugin inside eclipse ? What I mean is that you can use Remote Systems Explorer (RSE) plugin to work on C++ code on a remote linux box inside Eclipse but when you try to compile, you basically run a shell command through SSH. The CDT plugin is unable to locate the remote system and of...

How to use ant to check for tags (TODO: etc) in java source

it's common to see something like this in code, hopefully only during development: //XXX: not in production! String password = "hello"; // getActualPassword(...); ... catch(Exception e) { /* TODO: Auto-generated catch block*/ } I would like ant to be able to a) warn (on TODO: / FIXME: tags) or fail (on XXX: or simmilar) The build serv...

Eclipse + remote OC4J server - deploying application

Hi. I would like to deploy web application on a remote OC4J server using Eclipse. Is it possible? I'm using WTP and when adding the OC4J server there is only localhost available. ...

Eclipse APT slows compiling

I'm currently writing an Eclipse APT plug-in to check if my annotations are correct. But it appears that enabling APT causes my compile process to slow down. Even saving a tiny, unreferenced class takes a few seconds and eats a lot of memory. I think the reason is that the APT framework checks a full tree of objects (large project), ev...

Debug some PhpUnit tests in Eclipse

Hello, I use Eclipse PDT for PHP. I can run my PhpUnit tests : works fine. But I can not debug my unit tests. Has someby already done this ? Can somebody help doing this ? Thanx, Messaoud ...

Java memory leak

Has anybody used Eclipse memory manager to detect memory leak in java codes? Can anybody recommend a good place to look for information regarding using memory manager? I read something online, it suggests that i need to let the program run until it crashes (out of memory error occurs), which will generates a crash report. Then use the me...

How do I turn off '*' in multi-line comments in Eclipse?

When coding with Eclipse, how do you turn off the "*" comments that come up when you start a multi-line comment? Instead of seeing this, /** * Here is a comment * some more */ Can I get this? /** Here is a comment some more */ If you are wondering the "/**" is because I use doxygen. ...