Difference between revisions of "Common Build Infrastructure/EMF"

From Eclipsepedia

Jump to: navigation, search

Revision as of 12:21, 16 March 2010

To publish EMF and XSD, do the following:

Nightly:

/opt/public/common/apache-ant-1.7.1/bin/ant -f \
 /opt/users/hudsonbuild/.hudson/jobs/cbi-emf-core-2.6-nightly/workspace/org.eclipse.emf/org.eclipse.emf/releng/org.eclipse.emf.releng.athena/promote.xml \
 -Dpromote.properties=/opt/users/hudsonbuild/.hudson/jobs/cbi-emf-core-2.6-nightly/workspace/org.eclipse.emf/org.eclipse.emf/releng/org.eclipse.emf.releng.athena/promote-N.properties

Integration:

/opt/public/common/apache-ant-1.7.1/bin/ant -f \
 /opt/users/hudsonbuild/.hudson/jobs/cbi-emf-core-2.6-integration/workspace/org.eclipse.emf/org.eclipse.emf/releng/org.eclipse.emf.releng.athena/promote.xml \
 -Dpromote.properties=/opt/users/hudsonbuild/.hudson/jobs/cbi-emf-core-2.6-integration/workspace/org.eclipse.emf/org.eclipse.emf/releng/org.eclipse.emf.releng.athena/promote-I.properties

Milestone (clean the target dir before publishing to scrub any obsolete N or I builds):

rm -fr /home/data/httpd/download.eclipse.org/modeling/emf/emf/updates/2.6/*
/opt/public/common/apache-ant-1.7.1/bin/ant -f \
 /opt/users/hudsonbuild/.hudson/jobs/cbi-emf-core-2.6-integration/workspace/org.eclipse.emf/org.eclipse.emf/releng/org.eclipse.emf.releng.athena/promote.xml \
 -Dpromote.properties=/opt/users/hudsonbuild/.hudson/jobs/cbi-emf-core-2.6-integration/workspace/org.eclipse.emf/org.eclipse.emf/releng/org.eclipse.emf.releng.athena/promote-S.properties
/opt/public/common/apache-ant-1.7.1/bin/ant -f \
 /opt/users/hudsonbuild/.hudson/jobs/cbi-emf-core-2.6-integration/workspace/org.eclipse.emf/org.eclipse.emf/releng/org.eclipse.emf.releng.athena/promote.xml \
 -Dpromote.properties=/opt/users/hudsonbuild/.hudson/jobs/cbi-emf-core-2.6-integration/workspace/org.eclipse.emf/org.eclipse.emf/releng/org.eclipse.emf.releng.athena/promote-S.properties \
 -DcoordinatedReleaseBuildFile=:ext:nickb@dev.eclipse.org:/cvsroot/callisto:org.eclipse.helios.build/mdt-xsd.build

To tag (before or after a build), you can use the Eclipse Releng Tools, or simply rtag CVS this way:

for d in $(find . -maxdepth 1 -type d -name "org.*"); do \
 echo $d; cd $d; \
 cvs rtag -RFf v20100315-1340 $(cat CVS/Repository); \
 cd ..; \
done