eclipse

Something disturbing about PyDev content assist

I created a simple class in Python as follows, from UserDict import UserDict class Person(UserDict): def __init__(self,personName=None): UserDict.__init__(self) self["name"]=personName In another module I try to instantiate an object of class Person and print its doc and class attributes: import Person p = Person.Person("m...

Java: Finding out what is using all the memory

I have a java application that runs out of memory, but I have no idea which code is allocating the memory. Is there an application with which I can check this? I use Eclipse. ...

The dreaded java.lang.NoClassDefFoundError

I've looked through many of the existing threads about this error, but still no luck. I'm not even trying to package a jar or use any third-party packaging tools. I'm simply running from within Eclipse (works great) and then trying to run the exact same app from the command line, in the same location it's built to (getting this error)....

How do you fix loading plugins in eclipse 3.5.1 on linux?

I have two linux boxes. Both Fedora 11 x64. On one, I downloaded the eclipse-java-galileo-SR1-linux-gtk-x86_64.tar.gz. I unpacked it to /opt/eclipse-3.5.1/ and used the Install New Software... item to install the SVN team provider and the Polarion SVN connectors. Everything works. On the second, I copied the tar.gar for eclipse ther...

Visual Studio 2005 - Missing feature 'Code outline' (eclipse) or 'Defs' (SlickEdit)

I mostly use SlickEdit and eclipse while working on embedded systems. Once in a while I need to use Visual Studio, and I terribly miss this feature that is known by different names in different editors. Basically you get a small window of 'outline style' code summary on the side (showing just the function names and optionally the static ...

Can Eclipse 3.5 discover all bundles in the plugins dir?

Simple usecase: assemble an Eclipse product using simple scripts, just dumping bundles into the plugins dir. This used to work with 3.3 - with 3.5 it's broken: my application doesn't start as the app plugin is not found. Question: what's the easiest way to fix that? This seems to be the only pain in the whole upgrade process for me. ...

How to not write the DocumentRoot to the XML

Hi, I'm using EMF, and I created my ecore from XSD. I notice that the XML that are being saved by the editor have the element DocumentRoot, which is not part of my original XSD. Can I somehow not generate it, so it will not be in the XML files of the editor? Ido ...

Dependency bundle (jar-files/sources/API docs) in Eclipse

I'm developing various in-house extensions for JIRA, the issue tracker we use. So far I worked with Netbeans and everything worked like a charm. However, now I need to switch to Eclipse and I'm having struggle setting up the environment for this development project. First a clarification why I'm using the approach I'm describing here:...

NoClassDefFoundError exception when deploying dynamic web app from eclipse

I have a small Dynamic web project in Eclipse gallileo that references another project. When I deploy my project to Glassfish v2.1, as soon as I try instantiating the class that is located in the other project I get a NoClassDefFoundError. I can't figure out what setting I am missing to make sure that the referenced project is also deplo...

Why does GWT sometimes successfully compile and other times just stall?

I am working on a demo for a client of what's possible with GWT-Ext for GWT. After browsing for the simplest way to get up and running, I decided on installing the Google Plugin for Eclipse and using the New Web Application Wizard. First time around, I followed these steps for create the default application: Selected File > New > Web...

Eclipse + Tomcat = wrong docBase???

I am running Eclipse Galileo with Tomcat 6.0.18. Currently, I have a working application with the m2Eclipse plugin installed. It deploys to Tomcat and I am able to test my application. I am wanting to switch over to just using the Maven Eclipse plugin. The problem is that Tomcat is refusing to deploy my application. I have converted...

Tomcat logging in eclipse ganymede

Hi I am using eclipse ganymede and tomcat 6. Nothing appears in my console when im using tomcat 6 Any ideas of what I could do so that i can see logging on the console All help greatly appreciated Damien ...

Why is eclipse trying to copy my .svn folders from src to bin, and how can I make it stop?

I have checked out a bunch of java code using subversion 1.6 and then I imported those projects into eclipse. Subclipse 1.6 picked up the fact that the plugins are under version control, except for a few folders. I now get a bunch of errors like: The resource is a duplicate of src/.svn/all-wcprops and was not copied to the outp...

Is there a way in the Eclipse debugger to be notified when the state of a Java object changes?

I'm debugging some legacy code where we have a cached object that appears to be changed externally. If I know the object identifier for it (while debugging), is there some way to "watch" it so that if some other code in the same thread or another thread attempts to modify its state it'll trigger my debug? I can't use just an expressio...

Remote debugging Java application

I am getting the following message when I try to remote debug a java application through eclipse. "Failed to connect to remote VM. Connection refused." What could be the error? ...

How to add a .o on a static library with Eclipse ?

I have a .h and a .o that I need to add to a static library in Eclipse. I'm able to add it to an application with the Linker options, but for a static library, I haven't found where to add it in the settings. ...

JUnit View in Eclipse on OSX Snow Leopard

I recently purchased a mac and am trying to get junit tests working on Eclipse. I am using the latest Galileo, but for some reason there is no option to "run as junit" on the tests. What am I doing wrong? There's no JUnit view panel either. However I went into the "About Eclipse" thing and it said JUnit is installed. I also port installe...

Eclipse: Get location of the current file?

If I've got a file open in Eclipse, how can I figure out where it is on the filesystem? For example, in Vim I would use :pwd. ...

eclipse: make 'down' key go to end of line IF its the last line

simple eclipse question: is there a way i can make the 'down' key move to the end of the line (like the 'end' key binding) IF im editing the last line of the file (so it continues to behave like before, if its not the last line of the file)? pretty much like visual studio works, move up and down lines if its not the last line, but acts ...

How to use MessageDialog.open() with QUESTION_WITH_CANCEL?

I'm wondering how to use the new *QUESTION_WITH_CANCEL* dialog kind when opened with MessageDialog.open(int kind, Shell parent, String title, String message,int style). Since the open method is returning boolean and now we have 3 possible state from Yes, No, or Cancel. ...