eclipse

How to detect when a variable changes value

How can I easily detect when a variable changes value? I would like the execution of the program to break on the debugger whenever a specified variable changes value. Right now I'm using Eclipse's debugger. ...

What is the best way to upgrade from Eclipse 3.3 to 3.4 (or future releases)

In the past I have had problems upgrading from release to release of Eclipse. I was wondering how the Eclipse users on StackOverflow dealt with upgrading from release to release of Eclipse. Is using a Distro the solution? Staying on a past release point until you are forced forward, a good idea? Lately I have just reloaded from scrat...

Best unix/linux C++ debuger/IDE ?

All the work I've done in C++ have either been to small to require a good debugger or been on windows so I've used Visual Studio at work. Now I'm faced with a situation where I need to write some C++ while being on Ubuntu, so after looking over some of the alternatives I have when picking between the IDEs I can honestly say I don't have...

Eclipse Ganymede for OS X contains no HTML formatter. Alternatives?

In Eclipse 3.4 for Windows, the Source -> Format option for formatting Java code was extended to format HTML code. However, for OS X, this option is disabled. Additionally, there are no formatting options in the Preferences. I've downloaded all the Web Tools for Eclipse and the option is still unavailable. Which plugin/feature allows f...

I cannot create dynamic web application in eclipse

I cannot create new dynamic web application in eclipse.If i click new project from file menu it is not displaying "dynamic web application" option.It is not showing the option "web".I am running eclipse 3.4.0. Can anyone give help on this? ...

Installing Eclipse (3.4+) plugins in a directory other than ECLIPSE_HOME/plugins

There used to be a way to do this, but I can no longer find this in Eclipse 3.4.1 installation I have. Does anyone know how to do this? ...

how to exclude external jar while creating executable jar in eclipse or commandline?

Hello All, I have written a program in Eclipse IDE which uses BouncyProvider class of BouncyCastle.jar. So to compile my class I added BouncyCastle.jar in my project classpath and it compiles perfectly. Now I want to export my project as Runnable JAR so when I do that from Eclipse, it by default adds the classes of BouncyCastle.jar als...

What is the best way to learn Eclipse RCP? Does it feel different to only me?

I am used to structural programming (eg:C), OO programming(eg:Java), Scripting(eg:Javascript), Web (eg:HTML,JSP,Servlets,CSS) etc. Now, when I am getting started with Eclipse RCP plugin development, the whole thing gives a strange feel to me in terms of programming. The way things are in Eclipse RCP development is quite different from o...

Eclipse 3.4.1 - how to view compiler output in Console while building a project

I have what appears to be a very annoying problem. When compiling a project in Eclipse, I see no Console that shows the invocation of the Java compiler and the build results (as in NetBeans). If I, for instance, import an existing project into Eclipse and invoke Project->Build Project, is there a view that will show me results of the c...

How to get the selected node in the package explorer from an Eclipse plugin

I'm writing an Eclipse command plugin and want to retrieve the currently selected node in the package explorer view. I want to be able to get the absolute filepath, where the selected node resides on the filesystem (i.e. c:\eclipse\test.html), from the returned result. How do I do this ? ...

BIRT Formating Legend of a bar chart

I have a small problem, a BIRT report I designed uses a bar chart. Now I want to increase the space between colored box and the text in the legend. Is that possible? (I'm using BIRT 2.1.3) EDIT: I forgot to mention I am using BIRT 2.1.3 with the RCP Designer. ...

Catching exceptions as an expression while debugging Java in Eclipse IDE

An everyday debugging situation for Java developers is that in which an Exception is thrown and then you need to dig into the debugger to find out what threw it. Usually you would try to set up some breakpoints before the exception is thrown and hope that you are able to determine the situation that leads up to that exception. In Eclips...

After checking out Subversion code into Eclipse, how do I get it to build?

This problem has been frustrating me for some time... A lot of sites like Sourceforge use SVN or Subversion to manage their code. I have little problem compiling SVN code in C++, but when it comes to Java, my IDE gives me a headache. I've installed Subclipse for SVN support for Eclipse, and it works. I can check out any code into my Wo...

Mylyn loses tasks context on restart

When I restart Eclipse, my Mylyn tasks are stored, but their contexts are empty. I'm using a local repository, and would like to have the context of a task back when I reopen Eclipse. I'm using Eclipse 3.4.0 and Mylyn 3.0.4. ...

How to write a hyperlink to an eclipse console from a plugin

I would like to write the location of a file to the eclipse console as a hyperlink. When you click on it it should open the file in eclipse. I'm currently doing something like this (but the link doesn't show up) console = new MessageConsole("myconsole", null); console.activate(); ConsolePlugin.getDefault().getConsoleManager().addConsole...

delete a line in Eclipse

In a visual studio, you would use Ctrl-x, where is in eclipse I am force to select a line or if it is empty, go the beginning of the line before clicking delete/backspace. Is there a quick shortcut? Thanks ...

Navigate to Declaration (F3 or CTRL+Click) - show file in Navigator

I've been using Eclipse to develop Flex application for a while and after I upgraded to Eclipse 3.4.1, I noticed that whenever I CTRL+Click a type to navigate to it's declaration, the editor will open on the selected type, but it won't "Navigate" to file on the Flex Navigator tree. I've checked that this is not the default behavior on m...

How to exclude certain class/packages/public members from javadoc

I have created java api -ported from C# to be more specific- which aside from public interface, contains a lot of internal stuff that I don't want a user to know about. In C#, I have used doxygen to generate documentation. I presume javadoc has similar features to exclude certain public members, classes, even packages. Would someone s...

Eclipse plugin development resources

I'm looking for good resources on creating Eclipse plugins. Can anyone point me to must-read books, articles or tutorials on the subject? Update: added recommended books and links Books Eclipse Plug-ins (3rd edition), Eric Clayberg Professional Eclipse 3 for Java Developers, Berthold Daum Links Eclipse Corner Articles (Plug-ins...

Disable automatic horizontal scrolling in Eclipse?

Sometimes when I jump into source code, e.g. from search or when looking up the declaration of something, the Eclipse text editor tries to display nearby long lines by horizontal scrolling. This happens even if the item I jumped to is well within the display without scrolling. I find this rather annoying, so: Is there a way to disable t...