Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Relative file urls in target definition files

The following sentence from http://wiki.eclipse.org/Tycho/Target_Platform is supposed to say this:

"In terms of the target platform, this means that the entire content of the p2 repositories specified in this way become part of the target platform."

The problem is that you were assuming something to be required that wasn't documented anywhere. This cannot be solved through documentation - we can't document everything which is not (or even no longer) the case.

So how could we have avoided your misunderstanding? The right place to document things that change are the release notes, i.e. http://wiki.eclipse.org/Tycho/Release_Notes/0.13. I agree that they could be better: Target files no longer affect the dependency resolution directly. This information is missing. 

But I'm still not sure this would have helped. BTW, I just revisited the comment that you originally linked [1] and saw that much of the discussion is about -Dtycho.targetPlatform (which is deprecated) so I believe most of discussion thread simply no longer applies.

This leaves the option to ask on the mailing list (or Q/A sites like stackoverflow.com [2] where it is easier to remove/update outdated answers to questions), and this solved your problem, right?

Best regards
Tobias
 

[1] https://issues.sonatype.org/browse/TYCHO-451?focusedCommentId=115409&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-115409
[2] http://stackoverflow.com/questions/tagged/tycho 

> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of Beat Strasser
> Sent: Montag, 20. August 2012 09:21
> To: Tycho user list
> Subject: Re: [tycho-user] Relative file urls in target definition files
> 
> Hi Tobias
> 
> Well, great news! I'm happy to hear this. Unfortunately it isn't
> documented in the wiki (only the filter configurations).
> 
> I think this was introduced in 0.14 with [1].
> 
> Thanks a lot,
> Beat
> 
> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=363331
> 
> On 08/17/2012 03:34 PM, Oberlies, Tobias wrote:
> > Configuring a p2 repository will add the entire content of the p2
> > repository to the target platform - through target files you can add
> > subsets of the configured p2 repositories. So the statement about
> > fragments is not correct.
> >
> > It may have been like that, but this was a long time ago - I believe
> > that this was before 0.11.0. If you need to have extra fragments e.g.
> > for compilation, that you don't have a direct dependency to, you can
> > use the
> > target-platform-configuration/dependency-resolver/extraRequirements
> > option.
> >
> > Regards Tobias
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top