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

From Eclipsepedia

< DSDP‎ | MTJ‎ | Releng
Jump to: navigation, search
(Nightly scrips)
 
(3 intermediate revisions by one user not shown)
Line 48: Line 48:
  
 
'''runTests''' : Indicate if the automatic test must be run.  <font color="#960018"><b>[Not Implemented]</b></font>
 
'''runTests''' : Indicate if the automatic test must be run.  <font color="#960018"><b>[Not Implemented]</b></font>
 +
 +
'''M|N|I|S|R''' :
 +
* N : Nightly
 +
* I : Integration
 +
* M : Maintenance
 +
* S : Stable (Milestone or Release Candidate)
 +
* R : Release
  
 
</div>
 
</div>
Line 55: Line 62:
  
 
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/'''
 
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 ===
 
=== Developer scrips ===
Line 62: Line 68:
  
 
== Ant Scripts ==
 
== Ant Scripts ==
 
  
 
There are 3 ant scripts available in the <span style="font-family: monospace;">org.eclipse.mtj.releng</span> plug-in.
 
There are 3 ant scripts available in the <span style="font-family: monospace;">org.eclipse.mtj.releng</span> plug-in.
  
 
+
*[http://dev.eclipse.org/viewsvn/index.cgi/trunk/releng/org.eclipse.mtj.releng/build.xml?root=DSDP_MTJ&view=markup build.xml]
 +
*[http://dev.eclipse.org/viewsvn/index.cgi/trunk/releng/org.eclipse.mtj.releng/buildUpdateSite.xml?root=DSDP_MTJ&view=markup buildUpdateSite.xml]
 +
*[http://dev.eclipse.org/viewsvn/index.cgi/trunk/releng/org.eclipse.mtj.releng/builder/main/customTargets.xml?root=DSDP_MTJ&view=markup customTargets.xml]
  
 
[[Category:DSDP]] [[Category:MTJ]] [[Category:Releng]]
 
[[Category:DSDP]] [[Category:MTJ]] [[Category:Releng]]

Latest revision as of 07:41, 31 December 2008

Contents

[edit] Shell Scripts

There are six shell 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.


[edit] 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]

M|N|I|S|R :

  • N : Nightly
  • I : Integration
  • M : Maintenance
  • S : Stable (Milestone or Release Candidate)
  • R : Release


[edit] 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/

[edit] 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/

[edit] Ant Scripts

There are 3 ant scripts available in the org.eclipse.mtj.releng plug-in.