| Summary: | Error on product export when checking "Generate metadata repository" | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Marco Descher <marco> | ||||||||
| Component: | Build | Assignee: | pde-build-inbox <pde-build-inbox> | ||||||||
| Status: | RESOLVED WONTFIX | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | c.keimel, jarek.przygodzki, marco | ||||||||
| Version: | 4.0 | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Marco Descher
I am having the same problem, although the error output is different. I have stumbled onto this, because we would like to add p2 update support to a rcp application. The build works fine, when "Generate metadata repository" is not selected. If it is selected, the build fails with this error: Cannot complete the install because one or more required items could not be found. Software being installed: Kompetenzmanager 1.8.0 (de.emsw.gosa.product.kompman.export 1.8.0) Missing requirement: toolingorg.eclipse.core.runtime 1.8.0 requires 'bundle org.eclipse.core.runtime [3.8.0.v20120521-2346]' but it could not be found Cannot satisfy dependency: This is strange, since the "repository" folder was created as expected. The missing plugin (org.eclipse.core.runtime_3.8.0.v20120521-2346.jar) is in the repository/plugins folder. In the export folder, only the p2 folder is generated. After this the build fails. Version: Juno Service Release 1 Build id: 20121004-1855 For further testing a used the RCP Mail template project and a target definition to test the error (attachments will follow). One thing that I noticed is that, if I use "Running Platform" as the Target Platform everything works fine. As soon as I change to a custom target definition (which only uses local directories), the export fails. Using the mail.test project, the error message is slightly different than in my earlier comment, but I have the feeling that the issue is connected: An error occurred while collecting items to be installed session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Problems downloading artifact: osgi.bundle,org.eclipse.equinox.launcher.win32.win32.x86,1.1.200.v20120522-1813. As described earlier, the missing plugin is available and has already been exported to the repository/plugins directory. To reproduce: - Import the TestTarget project - Activate the error.target target platform - Import the test.mail project - Open mail.product and choose the "Eclipse Product export wizard" - Activate "Generate metadata repository" - Finish If the working.target is used (which uses the active Platform) everything works fine. Created attachment 225771 [details]
test.mail project to reproduce the error
Created attachment 225772 [details]
Target definition project to reproduce the error
Created attachment 225773 [details]
Target definition project to reproduce the error (reduced)
Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. Please reopen, if you plan to provide a fix. Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. Please reopen, if you plan to provide a fix. |