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 "EDT:How to add new EDT plugins"

Line 5: Line 5:
 
#*The ID must begin with '''org.eclipse.edt'''.  
 
#*The ID must begin with '''org.eclipse.edt'''.  
 
#*The Version must be of the form '''0.7.0.qualifier''' (use the correct numbers for the release you're developing).  
 
#*The Version must be of the form '''0.7.0.qualifier''' (use the correct numbers for the release you're developing).  
 +
#*The Name must begin with '''EDT''' and it must be a good name for the plugin.  Don't use the Name filled in by the New Plugin Project wizard.
 
#*The Provider must be '''Eclipse EGL Development Tools'''.  
 
#*The Provider must be '''Eclipse EGL Development Tools'''.  
#*The Execution Environment must be '''JavaSE-1.6'''.
+
#*The Execution Environment must be '''JavaSE-1.6'''.  
 
#Specify your dependencies carefully.  
 
#Specify your dependencies carefully.  
 
#*Don't require an exact version of a plugin without a '''very''' good reason.  
 
#*Don't require an exact version of a plugin without a '''very''' good reason.  
 
#*Be aware that the build may be done with an older version of Eclipse than you are using.  For example, EDT 0.7.0 is built on Eclipse 3.6.0, even though the latest version of Eclipse 3.6 is 3.6.2.  We do this so EDT will work on every Eclipse 3.6.x release.  
 
#*Be aware that the build may be done with an older version of Eclipse than you are using.  For example, EDT 0.7.0 is built on Eclipse 3.6.0, even though the latest version of Eclipse 3.6 is 3.6.2.  We do this so EDT will work on every Eclipse 3.6.x release.  
#*If the build fails with a "Missing required plug-in" error on your plugin, it probably depends on a plugin from a feature that's not included in the build. The features we require are listed in the featureIDsToInstall property in org.eclipse.edt.releng/build.properties. To learn which feature includes a plugin, go into your eclipse/features directory, and search the feature.xml files in all of the subdirectories for the name of the plugin you require. [Would somebody like to write a plugin to do this?]<br>
+
#*If the build fails with a "Missing required plug-in" error on your plugin, it probably depends on a plugin from a feature that's not included in the build. The features we require are listed in the featureIDsToInstall property in org.eclipse.edt.releng/build.properties. To learn which feature includes a plugin, go into your eclipse/features directory, and search the feature.xml files in all of the subdirectories for the name of the plugin you require. [Would somebody like to write a plugin to do this?]<br>  
 
#Plugin projects should not set their JDK Compliance.  
 
#Plugin projects should not set their JDK Compliance.  
 
#There should be no warnings on the plugin's build.properties file.  
 
#There should be no warnings on the plugin's build.properties file.  
Line 16: Line 17:
 
#If the ''folder'' in the previous step is new, update the project metadata. Go to https://dev.eclipse.org/portal/myfoundation/portal/portal.php, click view next to tools.edt, and click maintain next to Project Info Meta-data. Click edit and update the list under "source repository".  
 
#If the ''folder'' in the previous step is new, update the project metadata. Go to https://dev.eclipse.org/portal/myfoundation/portal/portal.php, click view next to tools.edt, and click maintain next to Project Info Meta-data. Click edit and update the list under "source repository".  
 
#Add the new plugin to the feature.xml of its feature.&nbsp; The feature is a project which names a set of plugins.&nbsp; Most of our plugins are in the feature org.eclipse.edt.feature.  
 
#Add the new plugin to the feature.xml of its feature.&nbsp; The feature is a project which names a set of plugins.&nbsp; Most of our plugins are in the feature org.eclipse.edt.feature.  
##Edit the feature.xml file and go to the Plug-ins tab.&nbsp; Click Add, enter the name of the new plugin, the click OK.<br>
+
##Edit the feature.xml file and go to the Plug-ins tab.&nbsp; Click Add, enter the name of the new plugin, the click OK.<br>  
##Plugins are usually contained in jar files, but sometimes a plugin needs to be installed as a directory so our tooling can easily access its contents.&nbsp; If the new plugin must be installed as a directory, check the box labelled "Unpack the plug-in archive after the installation".<br>
+
##Plugins are usually contained in jar files, but sometimes a plugin needs to be installed as a directory so our tooling can easily access its contents.&nbsp; If the new plugin must be installed as a directory, check the box labelled "Unpack the plug-in archive after the installation".<br>  
 
#Make an entry in the map file (org.eclipse.edt.releng/maps/edt.map) for the new plugin.  
 
#Make an entry in the map file (org.eclipse.edt.releng/maps/edt.map) for the new plugin.  
 
#Do Team &gt; Release to get the code into the next build.
 
#Do Team &gt; Release to get the code into the next build.
  
 
[[Category:EDT]]
 
[[Category:EDT]]

Revision as of 14:15, 6 September 2011

To add a new EDT plugin, a committer should do the following.

  1. Be sure the new plugin's MANIFEST.MF is correct.
    • There should be no warnings on the MANIFEST.MF file.
    • The ID must begin with org.eclipse.edt.
    • The Version must be of the form 0.7.0.qualifier (use the correct numbers for the release you're developing).
    • The Name must begin with EDT and it must be a good name for the plugin.  Don't use the Name filled in by the New Plugin Project wizard.
    • The Provider must be Eclipse EGL Development Tools.
    • The Execution Environment must be JavaSE-1.6.
  2. Specify your dependencies carefully.
    • Don't require an exact version of a plugin without a very good reason.
    • Be aware that the build may be done with an older version of Eclipse than you are using.  For example, EDT 0.7.0 is built on Eclipse 3.6.0, even though the latest version of Eclipse 3.6 is 3.6.2.  We do this so EDT will work on every Eclipse 3.6.x release.
    • If the build fails with a "Missing required plug-in" error on your plugin, it probably depends on a plugin from a feature that's not included in the build. The features we require are listed in the featureIDsToInstall property in org.eclipse.edt.releng/build.properties. To learn which feature includes a plugin, go into your eclipse/features directory, and search the feature.xml files in all of the subdirectories for the name of the plugin you require. [Would somebody like to write a plugin to do this?]
  3. Plugin projects should not set their JDK Compliance.
  4. There should be no warnings on the plugin's build.properties file.
  5. Add the plugin project to our CVS repository. Do Team > Share Project > CVS and choose :extssh:you@dev.eclipse.org:/cvsroot/tools. Choose Use Specified Module Name and enter org.eclipse.edt/folder/pluginName.
  6. If the folder in the previous step is new, update the project metadata. Go to https://dev.eclipse.org/portal/myfoundation/portal/portal.php, click view next to tools.edt, and click maintain next to Project Info Meta-data. Click edit and update the list under "source repository".
  7. Add the new plugin to the feature.xml of its feature.  The feature is a project which names a set of plugins.  Most of our plugins are in the feature org.eclipse.edt.feature.
    1. Edit the feature.xml file and go to the Plug-ins tab.  Click Add, enter the name of the new plugin, the click OK.
    2. Plugins are usually contained in jar files, but sometimes a plugin needs to be installed as a directory so our tooling can easily access its contents.  If the new plugin must be installed as a directory, check the box labelled "Unpack the plug-in archive after the installation".
  8. Make an entry in the map file (org.eclipse.edt.releng/maps/edt.map) for the new plugin.
  9. Do Team > Release to get the code into the next build.

Back to the top