码迷,mamicode.com
首页 > 其他好文 > 详细

[BTS] Deploy Command

时间:2014-11-25 20:16:55      阅读:122      评论:0      收藏:0      [点我收藏+]

标签:style   blog   io   color   sp   for   on   div   log   

 

BizTalkDeploymentTools.AddResource.bat

@Echo OFF

SET ApplicationName=%~1
SET ComponentType=%~2
SET ComponentName=%~3
Echo.
Echo.
Echo ##################################################################
Echo.
Echo.      Deploying the fllowing Assembly...
Echo       %ComponentName%
Echo.
Echo ##################################################################
Echo.
Echo.
BTSTask AddResource -ApplicationName:%ApplicationName% -Type:"System.BizTalk:%ComponentType%" -Overwrite -Options:GacOnAdd,GacOnInstall,GacOnImport -Source:"%ComponentName%"
Echo.
Echo.

 

BizTalkDeploymentTools.Install.bat

@Echo OFF

CLS

COLOR 0A

@Title BizTalk Deployment Tools V1.0

Echo.
Echo.
Echo.
Echo ##################################################################
Echo.
Echo.      CNABB BizTalk Deployment Tools V1.1
Echo.
Echo.
Echo ##################################################################

               
SET BizTalkApplicationName=MyBizTalkApplicationSET BizTalkAssembliesFile=BizTalkDeploymentTools.Assemblies.txt

FOR /F "delims=: tokens=1,2*" %%i IN (%BizTalkAssembliesFile%) DO @CALL BizTalkDeploymentTools.AddResource %BizTalkApplicationName% %%i %%j


Echo.
Echo.
Echo ##################################################################
Echo.
Echo       Deploy was completed.
Echo.
Echo       Please config the account, password, folder path and SAP in BizTalk Management Tools.
Echo.
Echo ##################################################################
Echo.
Echo.

time /t

PAUSE

 

BizTalkDeploymentTools.Assemblies.txt

Assembly:Integration.Biztalk.Pipelines.EncodingDecoder.dll
Assembly:Integration.CScot.Functions.dll
Assembly:Integration.Pol.Functions.dll
BizTalkAssembly:Integration.Sap.Schemas.dll
BizTalkAssembly:Integration.Cscot.Schemas.dll
BizTalkAssembly:Integration.Pol.Schemas.dll
BizTalkAssembly:Integration.Cscot.Maps.dll
BizTalkAssembly:Integration.Pol.Maps.dll
BizTalkAssembly:Integration.Cscot.Pipelines.dll
BizTalkAssembly:Integration.Pol.Pipelines.dll
BizTalkAssembly:Integration.Cscot.Orchestrations.dll
BizTalkAssembly:Integration.Bam.Orchestrations.dll
BizTalkAssembly:Integration.Pol.Orchestrations.dll
BizTalkAssembly:Integration.CScot.SyncData.dll

 

Guideline:

1.Config the txt file for list all components for deploy to BizTalk server.

2.Edit BizTalkDeploymentTools.Install.bat for change the BizTalk Application Name.

3.Run BizTalkDeploymentTools.Install.bat.

 

[BTS] Deploy Command

标签:style   blog   io   color   sp   for   on   div   log   

原文地址:http://www.cnblogs.com/xuzhong/p/4121606.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!