News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

David Para's Blog:
Writing a simple PHP sourcecode buildscript in Scala
January 11, 2010 @ 12:42:27

David Para has written up a tutorial for his blog today about working with Scala to create a build tool for his PHP repositories.

So what do I exactly need? I want to build multiple versions of PHP from the same branch without checking out the code twice. I also want to configure these builds somewhere without always typing in the parameter list or so. For further versions I want to be able to configure these in a file that can easily be distributed to other machines.

He includes the basic Scala script to make the build process work - defining the locations of the build tools, setting up a few parameters and define a few build parameters for his PHP6, PHP6-debug, PHP 5.3 and PHP 5.3-debug installations. An example of running the script is also given, passing in the name of the script along with the target to the java VM (or tell it to build all instances). You can download the jar file here.

0 comments voice your opinion now!
scala buildscript tutorial java


blog comments powered by Disqus

Similar Posts

PHPImpact Blog: Building a Web Service Client using the Zend Framework

Bob Majdak's Blog: Making images transparent using Imagick - enter the pixel iterator

Icemelon.com: Dynamic Images in PHP (with GD)

Stefan Mischook's Blog: Setting up an MVC structure with the Zend Framework - part 1

DevShed: Developing an Extensible Template Processor in PHP 5 (Part 1)


Community Events





Don't see your event here?
Let us know!


tips framework interview library update opinion deployment package unittest language series podcast symfony release zendserver laravel install api introduction community

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework