<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Symfony-Zone &#187; Continuous Integration</title>
	<atom:link href="http://www.symfony-zone.com/wordpress/category/continuous-integration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.symfony-zone.com/wordpress</link>
	<description>Timo Haberkern blogs about symfony</description>
	<lastBuildDate>Tue, 15 Nov 2011 11:00:21 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Copy&amp;Paste Detector Task for Phing</title>
		<link>http://www.symfony-zone.com/wordpress/2009/09/29/copypast-detector-task-for-phing/</link>
		<comments>http://www.symfony-zone.com/wordpress/2009/09/29/copypast-detector-task-for-phing/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 07:47:01 +0000</pubDate>
		<dc:creator>Timo Haberkern</dc:creator>
				<category><![CDATA[Continuous Integration]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Phing]]></category>
		<category><![CDATA[Symfony]]></category>

		<guid isPermaLink="false">http://www.symfony-zone.com/wordpress/2009/09/29/copypast-detector-task-for-phing/</guid>
		<description><![CDATA[Hi, I use the Hudson Continuous Integration system to build my Symfony projects (will write a blog series about this in the next few days). For that I created a new task  for the Phing build system. Sebastian Bergamann wrote a Copy&#38;Paste Detector for PHP some time ago (PHPCPD). This small tool scans PHP sourcecode [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>I use the Hudson Continuous Integration system to build my Symfony projects (will write a blog series about this in the next few days). For that I created a  new task  for the <a href="http://phing.info/trac/" target="_blank">Phing</a> build system. Sebastian Bergamann wrote a Copy&amp;Paste Detector for PHP some time ago (<a href="http://github.com/sebastianbergmann/phpcpd/" target="_blank">PHPCPD</a>). This small tool scans PHP sourcecode for duplications. You can use the Task in a Phing build file as shown in the following sample:</p>
<pre class="xml">
&lt;phpcpd haltonerror="false"&gt;

  &lt;fileset dir="${builddir}" id="filestocpd"&gt;

    &lt;include name="apps/**/*.php" /&gt;

    &lt;include name="lib/de/**/*.php" /&gt;

    &lt;include name="lib/task/**/*.php" /&gt;

    &lt;include name="lib/services/**/*.php" /&gt;

    &lt;include name="lib/form/**/*.php" /&gt;

    &lt;include name="lib/model/**/*.php" /&gt;

  &lt;/fileset&gt;

  &lt;formatter type="pmd" outfile="reports/pmd-cpd.xml"/&gt;

&lt;/phpcpd&gt;</pre>
<p>The CPD task is incorporatated in the current Phing trunk. If you want to use it you need to checkout the Version2.4.0 RC at the moment. The PEAR Installer version doesn&#8217;t contain the Task at the moment.</p>
<p>Maybe this is useful for you too. Stay tuned for more informations on Symfony and Continuous integration</p>
]]></content:encoded>
			<wfw:commentRss>http://www.symfony-zone.com/wordpress/2009/09/29/copypast-detector-task-for-phing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

