domingo, 14 de abril de 2013

Eclipse: SVN plugins

Actualmente Eclipse cuenta con dos plugins principales para acceder a repositorios SVN:  Subversion de Tigris (probado el cliente v. 1.8.0 con core v. 1.8.4) y Subversive (probado el conector v. 2.2.2 con Team Provider v. 0.7.9).
Estoy trabajando con ellos en diferentes entornos y como resultados de las pruebas puedo decir:
  • Subversive esta mejor preparado para trabajar con branches/tags
  • Commits y descargas son similares
  • Tigris ofrece un enlace directo a "Update to HEAD" mientras que con Subversive tienes que buscar esa versión en el "Update to Revision..."
  • Tigris ofrece para el control, como herramientas adicionales, "Show Revision Properties" y "Show Revision Graph"
  •  En caso de conflicto se comportan de forma similar, salvando que Tigris no tiene un "Overwrite and commit" por lo que antes de poder hacer el "Commit" habría que lanzar un "Mark as merged"
  • A la hora de hacer el commit, Tigris ofrece la posibilidad de hacer un "Compare With" de los elementos modificados
  • Ambos funcionan mal para el borrado de elementos locales (si el borrado ha sido en remoto lo actualizan sin problemas), dando bastantes problemas, especialmente si lo que se pretende es rehacer algo que se ha eliminado sin hacer el commit de por medio:
    • Subversive no hace bien el commit pero tampoco da avisa con algún error
    • Tigris, además de indicar que el cambio es por un borrado,  si que da un error
    • Eliminando primero los ficheros y después las carpetas ya vacías, Tigris si que acaba haciendo el commit (si no se ha intentando regenerar nada) mientras que Subversive sigue sin subir los cambios
    ________________________________________________ 

    Nowadays  Eclipse has two main plugins when you work with SVN: Subversion of Tigris (I have tested the client v. 1.8.0 with core v. 1.8.4) and Subversive (I have tested the conector v. 2.2.2 with Team Provider v. 0.7.9).

    I am working with both of them in different IDEs and I have concluded the following:

    • Subversive is better prepared to work with branches/tags
    • Commits and downloads work similar with both of them
    • Tigris offers a shortcut with "Update to HEAD" while with Subversive you have to find this version with "Update to Revision..."
    • Tigris offers additional tools for control like "Show Revision Properties" and "Show Revision Graph"
    •  In case of conflict they work similar, but Tigris has not got "Overwrite and commit" so you have to clic in "Mark as merged" before do the "Commit"
    • When make a commit, with Tigris you can use the option  "Compare With" with the modified elements
    • Both of them do not work correctly when you delete local elements (if it has been in remote, they update the changes without any problem), giving problems, especialy when you try to redo something without do a commit before:
      • Subversive does not the commit but it also does not any warning
      • Tigris, in addition to marking the change of type erasure, get an error
      • When you firstly remove files and after that remove empty folders, Tigris does a correct commit (if you did not redo anything) while Subversive continued without do the changes

    lunes, 14 de enero de 2013

    ESB Apache

    En esta entrada pretendo hacer una pequeña aclaración entre las diferentes opciones de buses (ESBs) basadas en productos de Apache:
    1. Camel is un pequeño motor de enrutado y mediación que implementa Enterprise Integration Patterns (patrones de integración, para canalizar las peticiones). Aunque Apache no lo considera como un bus, por el comportamiento puede considerarse similar a uno de ellos.
    2. ServiceMix es un integrador de código abierto basado en OSGi que permite el empleo de forma sencilla de otros productos de Apache como Camel, ActiveMQ, CXF, ODE, Karaf.
    3. Fuse básicamente es un Apache SerivceMix que ofrece soporte.
    4. Synapse: Apache Synapse es un bus ligero de apache actualmente adandonado en pro de Apache ServiceMix.
    5. WSO2: WSO2 Enterprise Service Bus es un bus gratuito, basado en Apache Synapse pero con varios años de evolución por su cuenta. Tiene un interfaz bastante amigable (aunque no tan potente como otros buses de pago) y cuenta con una serie de productos del mismo WSO2 para potenciarlo.

    ________________________________________


    In this page, I try to exposed the differents ESBs based in Apache's products:
    1. Camel is smart routing and mediation engine which implements the Enterprise Integration Patterns. This is not really an ESB although can behave similar as one of them
    2. ServiceMix is open-source integration container that provides a complete, enterprise ready ESB exclusively powered by OSGi. It unifies other products of Apache as Camel, ActiveMQ, CXF, ODE, Karaf.
    3. Fuse is basically Apache SerivceMix with support.
    4. Synapse: Apache Synapse is a lightweight Enterprise Service Bus currently abandoned by Apache in favor of apache Servicemix.
    5. WSO2: WSO2 Enterprise Service Bus is a free ESB originally based on Apache Synapse but with several years of evolution on its own. It has a very friendly interface (although not as powerful as other buses charge) and has several products of the same suite of WSO2 that add value.