Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

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

 
(One intermediate revision by the same user not shown)
Line 11: 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>.

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.

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

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.

For Normal Humans

coming soon

Back to the top