Hi ! Thanks for your quick answer, it works just fine now :) Vincent
Ruel Loehr <[EMAIL PROTECTED]> a écrit : You need to add your ant-jmeter.jar as a plugin dependency. maven-antrun-plugin package run Add jmeter jar here ..... Ruel Loehr JBoss QA -----Original Message----- From: vincent daubry [mailto:[EMAIL PROTECTED] Sent: Thursday, March 02, 2006 11:12 AM To: users@maven.apache.org Subject: ant classpath Hi ! I'm new to Maven and i need some help to launch Jmeter from Maven using Antlib. I have already a build.xml which works fine, and i would like to call it from Maven at package phase. My problem is that i dont manage to add the "ant-jmeter.jar" to the classpath from Maven. (I'm using maven 2.0.2) Here is the build part of my POM file : maven-antrun-plugin package run And here is the error i get : [INFO] Error executing ant tasks Embedded error: The following error occurred while executing this line: C:\build.xml:6: taskdef class org.programmerplanet.ant.taskdefs.jmeter.JMeterTask cannot be found Here is my Ant script : jmeterhome="${jmeter.dir}" resultlog="${jmeter.dir}/result/JMeterResults.jtl"> in="${jmeter.dir}/result/JMeterResults.jtl" out="${jmeter.dir}/result/JMeterResults.html" style="${jmeter.dir}/result/jmeter-results-detail-report.xsl"/> I've got ant-jmeter.jar added to the lib directory of Ant, but i guess it's not the right way.. Thanks for your help ! Vincent. --------------------------------- Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.Téléchargez la version beta. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.Téléchargez la version beta.