Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363073 - [debugging] option to write resolved target file to disk
Summary: [debugging] option to write resolved target file to disk
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Tycho (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Tobias Oberlies CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-07 12:27 EST by Tobias Oberlies CLA
Modified: 2021-04-28 16:54 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Oberlies CLA 2011-11-07 12:27:53 EST
I am facing a target file where I don't know which feature/depencency brings is a certain bundle. I am not aware of any feature in Eclipse which allows me to find this out. Therefore I am thinking about implementing an option/mojo to write the the resolved target file to disk in a p2 metadata respository format. This would at least allow me to trace inclusion/dependency chains with a text editor.
Comment 1 Tobias Oberlies CLA 2012-05-22 10:14:17 EDT
... or Igor's p2-browser [1]

[1] https://github.com/ifedorenko/p2-browser
Comment 2 Velganesh Subramanian CLA 2013-08-07 08:21:39 EDT
http://wiki.eclipse.org/Tycho/Target_Platform#Listing_IUs_available gives information on listing the IUs of a repository. Is there an option in Tycho to list all the plug-ins from the resolved target? If my target is composed of 5 repositories, it is difficult to see the aggregated target. May be I have an older version of a plug-in but the the source being built needs a newer version and it is not found. For some strange reasons, our development target is different from Tycho's and we run into this problem frequently.
Comment 3 Velganesh Subramanian CLA 2013-08-08 05:37:08 EDT
I got hold of https://issues.sonatype.org/browse/TYCHO-297 in the meantime and am experimenting it. I will update the result here.
Comment 4 Velganesh Subramanian CLA 2013-08-13 05:54:31 EDT
Using -Dtycho.debug.resolver=true helped. Thanks.
Comment 5 Tobias Oberlies CLA 2015-10-23 06:12:09 EDT
I'm currently debugging a build error where some product configuration IUs are missing in one module, but only if the module is built as part of the overall reactor, not if it is built separately. Apparently, there is some other reactor project which produces a product configuration IU with the same ID (hence it it filtered from the external IUs). However that project is downstream of the failing project...

I haven't found the downstream project contributing the IU yet, so a map of (preliminary) reactor IU IDs to project locations would be useful here.
Comment 6 Eclipse Genie CLA 2015-10-23 10:45:26 EDT
New Gerrit change created: https://git.eclipse.org/r/58822
Comment 7 Eclipse Genie CLA 2015-10-23 10:45:29 EDT
New Gerrit change created: https://git.eclipse.org/r/58821
Comment 8 Jan Sievers CLA 2016-04-08 03:32:45 EDT
target milestone 0.25.0 not met
Comment 9 Mickael Istria CLA 2021-04-08 18:05:49 EDT
Eclipse Tycho is moving away from this bugs.eclipse.org issue tracker to https://github.com/eclipse/tycho/issues/ instead. If this issue is relevant to you, your action is required.
0. Verify this issue is still happening with latest Tycho 2.4.0-SNAPSHOT
  if issue has disappeared, please change status of this issue to "CLOSED WORKFORME" with some details about your testing environment and how you did verify the issue; and you're done
  if issue is still present when latest release:
* Create a new issue at https://github.com/eclipse/tycho/issues/
  ** Use as title in GitHub the title of this Bugzilla ticket (may include the bug number or not, at your own convenience)
  ** In the GitHub description, start with a link to this bugzilla ticket
  ** Optionally add new content to the description if it can helps towards resolution
  ** Submit GitHub issue
* Update bugzilla ticket
  ** Add to "See also" property (up right column) the link to the newly created GitHub issue
  ** Add a comment "Migrated to <link-to-newly-created-GitHub-issue>"
  ** Set status as CLOSED MOVED
  ** Submit

All issues that remain open will be automatically closed next week or so. Then the Bugzilla component for Tycho will be archived and made read-only.