Hi Joe,
Somehow i was able to find a step ahead for build.xml, i installed ant and
also created a build.xml, now iam not able to execute ant. On running the
batch file ant iam getting the following error
----------------------------------------------------------------------------
-
C:\apache-ant-1.6.0\Build>..\bin\ant
Buildfile: build.xml

BUILD FAILED
C:\apache-ant-1.6.0\Build\build.xml:6: taskdef class
org.programmerplanet.ant.ta
skdefs.jmeter.JMeterTask cannot be found

Total time: 2 seconds
C:\apache-ant-1.6.0\Build>
----------------------------------------------------------------------------
-
Can you clarify me ........

my build file looks like this
----------------------------------------------------------------------------
-
 <project name="Testone" default="run_tests" basedir=".">

   <!-- set global properties for this build -->
   <taskdef
       name="jmeter"
       classname="org.programmerplanet.ant.taskdefs.jmeter.JMeterTask"/>

   <property name="basedir" value="C:/Olympus/Testplans"/>


   <target name="run_tests">
      <jmeter
          jmeterhome="C:\JMeter\jakarta-jmeter-1.9.1"
          testplan="${basedir}/Test1.jmx"
          resultlog="${basedir}/results/Test1.jtl" />

      <xslt
          in="${basedir}/results/Test1.jtl"
          out="${basedir}/results/Test1.html"
          style="${basedir}/results/jmeter-results-report.xsl"/>
   </target>

 </project>
----------------------------------------------------------------------------
-

Regards Prakash

----- Original Message ----- 
From: "Prakash M V" <[EMAIL PROTECTED]>
To: "JMeter Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, January 07, 2004 9:51 AM
Subject: Re: Jmeter with ANT report generation


> Hi Joe,
> Thanks for your Email. But still iam not clear.
> How do i create the build.xml, is there any separate way to create it, i
> checked up my testscript and didnt find any with the "<project name" tag
in
> it.
>
> Sorry for the trouble, pls can u help me a bit more ....
>
> Regarrds PRakash
> ----- Original Message ----- 
> From: "Joseph Fifield" <[EMAIL PROTECTED]>
> To: "JMeter Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, January 06, 2004 4:40 PM
> Subject: Re: Jmeter with ANT report generation
>
>
> > In your build.xml file, place the taskdef inside the project element,
and
> > place the jmeter task and xslt task elements inside a target element.
Hope
> > this helps.
> >
> > Joe
> >
> > ----- Original Message ----- 
> > From: "Prakash M V" <[EMAIL PROTECTED]>
> > To: "JMeter Users List" <[EMAIL PROTECTED]>
> > Sent: Tuesday, January 06, 2004 10:29 AM
> > Subject: Jmeter with ANT report generation
> >
> >
> > Hi,
> > Iam new to Jmeter, I read JMeter Ant Task.html from extras directory of
> > Jmeter installation that with few taskdefintion and including the
> > ant-jmeter.jar i can generate the test report as described in the html
> file.
> >
> > Iam not sure or i dont understand where these below definition i should
> save
> >
> > <taskdef
> >     name="jmeter"
> >     classname="org.programmerplanet.ant.taskdefs.jmeter.JMeterTask"/>
> > <jmeter
> >     jmeterhome="c:\jakarta-jmeter-1.8.1"
> >     testplan="${basedir}/loadtests/JMeterLoadTest.jmx"
> >     resultlog="${basedir}/loadtests/JMeterResults.jtl"/>
> > Please can any one explain me about this...Regards PRakash
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to