Eclipse Console limit

Posted by Mike Haller on Monday, March 30. 2009 at 23:10 in Eclipse
Over years, i extended Eclipse's System.out Console view limit manually to 1MB, so there's more of the log file output to read than just the default of 80kb, which is just too little for the usual clutter of enterprise application logging.

Today, a fellow developer showed me how to circumvent the limit. She pointed out that there's a checkbox to disable the limitation of the console. A neat little checkbox and I missed it for years.

My eyes probably just scanned over the preference dialog and did never recognize it. But see for yourself, it's right there and always has been:


just like you!

Posted by Mike Haller on Friday, March 13. 2009 at 21:33
Doctor to new mother: "Your baby is so cute!"
New mother: "Thanks, but don't you say that about every baby?"
Doctor: "No, just the ones who are really cute."
New mother: "Then what do you say about the rest?"
Doctor: "`He looks just like you!`"


(from a comment on Jeff's post about his newly spawned child process; congrats Jeff!)

New template and syntax highlighter

Posted by Mike Haller on Sunday, March 8. 2009 at 15:51
I used the "Kubrick" style as the previous design template for this blog. It was nice to read but had a drawback: it was too narrow and thus often source code was scrambled due to line breaks. I replaced the template now with one called zenlike. I think its width is large enough and code snippets should look much better.


Extending SQuirreL with plugins

Posted by Mike Haller on Saturday, March 7. 2009 at 16:33 in Java, SQL
SQuirreL is a 100% pure-Java implementation of a generic SQL client. You can browse and analyse any database which provides a JDBC driver. You can execute any kind of SQL statements. SQuirreL provides a plugin mechanism to hook in additional features. The default installation comes with a lot of plugins, for example MySQL-specific plugins, code completion, data import plugins and more.

Squirrel: I'm watching you!

In this article, I'd like to show you how to write your own plugin for SQuirreL and what you need to do to set up your development environment. I'll implement two features for indexing tables and their content into an Apache Lucene index and to make it searchable using full-text search.

XML Schema Validation done right

Posted by Mike Haller on Wednesday, March 4. 2009 at 13:06 in Java
To validate an XML document against an XSD Schema, Java 5 offers standard functionality with the built-in JAXP API. To do that, first create the Schema object as follows:
URL resource = getClass().getResource( SCHEMA_FILE );
SchemaFactory factory = SchemaFactory.newInstance( XMLConstants.W3C_XML_SCHEMA_NS_URI );
Schema schema = factory.newSchema( resource );

About

My name is Mike Haller and I'm a software developer and architect at Innovations Software Technology in Germany. I love programming, playing games and reading books. I like good food, making photos and learning and mentoring about the craftsmanship of commercial software development.

Quicksearch