This is started via an exec ant task like (took most from the snippets)
- Code: Select all
<exec os="Windows XP" executable="java" failonerror="false">
<arg value="-Xms64M" />
<arg value="-Xmx512M" />
<arg value="-cp" />
<arg value="${eclipse.startup.jar}" />
<arg value="org.eclipse.core.launcher.Main"/>
<arg value="-application"/>
<arg value="com.windowtester.runner.application"/>
<arg value="formatter=${junit.formatter},${buckminster.temp.root}/test-result${TODAY}.xml" />
<arg value="-testProduct"/>
<arg value="${test.product}"/>
<arg value="-pluginCustomization"/>
<arg value="${pluginCustomization.ini}"/>
<arg value="-data"/>
<arg value="${test.workspace}"/>
<arg value="-testPluginName"/>
<arg value="${test.pluginname}"/>
<arg value="-classname"/>
<arg value="${testclassname}"/>
<arg value="-consoleLog" />
<arg value="-clean" />
</exec>
When its started i get this as output:
- Code: Select all
echo] using eclipse launcher c:\ws\eclipse_test\3.6_ui_tests\plugins\org.eclipse.equinox.launcher_1.1.0.v20100507.jar
[exec] !SESSION 2010-11-29 07:55:22.379 -----------------------------------------------
[exec] eclipse.buildId=unknown
[exec] java.version=1.6.0_05
[exec] java.vendor=Sun Microsystems Inc.
[exec] BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=sv_SE
[exec] Framework arguments: formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,c:/ws/buck_build/tmp/test-result2010-11-29_07-55-20.xml -application com.windowtester.runner.application -testProduct se.rsv.zz.eclipse.helios.product -pluginCustomization c:/ws/eclipse_test/3.6_ui_tests/plugins/se.rsv.zz.eclipse.helios_0.9.6/prefs/plugin_customization.ini -testPluginName se.rsv.zz.eclipse.helios.test -classname se.rsv.zz.eclipse.helios.test.all.AllTests
[exec] Command-line arguments: formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,c:/ws/buck_build/tmp/test-result2010-11-29_07-55-20.xml -application com.windowtester.runner.application -testProduct se.rsv.zz.eclipse.helios.product -pluginCustomization c:/ws/eclipse_test/3.6_ui_tests/plugins/se.rsv.zz.eclipse.helios_0.9.6/prefs/plugin_customization.ini -data c:/ws/eclipse_test/3.6_ui_tests/tmp_workspace -testPluginName se.rsv.zz.eclipse.helios.test -classname se.rsv.zz.eclipse.helios.test.all.AllTests -consoleLog -clean
[exec]
[exec] !ENTRY com.instantiations.eclipse 1 0 2010-11-29 07:55:35.957
[exec] !MESSAGE Bundle org.eclipse.test cannot be found.
[exec]
[exec] !ENTRY com.instantiations.eclipse 1 0 2010-11-29 07:55:51.926
[exec] !MESSAGE UI test starting: se.rsv.zz.eclipse.helios.test.installed.AboutDialog_testAboutDialog
[exec]
[exec] !ENTRY com.instantiations.eclipse 1 0 2010-11-29 07:55:52.426
[exec] !MESSAGE
[exec] *************************************************
[exec] WindowTester Runtime 201009131510
[exec] OS: Windows XP, x86, 5.1
[exec] Java: Sun Microsystems Inc., 1.6.0_05
[exec] Spec: Java Platform API Specification, Sun Microsystems Inc., 1.6
[exec] VM: Java Virtual Machine Specification, Sun Microsystems Inc., 1.0
[exec] *************************************************
....
Since i don't get an xml output file hudson cannot record the junit test number etc. Is this all because of the workbench does not exit?
best regards
David