Location: PHPKode > projects > Xinc - Continuous Integration for PHP > Xinc-2.0.1/examples/simpleproject.tpl.xml
<?xml version="1.0"?>
<xinc>

    <project name="SimpleProject">
        <configuration>
    <setting name="loglevel" value="1"/>
    <setting name="timezone" value="US/Eastern"/>
    </configuration>
    <property name="dir" value="@EXAMPLE_DIR@/SimpleProject/"/>
    	<cron timer="*/4 * * * *"/>
        <modificationset>
            <buildalways/>
        </modificationset>
        <builders>
        	<phingBuilder buildfile="${dir}/build.xml" target="build"/>
        </builders>
        <publishers>
            <phpUnitTestResults file="${dir}/report/logfile.xml"/>
            <onfailure>
	            <email to="root" 
	                   subject="${project.name} build ${build.number} failed"
	                   message="The build failed."/>
            </onfailure>
            <onsuccess>
            	<phingPublisher buildfile="${dir}/publish.xml" target="build"/>
            	<artifactspublisher file="${dir}/publish.xml"/>
            	<artifactspublisher file="${dir}/publish.xml"/>
            	<deliverable file="${dir}/builds/release-${build.label}.tar.gz" alias="release.tar.gz"/>
            </onsuccess>
            <onrecovery>
            	<email to="root" 
	                   subject="${project.name} build ${build.number} was recovered"
	                   message="The build passed after having failed before."/>
            </onrecovery>
        </publishers>
    </project>
    
    <project name="SimpleProject2">
    <property name="dir" value="@EXAMPLE_DIR@/SimpleProject/"/>
    	<schedule interval="120"/>
        <modificationset>
            <buildalways/>
        </modificationset>
        <builders>
        	<phingBuilder buildfile="${dir}/build.xml" target="build"/>
        </builders>
        <publishers>
            <onfailure>
	            <email to="root" 
	                   subject="${project.name} build ${build.number} failed"
	                   message="The build failed."/>
            </onfailure>
            <onsuccess>
            	<phingPublisher buildfile="${dir}/publish.xml" target="build"/>
            </onsuccess>
            <onrecovery>
            	<email to="root" 
	                   subject="${project.name} build ${build.number} was recovered"
	                   message="The build passed after having failed before."/>
            </onrecovery>
        </publishers>
    </project>
</xinc>
Return current item: Xinc - Continuous Integration for PHP