J'ai un problème avec mon projet et ant4eclipse. Si je cours le build.xml j'ai reçu ce message:Problème de classpath ant4eclipse
Exception in thread "main" : org.ant4eclipse.lib.core.exception.Ant4EclipseException: Exception
whilst resolving the classpath entry '[EclipseClasspathEntry: path:
org.eclipse.jst.j2ee.internal.module.container entryKind: 0 outputLocation: null exported: false]' of project 'MyProject': '
No 'jdtClassPathLibrary' defined for library entry
'org.eclipse.jst.j2ee.internal.module.container'.
To resolve this problem, please define a 'jdtClassPathLibrary'
element inside your ant build file:
ant4eclipse:jdtClassPathLibrary name="org.eclipse.jst.j2ee.internal.module.container"
fileset dir="..."/
/ant4eclipse:jdtClassPathLibrary
Mais où puis-je trouver les fichiers? Le fichier .classpath vient cette entrée:
classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/
Vous êtes mon héros! Les variablesAndContainers.dat contiennent tous les chemins manquants pour le jar :-) –