Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 348852

Summary: Fixed test launch files so that tests can be executed from the IDE again
Product: z_Archived Reporter: Robert Wetzold <robert.wetzold>
Component: SkalliAssignee: Simon Kaufmann <simon>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: michael.ochmann, simon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Patch with correct launch configs
none
Patch with improved correct launch configs michael.ochmann: iplog+

Description Robert Wetzold CLA 2011-06-09 05:31:10 EDT
The current launch configs rely no a target platform which is based on features and they also were configured for Eclipse 3.6.

I adapted the launch configs so that they include the necessary bundles and can be executed from the IDE again.

There is a framework error when using 3.7 in the target platform with an unknow method exception. Since we could not find the reason in reasonable time I turned back the version to 3.6 where it works. This has the impact though, that the win64 bit security bundle is not included anymore, which should not be an issue though. Other than that it seems to work like a charme.
Comment 1 Robert Wetzold CLA 2011-06-09 05:32:45 EDT
Created attachment 197674 [details]
Patch with correct launch configs
Comment 2 Simon Kaufmann CLA 2011-06-09 13:01:26 EDT
the patch does not resolve the issue, it still refers to bundles that are not available and is missing others.

The switch back to helios goes the wrong direction, I think. Indigo is coming!
Comment 3 Robert Wetzold CLA 2011-06-13 11:08:17 EDT
Created attachment 197894 [details]
Patch with improved correct launch configs

The previous patch still included some SAP specifics which resulted in the fact that the committers currently use different launch and target files than we propose in the contributer guide. My suggestion is to end this. We should stick to one target file per environment (one for eclipse and one for tycho) and use the same launch files.

What I did was to follow the contributer guide, download all the plugins to the proposed directory and then I took the lucene bundles from the proposal in bug 346411 and put them in the same directory. The target file reflects this. There is now a new target file specifically for Eclipse (since tycho cannot interpret variables up to now). This file does not need to be adapted anymore.

Target files had to be cleaned up as well in the process and now contain separate locations. Also, with Eclipse 3.7 references the test launcher would not come up, even though no validation conflicts existed. We could not find a solution in reasonable time but referencing the feature instead of the units works well and does not slow down the resolution significantly so far.
Comment 4 Michael Ochmann CLA 2011-06-15 03:35:29 EDT
Comment on attachment 197894 [details]
Patch with improved correct launch configs

committed

http://git.eclipse.org/c/skalli/org.eclipse.skalli.git/commit/?id=0279be22e5292545ea634264f9b4aa02ab760dcf