|
|
Re: Executing plugIn unit tests with buckminster headless [message #1233925 is a reply to message #1233845] |
Mon, 20 January 2014 21:16 |
|
Hi Felix,
What version are you using? IIRC, the ui dependency in the launch config has been removed for quite a while. It was
removed because you really want to be able to launch headlessly.
- thomas
On 2014-01-20 17:29, Felix Feisst wrote:
> Hello,
>
> I try to execute some plugIn tests with buckminster headlessly. However, when buckminster trys to execute the launch
> configuration with the junit command, the following error occurs:
>
>
> [INFO] Launch configuration type id "org.eclipse.pde.ui.JunitLaunchConfig" does not exist.
> [INFO] Possible causes:
> [INFO] Missing specification of a launch type (missing plug-in)
> [INFO] Incorrect launch configuration XML
>
>
> My launch configuration looks like this:
>
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <launchConfiguration type="org.eclipse.pde.ui.JunitLaunchConfig">
> <booleanAttribute key="append.args" value="true"/>
> <booleanAttribute key="askclear" value="false"/>
> <booleanAttribute key="automaticAdd" value="true"/>
> <booleanAttribute key="automaticValidate" value="false"/>
> <stringAttribute key="bootstrap" value=""/>
> <stringAttribute key="checked" value="[NONE]"/>
> <booleanAttribute key="clearConfig" value="true"/>
> <booleanAttribute key="clearws" value="true"/>
> <booleanAttribute key="clearwslog" value="false"/>
> <stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/pde-junit"/>
> <booleanAttribute key="default" value="true"/>
> <booleanAttribute key="includeOptional" value="true"/>
> <stringAttribute key="location" value="${workspace_loc}/../junit-workspace"/>
> <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
> <listEntry value="/plugin.test"/>
> </listAttribute>
> <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
> <listEntry value="4"/>
> </listAttribute>
> <stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value="=plugin.test"/>
> <booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>
> <stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
> <stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/>
> <stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER"
> value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
> <stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value=""/>
> <stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch
> ${target.arch} -nl ${target.nl} -consoleLog"/>
> <stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="plugin.test"/>
> <stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER"
> value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
> <stringAttribute key="pde.version" value="3.3"/>
> <stringAttribute key="product" value="org.eclipse.sdk.ide"/>
> <booleanAttribute key="run_in_ui_thread" value="true"/>
> <booleanAttribute key="show_selected_only" value="false"/>
> <booleanAttribute key="tracing" value="false"/>
> <booleanAttribute key="useCustomFeatures" value="false"/>
> <booleanAttribute key="useDefaultConfig" value="true"/>
> <booleanAttribute key="useDefaultConfigArea" value="false"/>
> <booleanAttribute key="useProduct" value="true"/>
> </launchConfiguration>
>
>
> Any help is appreciated! Thanks,
> Felix
|
|
|
|
Powered by
FUDForum. Page generated in 0.02993 seconds