Dimitri Missoh
enthusiastic technologist and problem solver

May 25th, 2008

Source code available from Subversion

The source code of all of my projects is now available from the Google subversion repository. Google friendly gives every developers the possibility to store and manage all kind of projects using subversion. If you also wants to host you own project, read the very useful blog entry on http://blog.msbbc.co.uk/2007/06/using-googles-free-svn-repository-with.html.
Here is the URL you need to anonymously check out my projects:


To use subversion under eclipse you need the plug-in Subclipse you can download for free under http://subclipse.tigris.org/.

May 22nd, 2008

Eclipse, let groove it! Eclipse scripting and rapide prototyping

Warning: fsockopen() [function.fsockopen]: unable to connect to swarmy.free.fr:80 in /mnt/105/sda/5/a/swarmy/wordpress/wp-includes/class-snoopy.php on line 1142

A few days ago I’ve tried out the Groovy Monkey project. It is amazing to see how a few lines of code can be used to write powerful scripts for eclipse. The installation of this plug-in is quite straightforward. I’m using the 3.4M7 build of eclipse and use the new dropins location available from within eclipse to install the groovy monkey plug-in. Here are the necessary steps to install it:

  1. Go to the source forge site of the project and download the last build of the groovy monkey project (e.g. groovyMonkey.zip).
  2. Create a new folder e.g. with the name groovyMonkey in the dropins folder of your eclipse installation directory.
  3. Unzip the content of the downloaded file (e.g. groovyMonkey.zip) into the groovyMonkey folder previously created
  4. Restart your IDE.

Using the dropins folder to install plug-ins
The plug-in is delivered with some nice sample scripts. Try them!

Here is my very first script:

* Script-Path: /GroovyMonkeyScripts/monkey/MyFirst.gm
* Kudos:
* License: EPL 1.0
* Job: UIJob
* DOM: http://groovy-monkey.sourceforge.net/update/plugins/net.sf.groovyMonkey.dom
def viewsString = ""
def views = window.getActivePage().getViews()
for(view in views){
   viewsString = viewsString + 'View: ' + view.getTitle() + '\n'
def message = 'Enumerate all views actually opened in your workbench:\n\n' + "$viewsString"
org.eclipse.jface.dialogs.MessageDialog.openInformation( window.getShell(), 'Active Views', "$message")

Other internet ressources related to Groovy Monkey:

May 6th, 2008

Parse CSS

This time I’am trying to compile a CSS file using SAC (the Simple API for CSS) and the java implementation of David Schweinsberg, the CSS Parser. The goal is to be able to transform the CSS file in a tree model. This model can than be used to navigate or modify the CSS structure.

Import the attached project files into your eclipse IDE to see how it works.

Download Projects Files.