Jump to: navigation, search

Difference between revisions of "EDT:How to add new EDT plugins"

Line 1: Line 1:
When a new plugin is added to EDT, the release engineer should do the following.  
+
To add a new EDT plugin, a committer should do the following.  
  
*First, be sure the new plugin's MANIFEST.MF is correct.  
+
#Be sure the new plugin's MANIFEST.MF is correct.  
**The plugin ID must begin with '''org.eclipse.edt'''.  
+
#*The plugin 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 provider must be '''Eclipse EGL Development Tools'''.
+
#*The provider must be '''Eclipse EGL Development Tools'''.  
**Choose your dependencies carefully.
+
#*Don't require an exact version of a plugin without good reason.
***Don't require a particular version of a non-EDT plugin without 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.  
+
#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''.  
*Add the plugin project to our CVS repository. (This could be done by any committer.) 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''.  
+
#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.  
*Add the new plugin to the feature.xml of its feature.  
+
#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 > Release to get the code into the next build.
*Do Team > Release to get the code into the next build.
+
  
 
[[Category:EDT]]
 
[[Category:EDT]]

Revision as of 15:45, 19 August 2011

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

  1. Be sure the new plugin's MANIFEST.MF is correct.
    • The plugin 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 provider must be Eclipse EGL Development Tools.
    • Don't require an exact version of a plugin without 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.
  2. 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.
  3. 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".
  4. Add the new plugin to the feature.xml of its feature.
  5. Make an entry in the map file (org.eclipse.edt.releng/maps/edt.map) for the new plugin.
  6. Do Team > Release to get the code into the next build.