The word "fail" or "failover" is nowhere in my script. 
Does that mean I'm sure? I'm not familiar with failover. 

Here's my entire NANT file: 

<?xml version="1.0"?>
<project name="BiztalkPayment" default="run">


     <target name="PaymentCopyGACRestart">
        <call target="CopyDllsFromMyMachine" />
        <call target="GACAndRestart" />
    </target>

    
    <target name="CopyDllsFromMyMachine">
       <copy todir="c:\BTSDeployment\DeploymentFiles\BizTalkAssemblies\"
overwrite="true">
           <fileset
basedir="\\usgdpwv81nb\c$\Shared\CI-OMC\SourceCode\Compassion.BizTalk\Compassion.BizTalk.BusinessProcesses.Payment\bin\Development">
                <include
name="Compassion.BizTalk.BusinessProcesses.Payment.dll" />
           </fileset>
       </copy>
       <copy todir="c:\BTSDeployment\DeploymentFiles\BizTalkAssemblies\"
overwrite="true">
           <fileset
basedir="\\usgdpwv81nb\c$\Shared\CI-OMC\SourceCode\Compassion.BizTalk\Compassion.BizTalk.Schemas.Payment\bin\Development">
                <include name="Compassion.BizTalk.Schemas.Payment.dll" />
           </fileset>
       </copy>
    </target>

    <target name="GACAndRestart">
       <gac-install>
            <assemblies>
                 <include
name="C:\BTSDeployment\DeploymentFiles\BizTalkAssemblies\Compassion.BizTalk.Schemas.Payment.dll"
/>
                 <include
name="C:\BTSDeployment\DeploymentFiles\BizTalkAssemblies\Compassion.BizTalk.BusinessProcesses.Payment.dll"
/>
            </assemblies>
        </gac-install>
        <call target="RestartBiztalk" />

    </target>

    <target name="RestartBiztalk">
        <servicecontroller action="Restart" service="BizTalk Service BizTalk
Group : BizTalkServerApplication" />
    </target>
    
   
</project>



-- 
View this message in context: 
http://www.nabble.com/How-to-Catch-Error-in-Copy-Task-tf1925976.html#a5276210
Sent from the NAnt - Users forum at Nabble.com.



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to