.comment-link {margin-left:.6em;}

Ben Cops

Wednesday, September 08, 2004

SWIFT BRE deployment utility

The SWIFT BRE deployment utility *can* be run automatically/from the command line/from my NAnt script.

A swift <koff>decompile reveals that popping the assembly name to inspect + deploy on the command line executes the deploy, and exits the utility


if (cmdLine.Length > 0)
{
MainForm.silentInstall = true;
for (num1 = 0; (num1 < cmdLine.Length); num1 = (num1 + 1))
{
form1.AddAssembly(cmdLine[num1]);

}
form1.Show();
form1.Refresh();
form1.btnDeploy_Click(null, null);
Application.Exit();

}
else
{ Application.Run(form1);

}

so you can just do a:
Microsoft.Solutions.FinancialServices.SWIFT.BREDeploymentUtility.exe SWIFTSchemas



UPDATE: For SWIFT 2.1 this changed so that the syntax was:
Microsoft.Solutions.FinancialServices.SWIFT.BREDeploymentUtility.exe deploy SWIFTSchemas
or
Microsoft.Solutions.FinancialServices.SWIFT.BREDeploymentUtility.exe undeploy SWIFTSchemas

1 Comments:

  • This comment has been removed by a blog administrator.

    By Anonymous Anonymous, at 2:33 pm  

Post a Comment

<< Home