Archive for June, 2006



Several reasons convinced me to move cintoo Messages from jMock to EasyMock 2. The main reason is that jMock has no static importable methods for mock creation and verification. The way to do this in jMock is to extend a jMock TestCase class. Unfortunately this class depends on JUnit, so when moving to TestNG I […]

Ora, where do you go?

The funniest quote I’ve read for some time is “Lower-level languages that don’t support associative arrays (such as C++ or Java) are not as good for implementing tag clouds, because you will end up writing considerably more code.” on an ORA site. Later on in the comments the author says he really meant syntax support […]

Due to the help by Alex with TestNG I finalized the Messages 1.0 release.
Messages is a free framework to make internationalization easier for Java
applications. It adds several features compared to default Java internation-
alization and support locales for threads and different bundles for different
packages. This allows the usage of different bundles for different parts of
the application […]

Thanks to the help from Alex (from the TestNG project, great support) I managed to move Messages from JUnit 3 to TestNG. TestNG is more flexible and seems to move faster. JUnit 4 was released after I started moving projects to TestNG, so my default now is TestNG and I only use JUnit 4 […]

I switched several projects from JUnit 3 to TestNG. After some minor problems with the fact that TestNG doesn’t seperate tests as JUnit does per default, everything works in IDEA and Maven. But whatever I tried, I can’t get TestNG to work with Ant. The TestNG Ant task just doesn’t find any tests. I […]

Just made the last version the RC1 version without changes. Everythings seems to be working, no complaints. If everything moves along as planned, this will become 1.0 final. After that I’ll have some ideas on 1.1. Thanks to all users for their feedback.
http://messages.cintoo.org
var dzone_style=”2″;

When formatting messages with Messages.format code becomes quite noisy. So I thought why not use a special char for the method name? I used “_” which seems to be unintrusive.

Messages.format( “FILES_WRITTEN”, files);

then becomes

Messages._( “FILES_WRITTEN”, files );

combining this with the new static import feature from Java 1.5 (great timing :-) this becomes

import static api.cintoo.messages.Messages.*;
_( “FILES_WRITTEN”, files);

which […]

I’ve released nother alpha, which looks quite final, so the next one will be a beta version.

Changes since the last version:
- Added support for hierarchies, if a key is not found in one context (e.g. my.package)
Messages now looks in the parent context (e.g. my)
- Added support for language hierarchies,if a key is not […]




RSS

About

Stephan Schmidt is the project manager for Reposita. He is one of the founders of SnipSnap and is the lead on Radeox. Stephan has been working as a project manager and CTO and is currently a team manager at ImmobilienScout24 in Berlin. He can be reached at stephan@reposita.org. All views are only his own.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.