ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: Ant-jmeter task problem
Date Fri, 01 Aug 2008 14:33:34 GMT
Krzysieq wrote:
> Hi,
> 
> Has anyone here used the ant-jmeter task from programmerplanet.org? I have
> the latest version and am experiencing difficulty trying to pass some
> parameters to the jmeter commandline. Here's my code:
> 
> <jmeter jmeterhome="${JmeterHome}"
>             resultlogdir="${logdir}/jmeterlogs"
>             failureproperty="jmeterfailed">
>   <testplans dir="/FOO/BAR/jmeter/nonregression">
>     <include name="*.jmx"/>
>   </testplans>
>   <property name="jmxresultdir" value="${tempdir}/jmeter/responses"/>
>   <property name="datadir" value="/FOO/BAR/data"/>
>   <jmeterarg value="-q /FOO/BAR/properties/env.properties"/>
>   <jmeterarg value="-q /FOO/BAR/data/tokens.properties"/>
> </jmeter>
> 
> It looks as if the last two nested elements - jmeterarg - are ignored. Has
> anyone experienced this behavior as well? Do You know of any solution? I
> will greatly appreciate any help.

could be you need the -q and the following arg as separate values -that 
would be consistent with <java> and <exec>


-- 
Steve Loughran                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message