Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] optional Dependencies

You may now also vote for Tycho bugs/enhancement requests in the Eclipse Bugzilla if you want to express that you would like to have them resolved.

Regards
Tobias

> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of Sievers, Jan
> Sent: 09 May 2011 16:18
> To: Tycho user list
> Subject: Re: [tycho-user] optional Dependencies
> 
> see https://bugs.eclipse.org/bugs/show_bug.cgi?id=342704
> 
> basically, if you declare an optional dependency in your code, there is a
> workaround to make it non-greedy using p2.inf (see comment #2 in bug
> above).
> 
> If the optional dependency which is dragging inwanted stuff is in the
> transitive dependency chain, right now there is no workaround.
> 
> Regards
> Jan
> 
> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of jonathan.x.buck@xxxxxxxx
> Sent: Montag, 9. Mai 2011 14:08
> To: tycho-user@xxxxxxxxxxx
> Subject: [tycho-user] optional Dependencies
> 
> 
> Hi,
> 
> I am building my product successfully using the tycho-p2-director-plugin
> however the final zip contains a number of optional transitive plugins
> which is an issue..  For example my final product built via tycho includes
> the org.eclipse.ui.ide plugin which is adding all kinds of new wizards,
> views, preference pages to my application which I don't want or need and
> tracking this down I understand why it is getting included however the
> plugin which is causing it to be resolved and added lists the plugin as
> optional so I would rather not included it if possible...
> 
> Now I know I could exclude all of those additional items by adding in an
> activity definition however it doesn't feel right or clean and also adds
> bloat to the overall deliverable...
> 
> So, my question would be is there any way to tell tycho to ignore optional
> dependencies or are there any other strategies I could follow that would
> allow me to exclude or control explicitly which plugins are added to my
> product.
> 
> Regards...
> 
> -----------------------------------------
> SAVE PAPER - THINK BEFORE YOU PRINT!
> 
> This E-mail is confidential.
> 
> It may also be legally privileged. If you are not the addressee you
> may not copy, forward, disclose or use any part of it. If you have
> received this message in error, please delete it and all copies
> from your system and notify the sender immediately by return
> E-mail.
> 
> Internet communications cannot be guaranteed to be timely secure,
> error or virus-free. The sender does not accept liability for any
> errors or omissions.
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top