hello
you'd nee dto specify classpath somewhere.......
here's a sample (i m using custom jboss xdoclet task)
<tasks>
<taskdef name="wstools" classname="org.jboss.ws.tools.ant.wstools
">
<classpath refid="maven.dependency.classpath"/>
<classpath>
<fileset dir="${jboss.libdir}\client">
<include name="activation.jar"/>
<include name="javassist.jar"/>
<include name="jboss-common-client.jar"/>
<include name="jbossretro-rt.jar"/>
<include name="jboss-backport-concurrent.jar"/>
<include name="jbossws-client.jar"/>
<include name="jboss-xml-binding.jar"/>
<include name="concurrent.jar"/>
<include name="log4j.jar"/>
<include name="mail.jar"/>
<include name="wsdl4j.jar"/>
</fileset>
<fileset dir="${jboss.libdir}\lib\endorsed">
<include name="*.jar"/>
</fileset>
</classpath>
</taskdef>
hth
marco
On 10/30/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote:
I've configured the maven-antrun-plugin as follows :
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>pre-integration-test</phase>
<configuration>
<tasks>
<taskdef name="jmeter"
classname="org.programmerplanet.ant.taskdefs.jmeter.JMeterTask"/>
<jmeter
jmeterhome="D:\jakarta-jmeter-2.2"
resultlog="${basedir}/loadtests/JMeterResults.jtl">
<testplans dir="${basedir}/src/test/jmeter" includes="*.jmx"/>
</jmeter>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
and added ant-jmeter1-0.jar to my dependencies.However , when I run
'mvn install' I get the following build error :
[INFO] [site:attach-descriptor]
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing ant tasks
Embedded error: taskdef class
org.programmerplanet.ant.taskdefs.jmeter.JMeterTas
k cannot be found
[INFO]
------------------------------------------------------------------------
Is it correct to do a "taskdef" definition the way I did?
Jeff Mutonho
GoogleTalk : ejbengine
Skype : ejbengine
Registered Linux user number 366042
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]