Difference between revisions of "Common Build Infrastructure/EMF"

From Eclipsepedia

Jump to: navigation, search
(CVS Tagging)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 +
{{:DocumentationGuidelines/DraftHeader}}
 +
 
== Athena Releng Project ==
 
== Athena Releng Project ==
  
Line 38: Line 40:
 
== CVS Tagging ==
 
== CVS Tagging ==
  
To tag (before or after a build), you can use the Eclipse Releng Tools, or simply rtag CVS this way:
+
To tag (before or after a build), you can use the [http://download.eclipse.org/eclipse/downloads/drops/S-3.6M6-201003121448/index.php#org.eclipse.releng  Eclipse Releng Tools Plugin], or simply rtag CVS this way:
  
 
  for d in $(find . -maxdepth 1 -type d -name "org.*"); do \
 
  for d in $(find . -maxdepth 1 -type d -name "org.*"); do \
Line 45: Line 47:
 
   cd ..; \
 
   cd ..; \
 
  done
 
  done
 
* [http://download.eclipse.org/eclipse/downloads/drops/S-3.6M6-201003121448/index.php#org.eclipse.releng org.eclipse.releng.tools plug-in]
 
  
  

Latest revision as of 12:27, 16 March 2010

Warning2.png
Draft Content
This page is currently under construction. Community members are encouraged to maintain the page, and make sure the information is accurate.


Contents

[edit] Athena Releng Project

[edit] Hudson Jobs

[edit] Publishing

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 / Release (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

[edit] CVS Tagging

To tag (before or after a build), you can use the Eclipse Releng Tools Plugin, 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