Difference between revisions of "DSDP/MTJ/Releng/Scripts"

From Eclipsepedia

< DSDP‎ | MTJ‎ | Releng
Jump to: navigation, search
(build.sh)
Line 26: Line 26:
 
</div>
 
</div>
  
 +
Arguments :
 +
 +
<div style="border: 2px solid #808080; padding: 6px; background: #FFF8E7;">
 +
'''buildId''' : The name to be used in the build.
 +
 +
'''metadata''' : Generates P2 metadata.
 +
 +
'''revision''' : Reflects the svn version tag of the code to be used in the build.
 +
 +
'''publish''' : Indicates if the mtj packages will be copied to the download server.
 +
 +
'''outputDirectory''' : The directory in which mtj packages will be placed after the build process if the -publish argument is set. By default, the ''/home/data/httpd/download.eclipse.org/dsdp/mtj/downloads/drops/'' directory is assumed.
 +
 +
'''updateSite''' : Indicate if an update site should be generated.
 +
 +
'''updateSiteDirectory''' :  The directory in which mtj will post the update site files if the -updateSite argument is set. By default, the ''/home/data/httpd/download.eclipse.org/dsdp/mtj/updates/'' directory is assumed.
 +
 +
'''notify''' : Indicate if the notification email must be sent after the build process. <font color="#960018"><b>[Not Implemented]</b></font>
 +
 +
'''sign''' : Indicate if the packages must be signed.
 +
 +
'''runTests''' : Indicate if the automatic test must be run.  <font color="#960018"><b>[Not Implemented]</b></font>
 +
 +
</div>
  
 
=== Nightly scrips ===
 
=== Nightly scrips ===

Revision as of 10:35, 29 December 2008

Contents

Scripts

There are six scripts available in the scripts folder of the org.eclipse.mtj.releng plug-in.

All these scrips use the bootstrap build.sh available in the org.eclipse.mtj.releng plug-in root.


build.sh

Usage :

setup.sh [-buildId name] [-metadata] [-revision tag] [-publish [-outputDirectory directory]] [-updateSite [-updateSiteDirectory directory]] [-notify] [-sign] [-runTests] M|N|I|S|R"

Arguments :

buildId : The name to be used in the build.

metadata : Generates P2 metadata.

revision : Reflects the svn version tag of the code to be used in the build.

publish : Indicates if the mtj packages will be copied to the download server.

outputDirectory : The directory in which mtj packages will be placed after the build process if the -publish argument is set. By default, the /home/data/httpd/download.eclipse.org/dsdp/mtj/downloads/drops/ directory is assumed.

updateSite : Indicate if an update site should be generated.

updateSiteDirectory : The directory in which mtj will post the update site files if the -updateSite argument is set. By default, the /home/data/httpd/download.eclipse.org/dsdp/mtj/updates/ directory is assumed.

notify : Indicate if the notification email must be sent after the build process. [Not Implemented]

sign : Indicate if the packages must be signed.

runTests : Indicate if the automatic test must be run. [Not Implemented]

Nightly scrips

Used to generate an official build and publish it in the download server under /home/data/httpd/download.eclipse.org/dsdp/mtj/downloads/drops/ and create an update site at /home/data/httpd/download.eclipse.org/dsdp/mtj/updates/0.9/NightlyBuilds/


Developer scrips

Used to run the same process of an official build, but, instead of publish it in the download server, it copy the resulting drop to /opt/public/dsdp/mtj/test/drops/ and create an update site at /opt/public/dsdp/mtj/test/drops/update/