| Summary: | Cannot use org.eclipse.test as part of my RCP application | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Udo Walker <Udo.Walker> | ||||
| Component: | Releng | Assignee: | Kim Moir <kim.moir> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | kim.moir | ||||
| Version: | 4.1 | ||||||
| Target Milestone: | 3.7 M3 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 181099 [details]
patch
fixed for N20101018. Thanks, great. |
Build Identifier: eclipse-test-framework-3.6.1 I have a RCP application which does not use p2 so I do not have a dropins directory. I want to test my RCP application with the eclipse test framework. To do this I do the following: 1. I declared a test feature which contains my RCP product feature and the test plugins and org.eclipse.test plugins 2. I run an eclipse headless as explained in the file testframework.html which is included in the plugin org.eclipse.test. My RCP product only contains the sub-folders features and plugins. The eclipse test framework is contained in these 2 directories. When I run the test the library.xml file from the test framework wants to execute a xstl transformation at the end of a test. But path to the JUNIT.XSL file is: ${eclipse-home}/dropins/eclipse/plugins/org.eclipse.test/JUNIT.XSL I do not have the "dropins" directory. The second problem is that in my case the org.eclipse.test plugin is "built" as binary (I told the feature to unpack it, so I can access the files) and so it contains a version number in its directory name. In my case the path should be: ${eclipse-home}/plugins/org.eclipse.test_3.3.0/JUNIT.XSL To fix that problem it would be nice to have an ANT property to specify the location of the JUNIT.XSL file. Reproducible: Always