<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Setting up continuous integration for PHP using Hudson and Phing</title>
	<atom:link href="http://www.davegardner.me.uk/blog/2009/11/09/continuous-integration-for-php-using-hudson-and-phing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davegardner.me.uk/blog/2009/11/09/continuous-integration-for-php-using-hudson-and-phing/</link>
	<description>Just behind the bleeding edge of PHP.</description>
	<lastBuildDate>Fri, 30 Jul 2010 13:29:11 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ben Waine</title>
		<link>http://www.davegardner.me.uk/blog/2009/11/09/continuous-integration-for-php-using-hudson-and-phing/comment-page-1/#comment-601</link>
		<dc:creator>Ben Waine</dc:creator>
		<pubDate>Fri, 30 Jul 2010 13:29:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.davegardner.me.uk/blog/?p=5#comment-601</guid>
		<description>Hi Dave,

I followed your advice regards the build being rsync&#039;d to an &#039;alpha&#039; staging area.

Works a treat, though it was a little fiddly setting up the public / private SSH keys!

Thanks,

Ben</description>
		<content:encoded><![CDATA[<p>Hi Dave,</p>
<p>I followed your advice regards the build being rsync&#8217;d to an &#8216;alpha&#8217; staging area.</p>
<p>Works a treat, though it was a little fiddly setting up the public / private SSH keys!</p>
<p>Thanks,</p>
<p>Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.davegardner.me.uk/blog/2009/11/09/continuous-integration-for-php-using-hudson-and-phing/comment-page-1/#comment-597</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 19 Jul 2010 12:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.davegardner.me.uk/blog/?p=5#comment-597</guid>
		<description>It depends on how you want the deployment to work; what you&#039;re requirements are. Previously, I have tweaked the &quot;build&quot; script to create a &quot;deploytoalpha&quot; Phing target. This was pretty simple stuff, using rsync to get the data over.

Right now, I&#039;m working somewhere where things are more sophisticated and actually less &quot;automatic&quot;. A developer must submit a ticket to deploy staging release, and this must involve a tagged version of the code (in SCM). This system doesn&#039;t integrate (currently) with our Hudson setup.</description>
		<content:encoded><![CDATA[<p>It depends on how you want the deployment to work; what you&#8217;re requirements are. Previously, I have tweaked the &#8220;build&#8221; script to create a &#8220;deploytoalpha&#8221; Phing target. This was pretty simple stuff, using rsync to get the data over.</p>
<p>Right now, I&#8217;m working somewhere where things are more sophisticated and actually less &#8220;automatic&#8221;. A developer must submit a ticket to deploy staging release, and this must involve a tagged version of the code (in SCM). This system doesn&#8217;t integrate (currently) with our Hudson setup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Waine</title>
		<link>http://www.davegardner.me.uk/blog/2009/11/09/continuous-integration-for-php-using-hudson-and-phing/comment-page-1/#comment-595</link>
		<dc:creator>Ben Waine</dc:creator>
		<pubDate>Mon, 12 Jul 2010 16:22:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.davegardner.me.uk/blog/?p=5#comment-595</guid>
		<description>Dave,

I found this guide really useful, thanks very much for taking the time to blog it!

Have you got any insight into automatic deployment to staging and also did you learn anything about getting phpdpend graph on the main dash?

Ben</description>
		<content:encoded><![CDATA[<p>Dave,</p>
<p>I found this guide really useful, thanks very much for taking the time to blog it!</p>
<p>Have you got any insight into automatic deployment to staging and also did you learn anything about getting phpdpend graph on the main dash?</p>
<p>Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.davegardner.me.uk/blog/2009/11/09/continuous-integration-for-php-using-hudson-and-phing/comment-page-1/#comment-590</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 18 Jun 2010 16:13:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.davegardner.me.uk/blog/?p=5#comment-590</guid>
		<description>The build script in my example is fairly light-weight. You&#039;re right - the &quot;app&quot; target is pointless. However it really depends on what you want your build process to &quot;do&quot;. New build scripts that I&#039;ve got do things like crunch config scripts to generate code and look at code annotations to work out dependency injection container &quot;wiring&quot; config. These all lie in the &quot;app&quot; target. Further more I&#039;ve added in some other targets to do things like deploy to a staging environment... there&#039;s loads you can do here.

I guess that &quot;build&quot; as a concept is more obviously useful in the context of compiled apps where you actually have to build them! Things like PHPDoc and/or CodeSniffr etc.. can really just run on the raw &quot;source&quot; code (as checked out of SCM).

That said it all depends what you do! I&#039;d urge you to have a play with a build.xml file. Automating things is a very powerful thing and I find it very useful. That said, if you wanted you could probably not use Phing and just use Hudson to do the heavy lifting.</description>
		<content:encoded><![CDATA[<p>The build script in my example is fairly light-weight. You&#8217;re right &#8211; the &#8220;app&#8221; target is pointless. However it really depends on what you want your build process to &#8220;do&#8221;. New build scripts that I&#8217;ve got do things like crunch config scripts to generate code and look at code annotations to work out dependency injection container &#8220;wiring&#8221; config. These all lie in the &#8220;app&#8221; target. Further more I&#8217;ve added in some other targets to do things like deploy to a staging environment&#8230; there&#8217;s loads you can do here.</p>
<p>I guess that &#8220;build&#8221; as a concept is more obviously useful in the context of compiled apps where you actually have to build them! Things like PHPDoc and/or CodeSniffr etc.. can really just run on the raw &#8220;source&#8221; code (as checked out of SCM).</p>
<p>That said it all depends what you do! I&#8217;d urge you to have a play with a build.xml file. Automating things is a very powerful thing and I find it very useful. That said, if you wanted you could probably not use Phing and just use Hudson to do the heavy lifting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ff78</title>
		<link>http://www.davegardner.me.uk/blog/2009/11/09/continuous-integration-for-php-using-hudson-and-phing/comment-page-1/#comment-589</link>
		<dc:creator>ff78</dc:creator>
		<pubDate>Fri, 18 Jun 2010 15:20:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.davegardner.me.uk/blog/?p=5#comment-589</guid>
		<description>Hi,
I don&#039;t understand how it can be used especially the build.xml

What&#039;s the role of the &quot;app&quot; target ? The app folder is empty so there&#039;s no php files for phpdoc...

Regards.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I don&#8217;t understand how it can be used especially the build.xml</p>
<p>What&#8217;s the role of the &#8220;app&#8221; target ? The app folder is empty so there&#8217;s no php files for phpdoc&#8230;</p>
<p>Regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.davegardner.me.uk/blog/2009/11/09/continuous-integration-for-php-using-hudson-and-phing/comment-page-1/#comment-587</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Thu, 03 Jun 2010 08:26:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.davegardner.me.uk/blog/?p=5#comment-587</guid>
		<description>@EllisGL
Yep - you&#039;re right about the build command. This amended version will make sure every Phing &quot;target&quot; gets executed. Another interesting point here is that you can setup different Hudson jobs to execute different targets. This is handy if the &quot;full&quot; build takes too long - in this situation you can setup a build that only executes a subset of tests (for example).</description>
		<content:encoded><![CDATA[<p>@EllisGL<br />
Yep &#8211; you&#8217;re right about the build command. This amended version will make sure every Phing &#8220;target&#8221; gets executed. Another interesting point here is that you can setup different Hudson jobs to execute different targets. This is handy if the &#8220;full&#8221; build takes too long &#8211; in this situation you can setup a build that only executes a subset of tests (for example).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EllisGL</title>
		<link>http://www.davegardner.me.uk/blog/2009/11/09/continuous-integration-for-php-using-hudson-and-phing/comment-page-1/#comment-585</link>
		<dc:creator>EllisGL</dc:creator>
		<pubDate>Wed, 02 Jun 2010 17:21:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.davegardner.me.uk/blog/?p=5#comment-585</guid>
		<description>The build command should be:
phing -f $WORKSPACE/source/build.xml prepare app phpdoc phpcpd pdepend phpcs phpunit -Dws=$WORKSPACE</description>
		<content:encoded><![CDATA[<p>The build command should be:<br />
phing -f $WORKSPACE/source/build.xml prepare app phpdoc phpcpd pdepend phpcs phpunit -Dws=$WORKSPACE</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.davegardner.me.uk/blog/2009/11/09/continuous-integration-for-php-using-hudson-and-phing/comment-page-1/#comment-584</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 17 May 2010 12:46:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.davegardner.me.uk/blog/?p=5#comment-584</guid>
		<description>@drahreg80 - Yes you&#039;re right about reporting on PHPDepend.

Not sure about the graph. Let me know if you find a way of getting this displayed.</description>
		<content:encoded><![CDATA[<p>@drahreg80 &#8211; Yes you&#8217;re right about reporting on PHPDepend.</p>
<p>Not sure about the graph. Let me know if you find a way of getting this displayed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: drahreg80</title>
		<link>http://www.davegardner.me.uk/blog/2009/11/09/continuous-integration-for-php-using-hudson-and-phing/comment-page-1/#comment-583</link>
		<dc:creator>drahreg80</dc:creator>
		<pubDate>Mon, 17 May 2010 11:58:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.davegardner.me.uk/blog/?p=5#comment-583</guid>
		<description>Did you forgot to choose &quot;Report JDepend&quot; under Post-build Actions? Value should be like &quot;build/logs/jdepend.xml&quot;.

Is there an way to show the graph of phpdepend in hudson?</description>
		<content:encoded><![CDATA[<p>Did you forgot to choose &#8220;Report JDepend&#8221; under Post-build Actions? Value should be like &#8220;build/logs/jdepend.xml&#8221;.</p>
<p>Is there an way to show the graph of phpdepend in hudson?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.davegardner.me.uk/blog/2009/11/09/continuous-integration-for-php-using-hudson-and-phing/comment-page-1/#comment-582</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 17 May 2010 08:04:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.davegardner.me.uk/blog/?p=5#comment-582</guid>
		<description>If your application uses the Zend Framework (I assume that&#039;s what you mean) then that&#039;s fine - nothing in this post needs to be changed. You just need to make sure your unit tests have included the ZF bootstrap/autoloader. Hudson doesn&#039;t care what kind of PHP framework / technologies you use.</description>
		<content:encoded><![CDATA[<p>If your application uses the Zend Framework (I assume that&#8217;s what you mean) then that&#8217;s fine &#8211; nothing in this post needs to be changed. You just need to make sure your unit tests have included the ZF bootstrap/autoloader. Hudson doesn&#8217;t care what kind of PHP framework / technologies you use.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
