From: Tennis S. <ten...@ya...> - 2012-03-23 18:28:47
|
Hi, I have inherited lots of legacy ant scripts which make staf/stax calls like this: <property name="CommandRun" value="local STAX EXECUTE FILE ${qa.dir}${sep}${staxscript.file} MACHINE local FUNCTION main ARGS "\ './TestSuite/${clientDir}/${propFileName}.properties'" JOBNAME "${propFileName}" WAIT ${test.timeout} CLEARLOGS ${clear.stax.log}"/> <echo message="COMMAND RUN: ${CommandRun}"/> <stopwatch name="test.timer" action="start"/> <exec executable="staf.exe" resultproperty="result.out"><arg line="${CommandRun}"/></exec> It seems to make staf/stax much slower. Would test execution be any faster if refactored to use the ant interface (STAFAnt.jar)? Would that be a good idea, or is the above code the most efficient way to start staf/stax tests from within ant? -- Tks, -Tennis |