PHP Project Wizard

Sebastian Bergmann » 06 February 2011 » in Projects » 2 Comments

Hot on the heels of the Template for Jenkins Jobs for PHP Projects comes my next new Open Source project: the PHP Project Wizard (PPW).

The PHP Project Wizard (PPW) is a commandline tool that can be used to generate the scripts and configuration files necessary for the build automation of a PHP project. Given the location of a project's directories with sourcecode and tests as well as the project's name, the PHP Project Wizard generates scripts and configuration files necessary for build automation using Apache Ant.

ppw --source src \
    --tests tests \
    --name myproject

PHP Project Wizard (PPW) 1.0.1 by Sebastian Bergmann.

Wrote build script for Apache Ant to build.xml
Wrote build configuration for Apache Ant to build.properties
Wrote configuration for PHPUnit to phpunit.xml.dist

The artifacts produced by the build are exactly what the template for Jenkins jobs for PHP projects expects.

Defined tags for this entry: ,

Trackback specific URI for this entry

2 Comments to "PHP Project Wizard"

Display comments as (Linear | Threaded)
  1. Ciaran McNulty
    25/02/2011 at 15:11 Permalink
    We struggled for a day or so getting a Hudson build just right, I just found out about this script from your PHPLondon2011 talk - can't wait to try it!

    Reply

  2. Santeri Vesalainen
    01/06/2011 at 09:19 Permalink
    Excellent idea, although I am not working in PHP project, yet, still this is just great idea / implementation.
    I think many - other than Java development environments - could have their own wizards, based on this thinking, instead of creating new plugins, creating wrappers for existing.

    There could be at least in Qt development similiar setup. Not currently working with Qt either. :)

    As a one step to get QTestLib unit tests into Junit understandable format I've used before this:
    http://www.qtcentre.org/wiki/index.php?title=Integrating_QTestLib_with_CruiseControl

    --> maybe this is just a missing xUnit-Plugin feature
    https://wiki.jenkins-ci.org/display/JENKINS/xUnit+Plugin

    Reply

0 Trackbacks to "PHP Project Wizard"

  1. No Trackbacks

Add Comment


To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Submitted comments will be subject to moderation before being displayed.