Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 377628 - [publisher] the launchers need to be looked for in the context metadata repository
Summary: [publisher] the launchers need to be looked for in the context metadata repos...
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.8.0 Juno   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: Juno M7   Edit
Assignee: Pascal Rapicault CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 314129 (view as bug list)
Depends on:
Blocks: 57349
  Show dependency tree
 
Reported: 2012-04-25 09:58 EDT by Pascal Rapicault CLA
Modified: 2012-04-28 19:26 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2012-04-25 09:58:37 EDT
When building a product with Tycho, two metadata repositories are being created. One contains all the bundles and features, the other one the product IUs. 

Because of this separation of repositories, the generated product do not have the -startup argument or the --launcher.library. In of itself, this does not represent a real issue since the executable knows where to look for these files, but in case of updates, or downgrades this could lead to some issue since the wrong version of the file in the install could end up being used.

In addition to this, it causes problems when you are trying to lay down the files slightly differently (e.g. bundled mac) since the executable won't find the files at the expected place.

Because of the separation of repository, the ApplicationLauncherAction needs to look for the launcher jars in the context metadata repository instead of just the results.
Comment 1 Pascal Rapicault CLA 2012-04-28 13:36:44 EDT
*** Bug 314129 has been marked as a duplicate of this bug. ***
Comment 2 Pascal Rapicault CLA 2012-04-28 19:26:15 EDT
Fixed in master.