phing

How much of the Web build process do you/should you automate?

And what is your system of choice? Off the top of my head I would say that for a real one step web 'build' the following steps would have take place: Take a source snapshot Change any config files for release Compress CSS and JS Run Tests Take a database snapshot [without test data] Move the source to the server Import a clean, curren...

Do you use Phing?

Does anyone use Phing to deploy PHP applications, and if so how do you use it? We currently have a hand-written "setup" script that we run whenever we deploy a new instance of our project. We just checkout from SVN and run it. It sets some basic configuration variables, installs or reloads the database, and generates a v-host for the sit...

What's the difference between Phing and PHPUnderControl?

We currently use a hand-rolled setup and configuration script and a hand-rolled continuous integration script to build and deploy our application. I am looking at formalizing this somewhat with a third party system designed for these purposes. I have looked into Phing before, and I get that it's basically like Ant. But, my Ant experienc...

Is there a user interface for generating Phing build files?

I want to use Phing as a build tool and I was wondering if there any (web) interfaces available for generating build files. Any recommendations on alternative methods to writing those by hand would be appreciated as well. ...

Are there ssh and scp tasks available for phing?

I would like to do remote deployment from my build machine onto a server. The remoting can be done via ssh commands from a script, but I would rather use phing and a deploy.xml file that would do the automation. What alternatives do I have to do ssh (and also scp) tasks from within a phing build file? ...

propel-gen's "convert-conf" target fails

I'm trying to generate my models from a schema.xml file on OSX 10.5 with the latest versions of PHP & Propel 1.3 & Phing. All the model classes actually get created, then it just dies, right at the last step. I have already tried chmod -R 777 ./application/config but that didn't help. I have also tried both propel-gen ./ reve...

PHP build/integration tools: Do you use them?

After reading the "Modern PHP workflow" article in the November 2008 edition of php|architect magazine which discussed unit testing (phpUnit), build tools (Phing) and continuous integration (Xinc), I'm inspired the learn more about some of the tooling available for PHP, especially Phing. In the past I've often handled deployment to a p...

Recommend a Phing tutorial?

I've seen a few tutorials about Phing out there, but does anyone have a really good recommendation for one. It definitely looks like a handy tool. ...

PHP: Only include files when running phing?

I have the following folder structure: /main /loader.php /build.xml /components /package1 /class1.php /package2 /class2.php /tests /package1 /class1.test.php /package2 /class2.test.php When I run the web application I load loader.php at fir...

Phing and Wordpress configuration

Hi! I'm using Phing to push a wordpress installation to my production server. Is it possible to define the wp-config properties inside my build file, and then have phing replace the wp-config contents to use those variables? Like this: <property name="prod.db_name" value="wordpress" /> <property name="prod.db_user" value="root" /> <pr...

Phing, SVN and local file control

Like most people there comes a time when your localhost layout just doesnt really do it anymore and you find there are files all over the place. This is what I propose doing and I think that maybe im missing something or doing too many steps! Most of my work is with Joomla and oscommerce. My directory structure is as follows -Clients ...

Phing, Xinc or phpUnderControl - which one will last?

I am still looking into which one of these tools I should use. When I was poking around I noticed none of them really have any new releases: Xinc Version 2.0.1 released 02/05/08 Phing Version 2.3.3 released 12/07/08 phpUnderControl Version 0.4.4 released 08/09/08 Should I choose phpUnderControl because it had the latest release and de...

Copy a whole directory with phing

Does anyone know if its possible to use phing to copy an entire folder with files and sub folders (joomla core download) to another folder, but without the .svn folders. I have downloaded joomla using SVN, and I want to export it to my joomla dev folder using phing, without the need to have to list every single file type. My plan is to ...

How To Deploy Your PHP Applications Correctly?

Hi All, How to correctly deploy applications from development to production and how to deal with multiple site configurations. All my development are done thru svn located at var/svn/myapp/trunk and the actual production code is in /var/www/myapp. I check out the latest code to my local machine into a directory called "myapp_latest_sv...

How to generate propel ORM objects on virtual host with no include_path?

I have a dev server with several virtual hosts on it. Each one needs to be able to run the command: propel-gen ./ creole That script executes some php that reverse-engineers the database... BUT the php it executes needs to be included to do so. There is no include_path set in the php.ini because it would be global to all virtual hosts...

deb package task for Phing

does anybody know a Phing Task to create .deb packages for Debian base linux systems? ...

Array property in Phing

I have a phing build file that checks the permission of certain files using the <touch> task. <target description="list of files to check permission" name="files-to-test"> <property name="filesToCheck" value=""/> <php expression="file_get_contents('filesToCheck.txt')" returnProperty="filesToCheck"/> <foreach list="${file...

Calling Symfony Phing Build Targets - Custom Taskdef or Call the Symfony target directly?

I was just setting up a Phing build.xml file for a Symfony 1.2 application and came across the need to call the symfony propel init tasks. <!-- build symfony generated libs --> <!-- TODO: what about calling these from their respective buildfiles? --> <exec command="/usr/bin/symfony propel:build-model" dir="${build.dir}" passthru="true" ...

phing and phpUnderControl ... working together

Hi, Has anyone got these to work together seemlessly? I have tried, had some success using the plugin at http://phing.info/trac/wiki/Users/Documentation/CruiseControl, but have failed to: Get the metrics graphs working (nothing appears) Enable the "PMD" - project mess detection - reports Are there any other ant-specific commands tha...

phing : sending the full log by email ?

Hi, I'm using phing for some automatic-building process on a project, and was wondering : how can I get the full log by email ? When I launch phing by the command-line, the building-log is displayed ; I would like it : sent by e-mail, to several recipients, whether the build succeeded or failed ideally : with a subject for the mail ...