Difference between revisions of "Modeling Project Releng/Migrate to a new server"

From Eclipsepedia

Jump to: navigation, search
(Verify that you can build successfully on the new server)
(Option 2: Migrate to build.eclipse.org using new Athena Build)
Line 34: Line 34:
  
 
This will take more work, but the benefit here is you can run your build locally in Eclipse or on build.eclipse.org using Hudson to manage it (instead of the custom web UI on emft.eclipse or modeling.eclipse). Also, the amount of configuration is significantly less, so ongoing maintenance is less. (The Modeling Build is also deprecated in favour of the Athena Build.)
 
This will take more work, but the benefit here is you can run your build locally in Eclipse or on build.eclipse.org using Hudson to manage it (instead of the custom web UI on emft.eclipse or modeling.eclipse). Also, the amount of configuration is significantly less, so ongoing maintenance is less. (The Modeling Build is also deprecated in favour of the Athena Build.)
 +
 +
=== Create a new .releng project ===
  
 
You will need a new .releng project in CVS. Name/path does not matter.
 
You will need a new .releng project in CVS. Name/path does not matter.
Line 41: Line 43:
 
See: http://wiki.eclipse.org/Common_Build_Infrastructure/Getting_Started/Build_In_Eclipse
 
See: http://wiki.eclipse.org/Common_Build_Infrastructure/Getting_Started/Build_In_Eclipse
  
Once that's set up and you can build locally in Eclipse, see: http://wiki.eclipse.org/Common_Build_Infrastructure/Getting_Started/Build_In_Hudson
+
=== Run build in Eclipse ===
 +
 
 +
Once that's set up, you can run the build.xml script using Run As > Ant Build to get build and test results locally in Eclipse. Note that tests only work on Linux. See http://wiki.eclipse.org/Common_Build_Infrastructure/Getting_Started/Build_In_Eclipse#Troubleshooting_.2F_server_setup
 +
 
 +
 
 +
=== Run build in Hudson on build.eclipse.org ===
 +
 
 +
Next, see: http://wiki.eclipse.org/Common_Build_Infrastructure/Getting_Started/Build_In_Hudson

Revision as of 13:02, 7 July 2009

Next week, Wednesday July 15 at 9:00am ET, emft.eclipse.org will be going off the air (bug 273485.

As such, you will need to move your build infrastructure to modeling.eclipse.org, or you might want to explore running your build using the new Athena Build system on build.eclipse.org.

Contents

Option 1: Migrate to modeling.eclipse.org using existing Modeling Build

To move to modeling.eclipse, here's a checklist of things to do / test.

Verify that pages on emft.eclipse exist on modeling.eclipse

For example...

http://emft.eclipse.org/modeling/gmf/downloads/
 vs
http://modeling.eclipse.org/modeling/gmf/downloads/

If any builds are missing, you can use scp or rsync to move them from emft.eclipse or download.eclipse -> modeling.eclipse yourself).

Verify that you can build successfully on the new server

http://emft.eclipse.org/modeling/gmf/gmf/build/
 vs
http://modeling.eclipse.org/modeling/gmf/gmf/build/

Run a build. Verify that everything works - from signing & packing to ssh access

See: http://wiki.eclipse.org/Modeling_Project_Releng/Building

Publish a build. Verify that ssh permissions are correct and that the update site is properly generated

See: http://wiki.eclipse.org/Modeling_Project_Releng/Releasing#The_First_Time

Option 2: Migrate to build.eclipse.org using new Athena Build

This will take more work, but the benefit here is you can run your build locally in Eclipse or on build.eclipse.org using Hudson to manage it (instead of the custom web UI on emft.eclipse or modeling.eclipse). Also, the amount of configuration is significantly less, so ongoing maintenance is less. (The Modeling Build is also deprecated in favour of the Athena Build.)

Create a new .releng project

You will need a new .releng project in CVS. Name/path does not matter.

Here are some examples to copy from - see ve, vtp, gef, linux tools, nebula widgets.

See: http://wiki.eclipse.org/Common_Build_Infrastructure/Getting_Started/Build_In_Eclipse

Run build in Eclipse

Once that's set up, you can run the build.xml script using Run As > Ant Build to get build and test results locally in Eclipse. Note that tests only work on Linux. See http://wiki.eclipse.org/Common_Build_Infrastructure/Getting_Started/Build_In_Eclipse#Troubleshooting_.2F_server_setup


Run build in Hudson on build.eclipse.org

Next, see: http://wiki.eclipse.org/Common_Build_Infrastructure/Getting_Started/Build_In_Hudson