Difference between revisions of "Platform UI/Build Submission"

From Eclipsepedia

Jump to: navigation, search
(How to do an Integration Build submission)
(How to do an Integration Build submission)
Line 16: Line 16:
 
## Load the project org.eclipse.releng
 
## Load the project org.eclipse.releng
 
# Run the test suites.  To do this:
 
# Run the test suites.  To do this:
 +
## "Close Project" org.eclipse.ui.carbon if you are not on Carbon.
 
## Open up Run->Run Configurations
 
## Open up Run->Run Configurations
 
## Under JUnit Plug-in Test, select each test in turn and run.  You can't multi select, so each test is run on its own.
 
## Under JUnit Plug-in Test, select each test in turn and run.  You can't multi select, so each test is run on its own.
 
## Note: The JFace-All and RCP Test Suite require that the workbench have focus otherwise you will get false errors. Go get a coffee while running these since you can't use your machine.
 
## Note: The JFace-All and RCP Test Suite require that the workbench have focus otherwise you will get false errors. Go get a coffee while running these since you can't use your machine.
 +
## "Open Project" org.eclipse.ui.carbon if you closed it above.
 
# Select all the projects, pop up the menu and pick Team->Release...
 
# Select all the projects, pop up the menu and pick Team->Release...
 
# Leave selected "Use the default map project (org.eclipse.releng)". Click Next>.
 
# Leave selected "Use the default map project (org.eclipse.releng)". Click Next>.

Revision as of 22:32, 26 November 2007

How to do an Integration Build submission

Prep:

  1. It is best to keep an install/workspace around solely for the purpose of build submission. Take the latest milestone.
  2. Install releng tools into your eclipse install
    1. go to http://download.eclipse.org/eclipse/downloads/
    2. pick the build matching your install
    3. scroll to bottom, last section should be titled org.eclipse.releng.tools plug-in
    4. download to your install dir. Note: to verify its installed, start up eclipse, pick a project and popup menu. You should see "Fix Copyrights..."

Steps:

  1. Load contents from CVS
    1. Check Out the two modules(they will be at the bottom)
      1. platform-ui
      2. platform-ui-tests
      3. Note: the project org.eclipse.ui.carbon will have errors if you are not on carbon. You should have no other errors though.
    2. Load the project org.eclipse.releng
  2. Run the test suites. To do this:
    1. "Close Project" org.eclipse.ui.carbon if you are not on Carbon.
    2. Open up Run->Run Configurations
    3. Under JUnit Plug-in Test, select each test in turn and run. You can't multi select, so each test is run on its own.
    4. Note: The JFace-All and RCP Test Suite require that the workbench have focus otherwise you will get false errors. Go get a coffee while running these since you can't use your machine.
    5. "Open Project" org.eclipse.ui.carbon if you closed it above.
  3. Select all the projects, pop up the menu and pick Team->Release...
  4. Leave selected "Use the default map project (org.eclipse.releng)". Click Next>.
  5. There will be a tree with three top level items. Unless otherwise told, select only the last one, "ui.map", which also selects its children. Click Next>.
  6. The next step takes awhile while cvs info is checked.
  7. Select all text and paste into your mailer. Later, use this text to send an email to platform-ui-dev@eclipse.org notifying of build submission.
  8. On the resulting page, check the "Generate Build Notes" option at the bottom of the dialog. Click Next>.
  9. Select "Update the Build Notes File" checkbox at the top, and fill in the build notes file field as "/org.eclipse.ui/buildnotes_workbench.html"
  10. Type in the build tag, which is I or M (for integration or maintenance) followed by the build date-time. Next>.
  11. Enter the commit comment for the changed configuration file. Type "Submission for X-Y" where X-Y is the build date-time.