Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Execution Environments"

(Execution Environments)
 
Line 1: Line 1:
 
==Which Execution Environment should I use?==
 
==Which Execution Environment should I use?==
  
Check out the table of execution environments in the [http://www.eclipse.org/eclipse/development/eclipse_project_plan_3_2.html#Appendix1 Eclipse 3.2 Plan]. The execution environment listed in the table is what your plug-in is committed to. If there is an error with the table, please let [mailto:dj_houghton@ca.ibm.com me] know.
+
Check out the table of execution environments in the [http://www.eclipse.org/eclipse/development/eclipse_project_plan_3_2.html#Appendix1 Eclipse 3.2 Plan]. The execution environment listed in the table is what your plug-in is committed to. If there is an error with the table, please send a note to the  [mailto:eclipse-dev@eclipse.org eclipse-dev] mailing list and someone will update the table.
  
  
Line 7: Line 7:
 
==Setting the Execution Environment==
 
==Setting the Execution Environment==
 
* open your plug-in manifest in the Plug-in Manifest Editor
 
* open your plug-in manifest in the Plug-in Manifest Editor
* select the ''Overview'' tab
+
* select the '''Overview''' tab
* note the section in the lower left corner entitled ''Execution Environments''
+
* note the section in the lower left corner entitled '''Execution Environments'''
 
* add your appropriate environment(s)
 
* add your appropriate environment(s)
 
* save the file
 
* save the file

Revision as of 16:11, 20 April 2006

Which Execution Environment should I use?

Check out the table of execution environments in the Eclipse 3.2 Plan. The execution environment listed in the table is what your plug-in is committed to. If there is an error with the table, please send a note to the eclipse-dev mailing list and someone will update the table.


Setting the Execution Environment

  • open your plug-in manifest in the Plug-in Manifest Editor
  • select the Overview tab
  • note the section in the lower left corner entitled Execution Environments
  • add your appropriate environment(s)
  • save the file
  • select the link "update the classpath and compiler compliance settings"
  • release your changes to the repository


Special cases

In some cases, a plug-in may require a higher version to compile against, but is able to run perfectly fine against a lower version. For instance, the org.eclipse.osgi bundle will use java.nio.* classes if available. So it must be compiled against J2SE-1.4 but can run on OSGI/Minimum-1.0.

In these cases the EE required to compile against must appear first in the list. So for org.eclipse.osgi, the list (in order) is J2SE-1.4 then OSGI/Minimum-1.0.

XML

Some bundles may think that they require an EE of J2SE-1.4 but really the only special thing that they require from the 1.4 class libraries are the JAXP XML APIs. So in these cases they can be listed as having an EE of J2SE-1.3 because they still will run ok if another bundle is providing the XML APIs.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.