Archive

Posts Tagged ‘eclipse’

Strange Java 1.6.0 update 14 debugging problem

June 26th, 2009
Adrian Elsener

A few days ago, we upgraded the jdk we use for development. After this some developers experienced a special problem with our eclipse while debugging. When they set a breakpoint, eclipse did not stop. After a try and error phase we found a working solution. The problem disappeared when we set the vm parameter -Xms (define initial size of heap) to a higher value for the jvm inside eclipse. In our case we set -Xms to -Xms256m. We still do not know why this solution works. But we thought we’ll let you know.

 

Java, Software , , , ,

Schedule CVS Synchronization in Eclipse

February 3rd, 2009
stefan.jaeger

Source Control like CVS or Subversion is used almost in every software project. As a developer, it’s your responsibility to be up to date with the current version from the source control system. In Eclipse there is a nice feature to schedule such synchronizations. This means, you get regularly informed about all updates and you have less merging problems!

read more

 

Software ,

Eclipse will not find all classes with [Ctrl-Shift-T]

January 28th, 2009
Adrian Elsener

Today I stumbled upon the problem eclipse did not find some classes with the code completition or [Ctrl-Shift-T]. If you write the class name in the code everything looks ok. I tried to clean my workspaces with rebuild etc. did not work.

But there is hope: After deleting all content in .metadata/.plugins/org.eclipse.jdt.core eclipse re-indexes the workspace again and everything is ok. I guess -clean as startup parameter would work likewise but I can’t verify.

 

Java, Software , , ,

Eclipse and Ant – They really get along very well!

January 27th, 2009
Daniel Schröter

Have you ever used your own custom ant task in the eclipse environment. Well – I have written some ant tasks and they are being used by all developers in our company. But there’s the annoying thing that I always have to add the libs containing my tasks to the classpath. Nothing easier than this you might be thinking. Add it to ants classpath in the eclipse preferences. This works on my machine but what about all other developers? What about updates to the libs?

I guess I found the perfect solution for this problem. Write an eclipse plug-in that adds all libraries to ants classpath using the extension point of the ant plug-in and put the plug-in on an eclipse site so all developers can get it automatically.

That’s easy to say but how? Lets get our hands dirty…

read more

 

Java , , , , ,