[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Relative file urls in target definition files
|
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
> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of Beat Strasser
> Sent: Dienstag, 14. August 2012 16:33
> To: Tycho user list
> Subject: Re: [tycho-user] Relative file urls in target definition files
>
> Hi Tobias
>
> > No, this is not possible. But I don't understand the requirement: you
> > own the p2 repository but still need a target file to restrict it?
>
> Well, I need to set the target definition explicitly because I've
> special fragments which wouldn't be considered else. At least that's my
> understanding (Igor once said: "For other fragments [than SWT] you need
> to use explicit target platform specification") [1]. Is this obsolete?
> (Just use a simple target spec doesn't work for me.)
>
> > Note that the PDE doesn't support variables in target files (but it
> > won't tell you - the PDE code silently swallows the exception if you
> > specify an malformed URL)
>
> Yes, unfortunately. My build just filters the target file and creates a
> 'ide' .target file version which contains absolute file pathes. Not very
> nice but works well.
>
> So short,
> Beat
>
> [1]
> https://issues.sonatype.org/browse/TYCHO-
> 451?focusedCommentId=115409&page=com.atlassian.jira.plugin.system.issuetab
> panels:comment-tabpanel#comment-115409
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user