Skip to main content

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

IMHO, I would not characterize the current behaviour as totally bogus. It's
rather conservative and by-the-book, which the tooling tries to be.

Having said that, it does seem reasonable to respect (any) existing flags
for 'enum' and 'assert' if they happen to be higher than the recommended
ones.

So perhaps it was an error in judgment on our part.

If a bug report is open against PDE/UI requesting this change, we'd be
happy to take a look.

Thank you for choosing PDE,

Wassim.






                                                                           
             Mike                                                          
             Wilson/Ottawa/IBM                                             
             @IBMCA                                                     To 
             Sent by:                  "General development mailing list   
             eclipse-dev-bounc         of the Eclipse project."            
             es@xxxxxxxxxxx            <eclipse-dev@xxxxxxxxxxx>           
                                                                        cc 
                                       "General development mailing list   
             05/09/2006 01:47          of the Eclipse project."            
             PM                        <eclipse-dev@xxxxxxxxxxx>,          
                                       eclipse-dev-bounces@xxxxxxxxxxx     
                                                                   Subject 
             Please respond to         Re: [eclipse-dev] Specifying        
                 "General              Execution Environments              
                development                                                
              mailing list of                                              
                the Eclipse                                                
                 project."                                                 
             <eclipse-dev@ecli                                             
                 pse.org>                                                  
                                                                           
                                                                           





Why allow them to be set at all if we are going to take the attitude that
"JDT knows best". This seems totally bogus to me. The severity should never
be lowered by a tool.

McQ.


                                                                           
 Wassim                                                                    
 Melhem/Toronto/IBM@IBMCA                                                  
 Sent by:                                                               To 
 eclipse-dev-bounces@eclipse.          "General development mailing list   
 org                                   of the Eclipse project."            
                                       <eclipse-dev@xxxxxxxxxxx>           
                                                                        cc 
 05/09/06 13:38                                                            
                                                                   Subject 
                                       Re: [eclipse-dev] Specifying        
       Please respond to               Execution Environments              
     "General development                                                  
  mailing list of the Eclipse                                              
           project."                                                       
                                                                           
                                                                           
                                                                           
                                                                           





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
_______________________________________________
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