• [BTS] Deploy Command


    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.

  • 相关阅读:
    硬盘SSD、HDD和SSHD都是什么意思?哪种类型硬盘最好?
    记录vlookup的小问题
    找到两个字符串中相同的部分| 对字符串list后的奇妙发现
    jiayan:Cannot read model 'jiayan.klm' (utilfile.cc:74 in util::OpenReadOrThrow threw ErrnoException because `-1 == (ret = _open(name,
    windows下装kenlm
    每日一题力扣98 验证二叉搜索树
    每日一题力扣230 二叉搜索树中的第K小的元素
    每日一题力扣538 把二叉搜索树转换为累加树
    每日一题力扣530 二叉搜索树的最小绝对查
    每日一题力扣700 二叉搜索树中的搜索
  • 原文地址:https://www.cnblogs.com/xuzhong/p/4121606.html
Copyright © 2020-2023  润新知