Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] Specifying Execution Environments


Wassim,

I disagree that setting assert and enum identifier warnings to a lower severity is a good idea.
It's good that the action raises the severity to the recommendation, but it should not lower severities.

The defaults are fine if you create a new project and import existing sources into it
or if the project will be shared with people who don't use Eclipse to compile - they're a compromise.

However, banning identifiers that will only cause trouble in the future is always better,
especially when you know that the given code does not use them.

Markus



Wassim Melhem <wassimm@xxxxxxxxxx>
Sent by: eclipse-dev-bounces@xxxxxxxxxxx

2006-05-09 19:40

Please respond to
"General development mailing list of the Eclipse project." <eclipse-dev@xxxxxxxxxxx>

To
"General development mailing list of the Eclipse project." <eclipse-dev@xxxxxxxxxxx>
cc
Subject
Re: [eclipse-dev] Specifying Execution Environments





Michael,

That is what the second portion of 'Update Classpath and the compiler
compliance levels' is designed to do.

Given your Execution Environment, we set several key compiler settings to
values that are recommended by the JDT/Core team for that EE level.

You can opt to raise the severity of these flags if you wish, but I would
recommend keeping the defaults.

Wassim.






                                                                         
            Michael                                                      
            Valenta/Ottawa/IB                                            
            M@IBMCA                                                    To
            Sent by:                  "General development mailing list  
            eclipse-dev-bounc         of the Eclipse project."            
            es@xxxxxxxxxxx            <eclipse-dev@xxxxxxxxxxx>          
                                                                       cc
                                                                         
            05/09/2006 12:02                                      Subject
            PM                        Re: [eclipse-dev] Specifying        
                                      Execution Environments              
                                                                         
            Please respond to                                            
                "General                                                  
               development                                                
             mailing list of                                              
               the Eclipse                                                
                project."                                                
            <eclipse-dev@ecli                                            
                pse.org>                                                  
                                                                         
                                                                         





When I did this for the Team plugins (whcih depend on 1.4), my JDT
preferences changed. Specifically, the use of assert and enum identifiers
was changed from ERROR (which I had set explicitly previously to avoid
problems in the future when we move to 1.5) to WARNING. It seems odd that
the tool would downgrade those for me since I had explicitly set them to
error. No harm done since I just won't release the preference changes but I
though it would be worthwhile mentioning in case others have done a similar
thing.

Michael


                                                                         
DJ Houghton/Ottawa/IBM@IBMCA                                              
Sent by:                                                                  
eclipse-dev-bounces@xxxxxxxxxxx                                        To
                                                  eclipse-dev@xxxxxxxxxxx
                                                                       cc
05/09/2006 10:40 AM                                                      
                                                                  Subject
                                                  [eclipse-dev]          
          Please respond to                       Specifying Execution    
 "General development mailing list of             Environments            
        the Eclipse project."                                            
                                                                         
                                                                         
                                                                         
                                                                         
                                                                         
                                                                         





As per the Eclipse 3.2 plan, all bundles in the SDK must declare their
required execution environment and set the appropriate properties in their
bundle manifest. Starting soon the Release Engineering team will keep
people honest by using, for instance, Foundation class libraries to compile
bundles who specify they require only a Foundation VM.

We have been working with the plug-ins who specify an EE of Foundation 1.0
and they are now all updated in the builds. Now we are asking the rest of
the plug-in owners to ensure that the execution environment listed in the
Eclipse 3.2 plan matches the one which is specified in their bundle
manifest.

The steps to update your bundle's Execution Environment are:
- Open the manifest in the Plug-in Manifest Editor
- go to the Overview tab
- in the Execution Environment section, select "Add..."
- select the correct entry(s) (see the plan link below) and hit OK
- click on the link below the table: "Update classpath and the compiler
compliance settings"
- wait for the project to compile and ensure there are no problems
- release your changes

For more Information and an  FAQ on Execution Environments check out:
http://wiki.eclipse.org/index.php/Execution_Environments

Execution Environment table from the Eclipse 3.2 plan:
http://www.eclipse.org/eclipse/development/eclipse_project_plan_3_2.html#Appendix1


Discussions surrounding EEs should be held on the eclipse-dev@xxxxxxxxxxx
mailing list.

Thanks.

_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev
_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev


_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev


Back to the top