Utilisant Eclipse pour mes taches Ant,je desire faire une modification dans le fichier .classpath ( c'est un fichier xml ).

Mon fichier est le suivant :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
 
<classpathentry kind="src" path="JavaSource"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/..."/>
<classpathentry kind="con" path="com.ibm.wtp.server.java.core.container/..."/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jakarta-oro.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-validator-1.3.0.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/projectService-v1_0_2.jar"/>
...
...
<classpathentry kind="output" path="WebContent/WEB-INF/classes"/>
les modifs que je voudrais faire sont:
-supprimer toutes les lignes dont kind="lib"
-reecrire de nouvelles lignes du type <classpathentry kind="lib" path="WebContent/WEB-INF/lib/xxxxxxxxxxx.jar"/>

Quel est la ou les taches ant a utilisée(s) et une rapide explication sur la façon de proceder

Merci