I have a very simple properties file test I am trying to get working: (the following is TestProperties.java)
package com.example.test;
import java.util.ResourceBundle;
public class TestProperties {
public static void main(String[] args) {
ResourceBundle myResources =
ResourceBundle.getBundle("TestProperties");
...
Hi,
I'm trying to understand Emma the code coverage tool and it seems ok till the moment I need the metadata, for example which line exactly is left out or is covered. I need this information for my own application but can't get to it. The xml report doesn't provide it.
I would be thankful if anybody can help.
...
In Eclipse you can configure numerous servers to run inside the IDE, including Tomcat. Depending on your Tomcat configuration, at some point in the life cycle of a webapp your JSP files will get compiled into servlets. These new servlet .class files are stored in the %TOMCAT_HOME%/work directory along with the .java intermediate file cre...
Eclipse CDT provides two indexers for C/C++ code (Preferences > C/C++ > Indexer). Does anybody know what the exact difference is between these two?
The help file isn't exactly enlightening:
"CDT supports the contribution of
additional indexers, with 2 indexers
being provided with the default CDT
release:
Fast C/C++ In...
Hi all
I'm at university, and we were taught to use notepad to programme java to start with. I moved onto notepad++ and quickly onto eclipse.
In notepad++, i could roll up (plus minus sign) if statements or for loop as well as methods and classes. I wondered if there is a plugin for eclipse that allows me to do the same?
Also, are there...
I created a java project and then tried to import Java source code from two different projects. I've been working on it for a few hours, deleting and re-creating the project dozens of times to try to reconcile all of the messed up references between these two projects - which other people say are supposed to work together reliably.
What...
What would cause a jar to be added successfully to an Eclipse Java project but then at runtime some of the classes from that jar are not found with ClassNotFound exceptions?
...
Eclipse has a Run Configurations screen with a Classpath tab.
I had some jars listed in the "user entries" section of this tab but my project did not run until I duplicated those jar files into the "bootstrap entries" section. After the jars were listed in both sections, the project ran successfully.
Why?
What's the difference betwe...
This seems like kind of a silly question but is there a way to change the standard in in eclipse. If I was doing this from the windows console it would look like "java myprogram < stdin.txt"
...
Hi,
Can anyone show me how to use org.eclipse.jface.viewers.ColumnViewerToolTipSupport to create a tooltip similar to the one shown in Eclipse IDE when you hover your mouse to any Java element? That is, I want the tooltip to be resizable, I also want to hook an F2 key to show the tooltip on demand in addition to mouse hover.
I have ...
Hi all
My name is Oleg, I'm writing advanced feature - visual comparison of BPEL files.
I would like to use regular editors in "compare" panes (left and right)
As a first step I just want to open two editors (one for each file)
Later I can 'hack' them a little, make new parts green,
deleted parts red etc...
So my problem sounds pretty ...
I am having a bit of trouble building my project with Ant. I wanted to take a look at the Ant scripts that eclipse uses to build my project. How can I do this?
...
I am writing an Eclipse Plugin that opens a file and displays all the images contained within the file. This image display is part of a GUI application. Each image is rendered by associating it with an SWT Canvas widget. When I open the file I have all the information I need to determine the number of images I will have to display. I...
Is it possible to install BlackBerry Eclipse JDE plugin on Mac OS X? I tried to install the plugin through the eclipse update and also by downloading the zip file from the BlackBerry site.
This is the most unintuitive process for getting set up in development environment. BlackBerry site does not make it easy.
...
Hello!
I am trying to implement some sort of MVC in Java. Actually it's more of a MVP but this doesn't really matter to my problem.
Following situation:
I've got a GUI, made with Netbeans (because of the better GUIeditor) which is updated and changed frequently.
As my main project is easier to maintain in Eclipse I chose to import the...
I'm trying to obtain details of an Eclipse user's structured selection in the Navigator Tree view. At present I have the following which is based on the org.eclipse.ui.popMenus extension point:
public void run(IAction action) {
Shell shell = new Shell();
ISelection selection = workbenchPart.getSite().getSelectionProvider().getSelecti...
Hi guys,
I am trying to use the eclipse-cs plugin on Rational Software Architect 7.0.0.4.
I recently uninstalled the older beta2 version and installed beta3. The plug-in itself works as was previously configured. But whenever I attempt to re-configure the check rules via Windows->Preferences->Checkstyle, I get the following error:
Pro...
After working in Eclipse for the past 3 years and memorizing all of the great shortcut keys and features, my new job has me moving back to Visual Studio. I've found some listings of shortcut keys on VS, but am looking for a comprehensive guide mapping Eclipse features to Visual Studio. Does anyone know of a good tutorial aimed at helpi...
I have an plugin that displays a composite with a horizontal scrolled bar. I can't figure out how to get GridLayout() to position each widget one row, one after another. If the number of widgets exceed the composite width, you should be able to scroll right to see the rest of the widgets. The horizontal scroll bar appears, but has no ...
Is it possible to create a virtual composite using SWT, i.e. one could scroll horizontally or vertically beyond the maximum display area of the composite?
I want the length and height of my widgets (images) to stay constant regardless what size the composite is changed to.
If there are 50 images to display and only 10 can be viewed at ...