TP – Intégration continue
mardi 7 mai 13
Partie 1 : Introduction
Désactivez la construction automatique d’eclipse
Initialisez un projet Java et structurez-le comme suit :
src
main
java
test
java
target
classes
Java source path
Default output folder
mardi 7 mai 13
Partie 1 : Introduction
Créez une classe fr.univ.App disposant
d’une méthode
public static void main(String[] args)
mardi 7 mai 13
Partie 1 : Introduction
Créez un fichier build.xml à la racine
du projet contenant :
<?xml version="1.0" encoding="UTF-8"?>
<project name="Projet" default="build">
!<target name="build">
!!<echo>Construction du projet...</echo>
!</target>
</project>
mardi 7 mai 13
Partie 1 : Introduction
Ouvrez la vue eclipse «Ant»
Ajoutez votre fichier build.xml à la vue
Lancez la tâche Ant et constatez le
résultat
mardi 7 mai 13
1 / 15 100%
La catégorie de ce document est-elle correcte?
Merci pour votre participation!

Faire une suggestion

Avez-vous trouvé des erreurs dans l'interface ou les textes ? Ou savez-vous comment améliorer l'interface utilisateur de StudyLib ? N'hésitez pas à envoyer vos suggestions. C'est très important pour nous!