Running SWTBot testcase with ant [message #44986] |
Wed, 22 July 2009 18:59  |
Eclipse User |
|
|
|
I tried running the steps for executing SWTBot tests from Ant. I followed
the tutorial which was helpful.
When I run ant from the cmd prompt, it goes through the build.xml, says
it's running my testcase and ends with a Build Successful.
In the tutorial I see that it shows Eclipse run and steps performed. Mine
does not visually show this, but does take the time I would expect it to.
I also get a "Java Result: 13"
I tried going back through using what the tutorial uses as far as code
goes.
Not sure what may be different on my end. I'm running WinXP64 as my OS and
have my environment variables set correctly to run ant.
Any help or suggestions would be greatly appreciated.
Thanks,
Derek
Buildfile: build.xml
suite:
init:
swtbot-test:
java-test:
[echo] Running MySampleTestCase. Result file:
C:/eclipse_ganymede/eclipse/results/MySampleTestCase.xml.
[java] Java Result: 13
collect-results:
[style] Warning: the task name <style> is deprecated. Use <xslt>
instead.
[style] Transforming into C:\eclipse_ganymede\eclipse\results
cleanup:
run:
BUILD SUCCESSFUL
Total time: 11 seconds
build.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<project name="testsuite" default="run" basedir=".">
<property name="eclipse-home" value="C:/eclipse_ganymede/eclipse" />
<property name="plugin-name" value="com.eclipse.swtbot.tester" />
<property name="test-classname" value="MySampleTestCase" />
<property name="library-file"
value=" ${eclipse-home}/plugins/org.eclipse.swtbot.eclipse.junit4.he adless_2.0.0.371-dev-e34/library.xml "
/>
<target name="suite">
<property name="jvmOption" value=""></property>
<property name="temp-workspace" value="workspace" />
<delete dir="${temp-workspace}" quiet="true" />
<ant target="swtbot-test" antfile="${library-file}"
dir="${eclipse-home}">
<property name="data-dir" value="${temp-workspace}" />
<property name="plugin-name" value="${plugin-name}" />
<property name="classname" value="${test-classname}" />
<property name="vmargs" value=" -Xms128M -Xmx368M -XX:MaxPermSize=256M
${jvmOption}" />
</ant>
</target>
<target name="cleanup" />
<target name="run" depends="suite,cleanup">
</target>
</project>
|
|
|
|
|
|
Re: Running SWTBot testcase with ant [message #45194 is a reply to message #45076] |
Thu, 23 July 2009 12:35   |
Eclipse User |
|
|
|
Ketan Padegaonkar wrote:
> On 23/7/09 04:29, Derek wrote:
>> I tried running the steps for executing SWTBot tests from Ant. I
>> followed the tutorial which was helpful.
>>
>> When I run ant from the cmd prompt, it goes through the build.xml, says
>> it's running my testcase and ends with a Build Successful.
>> In the tutorial I see that it shows Eclipse run and steps performed.
>> Mine does not visually show this, but does take the time I would expect
>> it to.
>> I also get a "Java Result: 13"
> Can you look at the generated XML file ? It contains the JUnit report
> for the tests. You may also optionally import it into the junit view to
> see any errors.
The generated XML file that was put in the results folder doesn't have any
information in it. Just:
<?xml version="1.0" encoding="UTF-8" ?>
<testsuites />
The text file gives more information:
Looks like it's got a bunch of class not found errors, though, I really
don't know what these actually mean. >_>;;
Install location:
file:/c:/eclipse_ganymede/eclipse/
Configuration file:
file:/c:/eclipse_ganymede/eclipse/configuration/config.ini loaded
Configuration location:
file:/c:/eclipse_ganymede/eclipse/configuration/
Framework located:
file:/c:/eclipse_ganymede/eclipse/plugins/org.eclipse.osgi_3 .4.3.R34x_v20081215-1030.jar
Framework classpath:
file:/c:/eclipse_ganymede/eclipse/plugins/org.eclipse.osgi_3 .4.3.R34x_v20081215-1030.jar
Debug options:
file:/C:/eclipse_ganymede/eclipse/.options not found
Time to load bundles: 16
Starting application: 3609
!SESSION 2009-07-23 10:12:13.705
-----------------------------------------------
eclipse.buildId=M20090211-1700
java.version=1.6.0_14
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=workspace, NL=en_US
Framework arguments: -application
org.eclipse.swtbot.eclipse.junit4.headless.swtbottestapplica tion
formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJU nitResultFormatter,C:/eclipse_ganymede/eclipse/MySampleTestC ase.xml
formatter=org.apache.tools.ant.taskdefs.optional.junit.Plain JUnitResultFormatter
-testPluginName com.eclipse.swtbot.tester -className MySampleTestCase
Command-line arguments: -application
org.eclipse.swtbot.eclipse.junit4.headless.swtbottestapplica tion -data
workspace
formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJU nitResultFormatter,C:/eclipse_ganymede/eclipse/MySampleTestC ase.xml
formatter=org.apache.tools.ant.taskdefs.optional.junit.Plain JUnitResultFormatter
-testPluginName com.eclipse.swtbot.tester -className MySampleTestCase -os
win32 -ws workspace -arch x86_64 -consoleLog -debug
!ENTRY org.eclipse.osgi 4 0 2009-07-23 10:12:17.361
!MESSAGE An error occurred while automatically activating bundle
org.eclipse.ui.workbench (158).
!STACK 0
org.osgi.framework.BundleException: The activator
org.eclipse.ui.internal.WorkbenchPlugin for bundle
org.eclipse.ui.workbench is invalid
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:146)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:980)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:370)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:446)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:399)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:387)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:315)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:188)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
at org.eclipse.core.launcher.Main.main(Main.java:30)
Caused by: java.lang.NoClassDefFoundError: org/eclipse/swt/SWTError
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:23 89)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:141)
... 34 more
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.SWTError
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:483)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:399)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:387)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
... 40 more
Root exception:
java.lang.NoClassDefFoundError: org/eclipse/swt/SWTError
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:23 89)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:141)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:980)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:370)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:446)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:399)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:387)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:315)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:188)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
at org.eclipse.core.launcher.Main.main(Main.java:30)
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.SWTError
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:483)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:399)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:387)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
... 40 more
!ENTRY org.eclipse.osgi 4 0 2009-07-23 10:12:17.361
!MESSAGE Application error
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in
org.eclipse.swtbot.eclipse.junit4.headless was unable to load class
org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication .
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .throwException(RegistryStrategyOSGI.java:180)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:162)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:188)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
at org.eclipse.core.launcher.Main.main(Main.java:30)
Caused by:
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter $TerminatingClassNotFoundException:
An error occurred while automatically activating bundle
org.eclipse.ui.workbench (158).
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:125)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:370)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:446)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:399)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:387)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:315)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
... 17 more
Caused by: org.osgi.framework.BundleException: The activator
org.eclipse.ui.internal.WorkbenchPlugin for bundle
org.eclipse.ui.workbench is invalid
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:146)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:980)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
... 29 more
Caused by: java.lang.NoClassDefFoundError: org/eclipse/swt/SWTError
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:23 89)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:141)
... 34 more
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.SWTError
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:483)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:399)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:387)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
... 40 more
!ENTRY org.eclipse.osgi 2 0 2009-07-23 10:12:17.408
!MESSAGE The following is a complete list of bundles which are not
resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-07-23 10:12:17.408
!MESSAGE Bundle
reference:file:plugins/org.eclipse.core.filesystem.win32.x86 _1.1.0.v20080604-1400.jar
[23] was not resolved.
!SUBENTRY 2 org.eclipse.core.filesystem.win32.x86 2 0 2009-07-23
10:12:17.408
!MESSAGE Platform filter did not match: (& (osgi.os=win32) (osgi.arch=x86))
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-07-23 10:12:17.424
!MESSAGE Bundle
reference:file:plugins/org.eclipse.core.net.win32.x86_1.0.0. I20080521.jar
[26] was not resolved.
!SUBENTRY 2 org.eclipse.core.net.win32.x86 2 0 2009-07-23 10:12:17.424
!MESSAGE Platform filter did not match: (& (osgi.os=win32) (osgi.arch=x86))
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-07-23 10:12:17.424
!MESSAGE Bundle
reference:file:plugins/org.eclipse.core.resources.win32.x86_ 3.4.0.v20071204.jar
[29] was not resolved.
!SUBENTRY 2 org.eclipse.core.resources.win32.x86 2 0 2009-07-23
10:12:17.424
!MESSAGE Platform filter did not match: (& (osgi.os=win32) (osgi.arch=x86))
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-07-23 10:12:17.424
!MESSAGE Bundle
reference:file:plugins/org.eclipse.equinox.launcher.win32.wi n32.x86_1.0.101.R34x_v20080731/
[54] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.launcher.win32.win32.x86 2 0 2009-07-23
10:12:17.424
!MESSAGE Platform filter did not match: (& (osgi.ws=win32) (osgi.os=win32)
(osgi.arch=x86))
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-07-23 10:12:17.424
!MESSAGE Bundle
reference:file:plugins/org.eclipse.equinox.security.win32.x8 6_1.0.0.v20080529-1600.jar
[80] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.security.win32.x86 2 0 2009-07-23
10:12:17.424
!MESSAGE Platform filter did not match: (& (osgi.os=win32) (osgi.arch=x86))
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-07-23 10:12:17.424
!MESSAGE Bundle
reference:file:plugins/org.eclipse.swt.win32.win32.x86_3.4.1 .v3452b.jar
[131] was not resolved.
!SUBENTRY 2 org.eclipse.swt.win32.win32.x86 2 0 2009-07-23 10:12:17.424
!MESSAGE Platform filter did not match: (& (osgi.ws=win32) (osgi.os=win32)
(osgi.arch=x86))
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-07-23 10:12:17.424
!MESSAGE Bundle
reference:file:plugins/org.eclipse.ui.win32_3.2.100.v2008040 8-0800.jar
[157] was not resolved.
!SUBENTRY 2 org.eclipse.ui.win32 2 0 2009-07-23 10:12:17.424
!MESSAGE Platform filter did not match: (osgi.ws=win32)
|
|
|
|
|
|
|
|
|
Re: Running SWTBot testcase with ant [message #475489 is a reply to message #475279] |
Wed, 05 August 2009 18:37  |
Eclipse User |
|
|
|
saleem wrote:
> I am also getting the same issue, did you you solve that.
> Please post if it's working
Yes I was able to get it solved.
I am running WindowsXP 64-bit. I had my environment variables pointing to
the wrong locations. I had 64-bit JRE installed, but I didn't have the
32-bit JRE installed.
The variables I had set just needed to be switched over and I had to have
it correctly in my build.xml
<property name="os" value="win32" />
<property name="ws" value="win32" />
<property name="arch" value="x86" />
Above are what I needed it set to. And I needed the environment variables
to point correctly to use the appropriate JRE.
|
|
|
Powered by
FUDForum. Page generated in 0.07160 seconds