Skip to main content
Jump to: navigation, search

Difference between revisions of "STP/Build/BuildAllSTP"

< STP‎ | Build
(New page: This is the process that's usually followed to create a full build of everything <h4>Build all components/projects</h4> This build will compile all of the sub-projects and components and r...)
 
Line 6: Line 6:
  
 
<tt>
 
<tt>
$ svn co http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.build/build/trunk build
+
$ svn co http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.build/build/trunk build
$ cd build
+
$ cd build
$ ant -Dbase.directory=/somewhere/myBuild -Dplatform=/somewhere/eclipse build build.site
+
$ ant -Dbase.directory=/somewhere/myBuild -Dplatform=/somewhere/eclipse build build.site
 
</tt>
 
</tt>
  
 
That should be all there is to it!  After the build has completed, you will have the update site archived as a zip file in the <tt>/somewhere/myBuild</tt> directory.  The <tt>base.directory</tt> must be an ''absolute path''. The <tt>platform</tt> should be set to where you have all the dependencies in place. You will find a list of the dependencies, and how to create a platform installation at [http://wiki.eclipse.org/STP/Build/BuildOnMyMachine this wiki entry].
 
That should be all there is to it!  After the build has completed, you will have the update site archived as a zip file in the <tt>/somewhere/myBuild</tt> directory.  The <tt>base.directory</tt> must be an ''absolute path''. The <tt>platform</tt> should be set to where you have all the dependencies in place. You will find a list of the dependencies, and how to create a platform installation at [http://wiki.eclipse.org/STP/Build/BuildOnMyMachine this wiki entry].

Revision as of 07:28, 19 March 2009

This is the process that's usually followed to create a full build of everything

Build all components/projects

This build will compile all of the sub-projects and components and results in an archived update site that you can install directly into your Eclipse IDE. The build is designed to do all of the getting of source code from the SVN repository at dev.eclipse.org, so this build will only function if you are online. If you have ideas for an offline build, then please consider submitting a Bugzilla with your ideas, or better still, patches.

The execution is straightforward - simply check out the STP toplevel build and call ant to kick things off. You will need ant version 1.7.1, because the build takes advantage of a new task that is only available starting at that version.

$ svn co http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.build/build/trunk build
$ cd build
$ ant -Dbase.directory=/somewhere/myBuild -Dplatform=/somewhere/eclipse build build.site

That should be all there is to it! After the build has completed, you will have the update site archived as a zip file in the /somewhere/myBuild directory. The base.directory must be an absolute path. The platform should be set to where you have all the dependencies in place. You will find a list of the dependencies, and how to create a platform installation at this wiki entry.

Back to the top