2010-01-29 Nicolas Hernandez <nicolas.hernandez(@gmail.com)>
Souhaitant automatiser la procédure de récupération et d'installation d'Eclipse, j'ai aussi cherché à récupérer automatiquement les plugins à partir du web. Cela m'a conduit à produire le script get-and-install-eclipse-plugins.sh
FEATURES
Ce script prend en entrée l'url d'un site distributeur de plugins eclipse, le nom sous lequel vous souhaitez archiver les plugins récupérés et optionnellement la racine du répertoire d'Eclipse dans lequel vous souhaitez installer les plugins.
Le script récupére le fichier artifacts.xml sur lequel il s'appuie pour récupérer les jar plugins et features correspondants au plugin spécifié.
Si plusieurs versions des jars sont disponibles, il récupère la plus récente.
Le script fonctionne sous Ubuntu avec Bash et Perl.
LICENSE
# User and developer environment for Apache UIMA # Copyright (C) 2010 Nicolas Hernandez # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>
EXAMPLES
./get-and-install-eclipse-plugins.sh subclipse "http://subclipse.tigris.org/update_1.6.x/" ./get-and-install-eclipse-plugins.sh m2eclipse "http://m2eclipse.sonatype.org/update" $ECLIPSE_HOME
KNOWN BUG
USAGE
DOWNLOAD
Last version is get-and-install-eclipse-plugins.sh.tar.gz