I'm trying to debug a problem in my Java application that throws no errors, no exceptions and doesn't even crash the app (it seems the failure happens in a separate thread).
The problem seems to be inside a call to a library function (it's JAXBContext.newInstance(String) if that matters). The program will reach the line just before the ...
I'm debugging an application on a remote server running JBoss using Eclipse. My particular problem is a NullPointerException in a JSP. The JSP has too much Java code inside scriptlets but, unfortunately refactoring is not going to be an option. Finding the line that throws the NullPointerException has been incredibly challenging and I...
I have a plugin which contains class A that brings up a view defined in class B via the following line of code:
(VideoLogView) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView("Videolog.VideoLogView");
What I need to do in the createPartControl() method of the view (class B object) is access a method in t...
I'm currently trying to get a Tomcat server I have running in Eclipse on http ://localhost:8080/ to be noticed through Flex Builder 4. I think it may have to do with the config.xml file in my Flex Builder project. It is currently set as the following (as well as some other stuff)
<config>
<server>
http://localhost:8080/myty/myy?p1=a...
Is there a way (I'll settle for a hack) to make the code-folding gutter in Eclipse render with a black background? I'm clinging to TextMate as my main editor but would really like to go back to Eclipse for code completion, but I'm stuck with this ugly crap: http://gfx.notbrain.com/eclipse_code_fold_gutter.png
...
i installed eclipse/galileo on mac x 10.5.
i'm trying to install subversion plugin, but the eclipse help menu is actually mac's help menu, so i cannot get to the software update menu item.
How do i install a plugin on mac?
...
I have an RCP product which doesn't run. Then I installed Eclipse freshly, and when I open Eclipse.exe it doesn't open Eclipse IDE. I get the error: NoClassDefFoundError: com/mercury/javashared/agentloader/AgentBootstrap (Please see complete trace below).
System has latest jdk,jre installed. What could be the reason for that error?
(P...
Hi Everyone,
Can anyone recommend on a real good book regarding building plugable application frameworks like eclipse?
Thank you very much
Adi Barda
...
For various reasons my project can only be run as a finished and packaged JAR (some magic happens at assembly), so I run it as an external tool in Eclipse.
What I'm missing is debugging functionality. Is there any way of running an external tool in debug mode in Eclipse?
...
Is it possible to integrate Jquery with Eclipse/MyEclipse?
By integrating i mean, if i am working on any JSP or HTML file and i include jquery.js, then it should automatically start code assitance / autocompletion.
Edited:
I don't want to use APTANA ( 127 mb plugin ). If there is other way round please let me know.
...
Hello,
The question has two parts, one of which I already have the answer for.
How to auto-remove trailing whitespace from the entire file being edited? -> Answer: use the AnyEdit plugin, which can be set to do that on any save to the file.
How to auto-remove trailing whitespace only from the lines I changed? -> This I don't know and ...
I have a Java project in Eclipse with ~10 packages and ~10 class files per package. Is there a way to determine total lines of code for the whole project from within Eclipse? I am familiar with other tools (e.g., Code Analyzer, wc, etc.) but I want to know if there is a way to do this within Eclipse (or get confirmation that there is n...
I am attempting to get full path of a selected node in the package explorer which is a folder or package not a file in my Eclipse Ganymede plug-in. I tried the way that is mentioned at http://stackoverflow.com/questions/585802/how-to-get-the-selected-node-in-the-package-explorer-from-an-eclipse-plugin page, but whenever i use the follow...
So, I've got a routine that can be called from about four different functions. What I want to do is walk up the possible routes that a this routine could have been called from.
I'm using Eclipse. I'm thinking this must be somewhat possible as I know I can do this by hand, albeit slowly.
...
Hi all.
I'm making a AWT GUI for a simulation game.
I have only been working with java for 2 years, and so have limited experience with building more complex GUIs. I have done a few simple ones, hard coded, and tried jigloo in eclipse.
I am thinking of using MIG Layout, although some say I should really try and use jigloo more, or anothe...
Hey,
I am working on a program using eclipse galileo and jdk 6. The problem is that when I use any import.jxl... statement I get an error in eclipse and it won't compile. So statements like "import jxl.write.Label;" give me an error. I don't understand why that is. It says it doesn't like the jxl statements. If I use any import.java......
I create a JFace ListSelectionDialog as follows.
final ListSelectionDialog dialog = new ListSelectionDialog(
PlatformUI.getWorkbench().getDisplay().getActiveShell(),
List<SomeClass>,
new ArrayContentProvider(),
new LabelProvider(),
""); //$NON-NLS-1$
dialog.setTitle("Dialog Title"); //$NON-NLS...
I have a feature called foo, plugin called foo, and a single fragment foo.win32.x86.
I should be able to execute a call to eclipse.buildscript within an ant file on a feature and have it create a build.xml for the feature, plugin, and fragment; however, all I get is the build.xml for the feature and plugin.
The foo feature.xml:
<?xml ...
I am using eclipse 3.5 (cocoa build) on Macos 10.5 with Java 1.5.0.19.
I just have 3 java files opened
1 files ~ 2000 lines
the other 2 are ~ 700 lines.
But when I switch from 1 file tab to another, eclipse takes a long time (~ 20 seconds) to switch to another tab.
I have already change the eclipse.ini to
more eclipse.ini
-startup
....
I'm looking for a tool to give me some code metrics (total LOCs, LOC/Class, # of external references/class, etc...).
Does anyone know a good eclipse plugin that could provide me some some code metrics?
...