Tuesday 29 January 2013

Subclipse problems

Si vous avez l'erreur suivante à la création d'un nouveau repository SVN ou à l'import :   

La requête de la couche RA a échoué
svn: OPTIONS de 'https://subversion.assembla.com/svn/irit_workspace': Impossible de se connecter au serveur (https://subversion.assembla.com)


Alors aller dans Window > preferences > SVN et changer le client dans "SVN interface", le problème devrait être résolu.



Tuesday 22 January 2013

Wednesday 16 January 2013

ArrayList initialization

A concise way to initialize ArrayList in Java using anonymous classe:    

 List<Class> array = new ArrayList<Class>(){{          
            add(CreateEvent.class);
            add(SendEvent.class);
        }};

Monday 14 January 2013

How to manage your Eclipse/RCP plugin versions

The short answer:

When to change the major segment: major segment number must be increased when a plug-in makes breaking changes to its API. You have then to reset the other segements.

When to change the minor segment: minor segment number must be incremented when a plug-in changes in an "externally visible" way (no API breaking and no bug fixes)

When to change the service segment: service segment number must be incremented whenever there have been changes to a plug-in between releases that are not visible in its API (e.g. bug fixes)


More details : http://wiki.eclipse.org/index.php/Version_Numbering