Wednesday, August 18, 2010

Run customized process to notify JUnit results

I made a plugin to run customized process to notify JUnit results. Before I introduced to notify JUnit results to Grows Eclipse Plugin beforeThen Ketan's comment, "+1 for a custom command line preference this would be useful to people on other operating system". I agreed with him.So I made a plugin.If you'd like to install the plugin, could you please download jar file and copy to your dropins folder in your Eclipse.Default setting is to run growlnotify.If you want to customize that process, please open preference page and choose "Java->JUnit->Process Notification" like below.

If I use this plugin on Ubuntu linux 10.4, this plugin integrated with NotifyOSD.
The process setting is like below.

/usr/bin/notify-send -i /home/kompiro/>eclipse/icon.xpm ${summary} ${detail}

If I use this plugin on Windows, this plugin integrated with Snarl and Snarl_CMD.
The process setting is like below.
C:\Snarl_CMD_1.0\Snarl_CMD.exe snShowMessage 2 "${summary}" "${detail}

I think this plugin is not only use for notification. If you'd like to store testing log, you can use shell, script, batch, and so on.
Enjoy your testing!

Sunday, July 18, 2010

WizardDialogTestRunner for SWTBot

I think SWTBot is a great framework for test on SWT Application like Eclipse.
So I always use this framework for my plugins development.
But there are no WizardDialog Helper class.
So I implemented it below.

And this is a sample code how to implemente bu using these class.

How do you think about it?

Saturday, June 26, 2010

Eclipse-tan for Helios

I'm waiting for a long time to release Eclipse Helios!

My friend, @torazuka made a new splash screen for Eclipse Helios.

If you'd like to use the screen shot,
1. download the image
2. open eclipse.ini
3. fix -showsplash path to the bmp file.(You can use relative path like below.)


The image is published below.

Thursday, May 27, 2010

Notify JUnit Results to Growl Eclipse Plugin

I made a Eclipse Plugin for long-period testing on Eclipse for Mac.

Yes!, This plugin notify the test result to Growl.This is simple, but effective to drive to develop your application!
This plugin uses native library. So there are some constraint to use it.
If you use Eclipse for cocoa 64 bit edition, you can't use this plugin because the native library can't load on your Eclipse Environment.

The plugin is published below.
If you interested in this plug-in, then download and put it dropins folder!

Thursday, April 8, 2010

Where is DS Annotation?

I used Declarative Service in my application, JAM Circle.
Declarative Service is cool stuff.
It makes to solve bundles startup order.
But I confused a thing.
How do I inject the service at startup time?
I think services needs to initialize at startup.
So I choosed the way to solve by singleton class like below.

<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="" name="org.kompiro.jamcircle.kanban.ui.KanbanUIContext">
<implementation class="org.kompiro.jamcircle.kanban.ui.KanbanUIContext"/>
<reference bind="setKanbanService" cardinality="1..1" interface="org.kompiro.jamcircle.kanban.service.KanbanService" name="KanbanService" policy="static"/>
<reference bind="setScriptingService" cardinality="1..1" interface="org.kompiro.jamcircle.scripting.ScriptingService" name="ScriptingService" policy="static"/>

and implementation of Context class(The name inspired from "ApplicationContext")

package org.kompiro.jamcircle.kanban.ui;

import org.kompiro.jamcircle.kanban.service.KanbanService;
import org.kompiro.jamcircle.scripting.ScriptingService;

public class KanbanUIContext {

private static KanbanUIContext context;
private KanbanService kanbanService;
private ScriptingService scriptingService;

public KanbanUIContext() {
KanbanUIContext.context = this;

public static KanbanUIContext getDefault(){
return context;

public KanbanService getKanbanService() {
return kanbanService;

public void setKanbanService(KanbanService kanbanService) {
this.kanbanService = kanbanService;

public ScriptingService getScriptingService() {
return scriptingService;

public void setScriptingService(ScriptingService scriptService) {
this.scriptingService = scriptService;


It's not good way(T_T)... KanbanUIContext is a singleton class and be used to call ServiceLocator Pattern. It is not easy to test by code...
I haven't know there is no way to inject to use annotation for field injection.
Is there any way to use annotation and field injection?

Wednesday, April 7, 2010

JAM Circle 0.8.0 released

Hi all!

I'm glad to announce to release my RCP application JAM Circle 0.8.0!
Download site

Project Page

These are New Feature.
* Migrated p2 base Eclipse platform
* Added some Board customize extension point
* JRuby Scripting Console
* improved figures design
* added Japanese resource
* added Eclipes Plug-in Edition
* fixed some bugs