I know the image file needs to be where the getClass().getResource(filename) can find it, but I don't know where that is.
I'm interested both in where to put the images on the filesystem itself, and how to go about using Eclipse's functionality to set up the resources.
...
Sometimes when I am debugging code in Eclipse it happens that although I can see and inspect class member variables without any difficulty I am unable to inspect the values of variables declared locally within functions. As an aside, any parameters to the current function lose their 'real' names and instead one sees their values listed i...
I have an Eclipse RCP application that displays a lot (10k+) of small images next to each other, like a film strip. For each image, I am using a SWT Image object. This uses an excessive amount of memory and resources. I am looking for a more efficient way. I thought of taking all of these images and concatenating them by creating an ...
I have a large existing c++ codebase. Typically the users of the codebase edit the source with gvim, but we'd like to start using the nifty IDE features in Eclipse. The codebase has an extensive directory hierarchy, but the source files use include directives without paths due to some voodoo we use in our build process. When I link th...
Given a class, org.eclipse.ui.views.navigator.ResourceNavigator for example, how do I find out which jar file to use? I know it's in org.eclipse.ui.ide, but how would I find that out?
Edit: Thank you to all of you who answered. Like many things, there seems to be several ways to skin this cat. I wish javadoc contained this info. So far ...
I have an Ubuntu Server (with all of LAMP and Subversion installed). I use Eclipse with Subclipse, PDT and a few other great addins and use those exclusively to develop applications. The problem I'm having is that I'm developing on a Windows Vista machine and transferring everything to the remote Linux server.
However, developing fo...
I'm working with JSTL in Eclipse, using the WTP. I have jstl and standard.jar in my WEB-INF/lib directory, and everything works. Eclipse is giving me this warning in my JSP:
The TagExtraInfo class for c:forEach (org.apache.taglibs.standard.tei.ForEachTEI) was not found on the build path.
I have JSTL included:
<%@ taglib uri="http://...
In Eclipse RCP way of doing things, where should I keep my model objects? And when they are loaded or changed, how should they talk to the views?
I am attempting to port my existing application to Eclipse RCP. It could be viewed as an IDE-like application: I open a file, which contains links to source files. The source files are display...
Is it possible to add custom command-line arguments to an Eclipse .app folder? In my particular case, I'm working with ZendStudio. I'm assuming the base Eclipse release would behave the same way.
I've found what looks like two different places that could work, but neither yield any results:
ZendStudio.app\Contents\info.plist
ZendStudio...
I have Eclipse PDT with Subclipse installed and currently have a PHP project drawing from a repository on my production server. I have VMWare Workstation installed with Linux and was hoping to use that as a debug server using XDebug. The problem is that when I update files, they are only committed to the repository on my production ser...
I'm trying to get started with my first Eclipse plugin, but can't seem to find a good tutorial on the subject that is newer than 2003, when Eclipse 2.1 was in style. Any pointers on finding a quality tutorial that is still relevant?
...
The default generated hashCode and equals implementations are ugly at best.
Is it possible to make eclipse generate ones from HashCodeBuilder and EqualsBuilder, and perhaps even a toString with ToStringBuilder?
...
Im trying to add more syntax elements for zend studio for eclipse. I want to change the color of the equal sign and it is not listed so I can change it.
view here: http://img90.imageshack.us/my.php?image=dddij4.jpg
...
I've heard a lot about profiling. What is this all about? As far as I understand this is some kind of performance measurement but can someone elaborate this on more clearly so that a newbie can grasp the idea. Also, I use Eclipse IDE for my Java program. Can I profile my program using Eclipse IDE? What are the factors to be considered wh...
I'm getting the following error in Eclipse using the Cusp plug-in:
Package LISP-UNIT is not loaded
How do I fix it?
...
I'm using maven 2.0.9 with Eclipse 3.3.2.
I'm used to launching a fresh build once per day by a mvn clean install.
Then, if I refresh my Eclipse project, it will be "polluted" by files from Maven's target directory.
That's very annoying while performing searches, getting resources by "open resource" and so on.
Is there a way to avoid ...
I have this code:
myVariable
which I want to change into
trace("myVariable: " + myVariable);
using a direct hotkey like "alt-f12" to do it. I.e not using "ctrl-space" and arrow buttons.
is it possible in eclipse?
...
Eclipse always warn me about serialVersionUID. What is this and is this a matter of high importance? Is there any example where missing serialVersionUID will cause a problem?
...
I want to test a feature coming with SVNKit 1.2.1, which is not yet available on the update sites of the Eclipse or the Polarion project.
I got a checkout as described under "Latest Development Version" on svnkit.com/download.php, successfully built it with ant and successfully installed it with the Eclipses software manager.
Now I don...
I am trying to use Ganymede CDT to index our large codebase. It is painfully slow, can take a whole night to index the C++ files. Same project takes only 5 seconds to index with exuberant ctags 5.7.
Is there some way to find what the root of the problem is and to speed it up?
Maybe turn on logging in CDT, or some obscure option somewher...