Modeling Project Releng/Migrate to a new server
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.
- 1 Option 1: Migrate to modeling.eclipse.org using existing Modeling Build
- 2 Option 2: Migrate to build.eclipse.org using new Athena Build
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
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/
First, edit your /www/modeling/<project>/<subproject>/build/_common.php file to add a new entry for the new server. Commit your changes to CVS.
Next, check out the changed file:
cd /var/www/html/modeling/<project>/<subproject>/build/; cvs up
Run a build. Verify that everything works - from signing & packing to ssh access
Verify that you can test successfully on the new server
You may find your tests fail to run due to a hardcoded platform arch value in your relengbuildgtk.sh script. You can fix this by replacing "
basearch=x86" with "
Publish a build. Verify that ssh permissions are correct and that the update site is properly generated
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.
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