Non classé

Seemle: A cool Eclipse plugin

Semmle is an Eclipse plugin that allows « you to search your Java code by writing your own queries in .QL, an object-oriented query language », quite similar to SQL in fact.

In others words, you can search anything you want to know about your code by writing a simple .QL query and executing it. The results are displayed in a tree (see first screenshot).
Several charts can also be displayed.

An example of the query that can be run:

from
Class c, string name
where
name = c.getPackage().getName()
and name.matches(« abc% »)
select
c.getPackage()
c

Quite similar to SQL, isn’t it?

I must confess that I didn’t try this plugin for the moment, but I must find some time to test it…

Some screenshots of the plugin (click to enlarge pictures):


Start Slide Show with PicLens Lite PicLens

My perfect toolbox

In my previous « profesional » blog, I made a list of the softwares that must be installed on my computer.
Please note that I am speaking of my working computer, not my personal one…
Here is my current list:

Edition

  • Pspad: A free and really powerful editor.
  • NVU: An HTML editor.
  • Kompozer: The NVU bug-fixes release.

System

  • Process Explorer: Replace the default windows task manager by Process Explorer!
  • Autoruns: Want to know what is launched when Windows starts? Try autoruns!
  • CubicExplorer: An alternative to the Windows Explorer, with bookmarks, tabs…
  • Supercopier: Replace the default copy tool of Windows.
  • Unlocker: A process is locking a resource on your disk? Use unlocker to solve this problem.
  • Console²: Change the DOS command for Console², with tabs, better UI…
  • Taskbar shuffle: Rearrange the programs on your Windows taskbar by dragging and dropping them.

Tools

  • Stroke It: Execute commands, start programs only with a mouse gesture! Magic!
  • 7-zip: A free file archiver.
  • Ditto: A copy-paster manager, to not be limited to one element in your clipboard.
  • Dirkey: Use Ctrl-0 to Ctrl-9 to access your preferred directories on your disks on Windows Explorer.
  • Print screen: A free tool to create screenshots, with a lot of options…
  • Launchy: Type Ctrl-Space, then write the first letters of the application, and it’s launched!
  • Keybreeze: Almost the same thing as Launchy.
  • PDF Creator: To transform any document to the PDF format (a new printer is added in your configuration).

Development

  • Tortoise CVS: A CVS extension for Windows Explorer.
  • Eclipse: Java development IDE.
  • Netbeans: Another Java development IDE, much better as Eclipse when you need to create Java application with Swing (this is my opinion ;o) ).

Multimedia

  • Foobar 2000: A powerful media player. But needs a lot of configuration…
  • XnView: A powerful image viewer. Also offers lot of conversion controls.

Internet

Firefox plugin

Do not hesitate to share your list with me, using the comments.

My Eclipse.ini configuration

I must admit that I never took the time to configure my Eclipse configuration (in Eclipse.ini file or with the launch command options).
Because I was bored of messages like « Eclipse is running out of memory… », I decided to find some information about the Eclipse configuration.

This is my eclipse.ini file:

-clean
-vmargs
-Xms40m
-Xmx512m
-XX:PermSize=128M
-XX:MaxPermSize=256M
-XX:NewRatio=3
-XX:+UseParallelGC

With this configuration, all OutOfMemory exceptions have gone, at least for the moment :)

Do not hesitate to share your experience.
Note that configuration depends on your usage of Eclipse…
I am using Eclipse to develop web applications, using Spring, Hibernate, JSF (with JBoss Tools), Tomcat…

Start Slide Show with PicLens Lite PicLens

Prochain article : Sonar !

Non, je ne me suis pas acheté un sous-marin ou un bateau (hélas) ! Sonar est un outil créé par la société suisse Hortis et qui est destiné à offrir un maximum de metrics (ou statistiques) sur son projet. Sonar permettant également une historisation, il devient possible de mesurer la qualité de son projet au cours du développement ! Comme ils le disent si bien, Quality is under control ! ;)

L’outil mérite donc bien un article, d’autant que l’on peut reprocher le manque de documentation…

En attendant, vous pouvez aller faire un tour sur le site de démo de l’outil.

Start Slide Show with PicLens Lite PicLens

L’intégration Continue avec Hudson

Hudson est un outil formidable !

Il s’agit d’un outil d’Intégration Continue, c’est-à-dire qui va se charger de compiler, tester et déployer vos projets, pratiquement en temps réel, en intégrant aussi rapidement que possible, les modifications du code.
L’Intégration Continue est, de mon point de vue, indispensable aujourd’hui, pour qui veut être un minimum agile. Hudson est l’un des nombreux outils qui permettent de faire cela, mais c’est sans aucun doute le plus convivial et agréable à utiliser. Bien qu’il soit extrêmement simple à utiliser, il n’en reste pas moins l’un des plus complets au niveau des fonctionnalités !
Bref, que du bonheur…

Pour vous aider à vous lancer, j’ai écrit récemment un article sur le site developpez.com (mon premier article d’ailleurs B) ).

L’article ici

A noter que l’article traite de la version 1.200 d’Hudson, alors que nous sommes déjà à la version 1.222 :!: (liste des modifications ici, en anglais).

N’hésitez pas à me donner votre avis dans les commentaires !

Start Slide Show with PicLens Lite PicLens

Bienvenue !

Bienvenue sur ce nouveau blog.

Il s’agit de ma énième tentative de maintenir un blog « pro », et j’espère que cette fois-ci ce sera la bonne ;)

Allez bonne lecture à vous, et bonne écriture à moi !

Start Slide Show with PicLens Lite PicLens