<xsl:comment>deploy</xsl:comment>    
    
    <target name="pre-deploy"/>
    
    <target name="do-deploy" if="deployment.method" unless="skip.deployment">
        <fail unless="deployment.scriptfile">Property deployment.${deployment.method}.scriptfile not set. The property should point to an Ant script providing ${deployment.method} deployment.</fail>
        <ant antfile="${{deployment.scriptfile}}" inheritall="true" inheritrefs="true"/>
        <antcall target="post-deploy" inheritall="true" inheritrefs="true"/>
    </target>
    
    <target name="post-deploy"/>

    <target name="deploy" depends="build,pre-deploy,do-deploy,post-deploy"/>

