Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Technical question on "optional features"

Martin,

Due to Update being on life support, I would be very careful claiming that
optional features work flawlessly (even if they did at some point, the
changes in the rest of Eclipse may have caused the code rot). However, your
particular problem sounds like somebody was tagging features 'optional'
even though they were really required. A truly optional feature can be
omitted with no consequence to the final configuration.

David, when you build up your feature hierarchy, you can include some
features with the attribute 'optional=true'. This will cause another wizard
page to show up, allowing your users to cherry-pick these optional
features. It is OK to not install any of the optional features. However,
you are responsible for making sure that your feature can work well without
them. You are free to try them and report back if you have any problems.

Regards,

Dejan Glozic, Ph.D.
Manager, Eclipse Development 1A
D1/R0Q/8200/MKM
IBM Canada Ltd.
Tel. 905 413-2745  T/L 969-2745
Fax. 905 413-4850



                                                                           
             Martin Oberhuber                                              
             <martin.oberhuber                                             
             @windriver.com>                                            To 
             Sent by:                  Cross project issues                
             cross-project-iss         <cross-project-issues-dev@eclipse.o 
             ues-dev-bounces@e         rg>                                 
             clipse.org                                                 cc 
                                                                           
                                                                   Subject 
             06/07/2007 02:51          Re: [cross-project-issues-dev]      
             AM                        Technical question on "optional     
                                       features"                           
                                                                           
             Please respond to                                             
               Cross project                                               
                  issues                                                   
             <cross-project-is                                             
             sues-dev@eclipse.                                             
                   org>                                                    
                                                                           
                                                                           




Hi Dave,

better think twice and check bugzilla before you adopt this... I don't
understand the feature, but I know for sure that there is at least 1
unresolved UM bug about "optional not really working".

I tried optional features some while back, and it turned out for me at
that time that when I deselected an "optional" feature during
installation, my UM configuration was broken so I could not do any
further updates or change the config (that's the other UM bug: Update
fails when ANYTHING is wrong in the configuration).

Martin

David M Williams schrieb:
>
> I'm wondering ...
>
> While testing the Europa Site, when I select a whole bunch of stuff, I
> eventually get a dialog that says "The following features are
> optional, do you want to install them or not" (to paraphrase).
>
> How does this happen? I don't recall ever seeing this optional part of
> the sequence before.
>
> I'm asking because I want to do it too :)
>
> I'm just wondering if it is a side effect of  all the plugins in one
> of these features happen to be optional to all other plugins,
>
> or, if there is some way in features or site.xml to specify an
> "optional" feature?
>
> Thanks in advance.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> cross-project-issues-dev mailing list
> cross-project-issues-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
>


--
Martin Oberhuber
Wind River Systems, Inc.
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm

_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev




Back to the top