WelcomeAs presented on Wednesday 27 February 2008 at the Erlang London User Group meeting at the offices of Skills Matter, 1 Sekforde Street, London UK.
"The T-Build system simplifies and automates the creation of new Erlang/OTP projects, automates the build and packaging process, and automates the deployment of software onto the target systems. The T-Build system will assist any developers who have discovered Erlang, and are now prepared to use it for industrial purposes. It fills the gap between learning the language and deploying it."
RamblingsThere's also a podcast of my rambling talk advertised on the SkillsMatter website. I recommend a visit there, the other podcasts are far more interesting than mine!
In case SkillsMatter decide that there are far more interesting talks to advertise, considering the calibre and stature of the other speakers who can blame them, the direct link to Google Video
My fifteen minutes of fame, not!
BlogI've half-heartedly started a related blog to accompany this project.
Similar ProjectsA different approach to project creation can be found at Erlware. The Erlware philosophy is different, and aims to be a far more dynamic development model than T-Build aims to be. I've met Martin and Eric, and these guys are hard working individuals who have put a lot of love, care and attention into Erlware. Check it out, and say I said "Hi!"
RequirementsYou will need:
Subversion, but I expect other version control systems can replace this hard-coded dependency on svn the very latest GNU make, otherwise make will break under the stress bash sed Erlang OTP, any version will do.
DownloadT-Build is laid out differently to the traditional style of Subversion repositories, and following the instructions on the Source Checkout page will result in a big fat nothing. Sorry, but I haven't yet found how to change the Google default message.
If you Browse the source you will see three top level directories:
Applications Projects Tools
To begin you may have to register yourself as a project member, since committing projects to the repository require this. Without membership, you will create a project, but some files will not have the correct permissions (yes, this is a bug). This is fixed in revision r13 and later.
Checkout the top level non-recursively, then inside the project checkout Projects/, again non-recursively:
~$ svn checkout -N https://erlang-t-build.googlecode.com/svn/ erlang-t-build --username phmander
Authentication realm: Google Code Subversion Repository
Password for 'phmander':
Checked out revision RRR.
~$ cd erlang-t-build/
~/erlang-t-build$ svn ls
~/erlang-t-build$ svn up -N Projects/
Updated to revision RRR.
~/erlang-t-build$ cd Projects/
update-OTP-versionsThere should be a create-new-project-2.0 script available for action. Have a look at CreateNewProject for instructions.
StatusRevision 13 and laterThe version committed to Googlecode as of 2008-August-21 (from revision 13 onwards) tracks changes made since Friday 2008-March-07 inside T-Mobile during the course of day to day development.
One "feature" has been removed: it is no longer necessary to commit the newly created projects to enable them to build. Projects will build immediately after being created.
Another benefit added is that the scripts and created projects work on Apple Mac OS X, in addition to Linux and Solaris.
Up to revision 12The version committed to Googlecode as of 2008-Feb-29 (up to revision 12) is not optimised for use over the Internet. Running the Create New Project script will be ve-e-ery slo-o-ow. T-Build as used in T-Mobile is executed on a repository on a fast local network, and pushing T-Build onto Googlecode has revealed how painfully dependent it is on a fast network. Apologies for this 'feature'. I plan to find ways of improving matters, possibly with a repository cache, or simply better algorithms.
LicenseLicensed as Mozilla Public License 1.1, with additional provisions stated in the Erlang Public License which is a derivative work of the Mozilla Public License, Version 1.0:
Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.