Difference between revisions of "STP/Build Component/Build 101"

From Eclipsepedia

Jump to: navigation, search
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
The Eclipse build infrastructure on <tt>build.eclipse.org</tt> can be used for builds, but you must request shell access [https://dev.eclipse.org/portal/myfoundation/portal/portal.php | through the portal]. This is to reduce the possibility of account hijacking and attendant difficulties.
 +
 +
== For Shell Access Users ==
 
STP uses [[Buckminster]] to do builds on the Eclipse infrastructure (a.k.a. <tt>build.eclipse.org</tt>. To do this build, you first need an account at Eclipse, which means you must be a committer on the project.
 
STP uses [[Buckminster]] to do builds on the Eclipse infrastructure (a.k.a. <tt>build.eclipse.org</tt>. To do this build, you first need an account at Eclipse, which means you must be a committer on the project.
  
Line 8: Line 11:
 
* <tt>ant -Dbase.directory=`pwd`/mybuild build</tt>  will build everything
 
* <tt>ant -Dbase.directory=`pwd`/mybuild build</tt>  will build everything
 
* <tt>ant -Dbase.directory=`pwd`/mybuild stp.build.site</tt> will build the archived update site
 
* <tt>ant -Dbase.directory=`pwd`/mybuild stp.build.site</tt> will build the archived update site
 +
 +
== Versioning up a build ==
 +
When you are moving on a build, for example a new milestone, you'll need to change some version information.
 +
 +
* Update the ''pde.target.platform'' in <tt>build.xml</tt> to point to the correct eclipse and dependencies platform
 +
  
 
You will be told by the Ant script where the update site has been stored. Copy the zip file (which contains the archived site) to the directory <tt>~/downloads/updates/committers/</tt><i>name</i> and unzip it. Once there has been an infrastructure synch (can take a considerable amount of minutes), you will see an update site available at <tt>http://downloads.eclipse.org/stp/downloads/updates/committers/</tt><i>name</i>.
 
You will be told by the Ant script where the update site has been stored. Copy the zip file (which contains the archived site) to the directory <tt>~/downloads/updates/committers/</tt><i>name</i> and unzip it. Once there has been an infrastructure synch (can take a considerable amount of minutes), you will see an update site available at <tt>http://downloads.eclipse.org/stp/downloads/updates/committers/</tt><i>name</i>.
  
 +
== For Normal Humans ==
 +
''coming soon''
  
 
[[Category:Build]]
 
[[Category:Build]]
 
[[Category:SOA Tools]]
 
[[Category:SOA Tools]]

Latest revision as of 04:49, 10 November 2008

The Eclipse build infrastructure on build.eclipse.org can be used for builds, but you must request shell access | through the portal. This is to reduce the possibility of account hijacking and attendant difficulties.

[edit] For Shell Access Users

STP uses Buckminster to do builds on the Eclipse infrastructure (a.k.a. build.eclipse.org. To do this build, you first need an account at Eclipse, which means you must be a committer on the project.

  • Log on to build.eclipse.org
  • Make a build directory in your home dir, call it stpbuild
  • cd stpbuild
  • Check out the build system - svn co http://dev.eclipse.org/svnroot/stp/build/trunk/buckminster buckminster
  • cd buckminster
  • ant -Dbase.directory=`pwd`/mybuild build will build everything
  • ant -Dbase.directory=`pwd`/mybuild stp.build.site will build the archived update site

[edit] Versioning up a build

When you are moving on a build, for example a new milestone, you'll need to change some version information.

  • Update the pde.target.platform in build.xml to point to the correct eclipse and dependencies platform


You will be told by the Ant script where the update site has been stored. Copy the zip file (which contains the archived site) to the directory ~/downloads/updates/committers/name and unzip it. Once there has been an infrastructure synch (can take a considerable amount of minutes), you will see an update site available at http://downloads.eclipse.org/stp/downloads/updates/committers/name.

[edit] For Normal Humans

coming soon