Conversie van de TransSmart solution van BizTalk 2013 naar 2016.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Deployment.btdfproj 14KB

4 viikkoa sitten
4 viikkoa sitten
4 viikkoa sitten
4 viikkoa sitten
4 viikkoa sitten
4 viikkoa sitten
4 viikkoa sitten
4 viikkoa sitten
4 viikkoa sitten
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Deployment Framework for BizTalk
  4. Copyright (C) 2004-2012 Thomas F. Abraham and Scott Colestock
  5. -->
  6. <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Installer" ToolsVersion="4.0">
  7. <PropertyGroup>
  8. <Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
  9. <Platform Condition="'$(Platform)' == ''">x86</Platform>
  10. <!-- Customization Generic Apps -->
  11. <IsGenericComponent>False</IsGenericComponent>
  12. <IntegrationCode>F017</IntegrationCode>
  13. <UseEnvSettingsDB>True</UseEnvSettingsDB>
  14. <!-- Customization SSO Data Store Credentials -->
  15. <SsoAppAdminGroup>KLG\BizTalk SSO Administrators_$(BTDFENV)</SsoAppAdminGroup>
  16. <SsoAppUserGroup>KLG\BizTalk SSO Administrators_$(BTDFENV)</SsoAppUserGroup>
  17. <!-- End Customization -->
  18. <SchemaVersion>1.0</SchemaVersion>
  19. <ProjectName>KLG.Extern</ProjectName>
  20. <ProjectVersion>1.0</ProjectVersion>
  21. <SkipIISReset>True</SkipIISReset>
  22. <SkipHostInstancesRestart>True</SkipHostInstancesRestart>
  23. <IncludeSchemas>True</IncludeSchemas>
  24. <IncludeOrchestrations>False</IncludeOrchestrations>
  25. <IncludeTransforms>True</IncludeTransforms>
  26. <IncludePipelines>True</IncludePipelines>
  27. <IncludeComponents>True</IncludeComponents>
  28. <IncludePipelineComponents>True</IncludePipelineComponents>
  29. <IncludeCustomFunctoids>False</IncludeCustomFunctoids>
  30. <IncludeVocabAndRules>False</IncludeVocabAndRules>
  31. <IncludeVirtualDirectories>False</IncludeVirtualDirectories>
  32. <IncludeMessagingBindings>True</IncludeMessagingBindings>
  33. <IncludeDeploymentTest>False</IncludeDeploymentTest>
  34. <Includelog4net>False</Includelog4net>
  35. <IncludeSSO>True</IncludeSSO>
  36. <IncludeEsbItineraries>False</IncludeEsbItineraries>
  37. <IncludeBam>False</IncludeBam>
  38. <IncludeInstallUtilForComponents>False</IncludeInstallUtilForComponents>
  39. <UsingMasterBindings>True</UsingMasterBindings>
  40. <RequireXmlPreprocessDirectives>False</RequireXmlPreprocessDirectives>
  41. <ApplyXmlEscape>True</ApplyXmlEscape>
  42. <IncludeSettingsSpreadsheetInMsi>True</IncludeSettingsSpreadsheetInMsi>
  43. <StartApplicationOnDeploy>True</StartApplicationOnDeploy>
  44. <EnableAllReceiveLocationsOnDeploy>True</EnableAllReceiveLocationsOnDeploy>
  45. <StartReferencedApplicationsOnDeploy>True</StartReferencedApplicationsOnDeploy>
  46. <UseIsolatedAppDomain>False</UseIsolatedAppDomain>
  47. <EnableBizTalkExtendedLogging>False</EnableBizTalkExtendedLogging>
  48. <EnableBizTalkAssemblyValidation>False</EnableBizTalkAssemblyValidation>
  49. <EnableBizTalkCorrelationValidation>False</EnableBizTalkCorrelationValidation>
  50. <EnableBizTalkSchemaValidation>False</EnableBizTalkSchemaValidation>
  51. </PropertyGroup>
  52. <PropertyGroup>
  53. <!-- Properties related to building an MSI for server deployments -->
  54. <!-- BizTalk App Version Upgrade -->
  55. <!-- For each new product release to be deployed to your BizTalk servers: -->
  56. <!-- 1) Increment ProductVersion -->
  57. <!-- 2) Generate a new GUID and update ProductId with the new GUID -->
  58. <!-- This allows the new MSI to automatically uninstall (not undeploy!) the old MSI and install the new one. -->
  59. <ProductVersion>3.0.33</ProductVersion>
  60. <ProductId>6c62c5e2-4df2-4daf-b556-9a4d9bdea470</ProductId>
  61. <!-- BizTalk App Version Upgrade -->
  62. <ProductName>TM.TransSmart</ProductName>
  63. <Manufacturer>$(BTDFCOMPANYNAME) Deployment Framework User</Manufacturer>
  64. <PackageDescription>TM.TransSmart</PackageDescription>
  65. <PackageComments>TM.TransSmart</PackageComments>
  66. <BizTalkAppDescription>$(ProjectName)-$(ProductVersion) Deployed on: $([System.DateTime]::Now) By: $(USERNAME) </BizTalkAppDescription>
  67. <!-- NEVER change the ProductUpgradeCode. -->
  68. <ProductUpgradeCode>3716585f-6a4c-419e-a5c0-867ba4af9b00</ProductUpgradeCode>
  69. </PropertyGroup>
  70. <!-- Under TFS Team Build, set CustomizableOutDir property to true in TFS 2005/2008/2010 UpgradeTemplate. -->
  71. <!-- With a workflow build, copy the default template then modify the MSBuild task for the solution build. Set OutDir to blank and -->
  72. <!-- CommandLineArguments to String.Format("/p:SkipInvalidConfigurations=true;TeamBuildOutDir=""{0}"" {1}", BinariesDirectory, MSBuildArguments). -->
  73. <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
  74. <DeploymentFrameworkTargetsPath>$(MSBuildExtensionsPath)\DeploymentFrameworkForBizTalk\5.0\</DeploymentFrameworkTargetsPath>
  75. <OutputPath Condition="'$(TeamBuildOutDir)' == ''">bin\Debug\</OutputPath>
  76. <OutputPath Condition="'$(TeamBuildOutDir)' != ''">$(TeamBuildOutDir)</OutputPath>
  77. <DeployPDBsToGac>false</DeployPDBsToGac>
  78. </PropertyGroup>
  79. <PropertyGroup Condition="'$(Configuration)' == 'Release'">
  80. <DeploymentFrameworkTargetsPath>$(MSBuildExtensionsPath)\DeploymentFrameworkForBizTalk\5.0\</DeploymentFrameworkTargetsPath>
  81. <OutputPath Condition="'$(TeamBuildOutDir)' == ''">bin\Release\</OutputPath>
  82. <OutputPath Condition="'$(TeamBuildOutDir)' != ''">$(TeamBuildOutDir)</OutputPath>
  83. <DeployPDBsToGac>false</DeployPDBsToGac>
  84. </PropertyGroup>
  85. <PropertyGroup Condition="'$(Configuration)' == 'Server'">
  86. <DeploymentFrameworkTargetsPath>Framework\</DeploymentFrameworkTargetsPath>
  87. <!-- Get our PDBs into the GAC so we get file/line number information in stack traces. -->
  88. <DeployPDBsToGac>true</DeployPDBsToGac>
  89. </PropertyGroup>
  90. <ItemGroup>
  91. <PropsFromEnvSettings Include="SsoAppUserGroup;SsoAppAdminGroup;ESBLookupConnectionString;ESBTrackingConnectionString;B2BUsername;B2BPassword" />
  92. <AppsToReference Include="KLG.Intern"/>
  93. </ItemGroup>
  94. <!-- !!! TODO !!! -->
  95. <!-- Add ItemGroup elements that contain one or more Schemas, Orchestrations, Transforms, etc. elements that describe -->
  96. <!-- the specific artifacts in your solution that need to be deployed. Use IntelliSense as a guide. -->
  97. <!--<ItemGroup>
  98. <Schemas Include="TM.TransSmart.Schemas.dll">
  99. <LocationPath>..\Schemas\bin\$(Configuration)</LocationPath>
  100. </Schemas>
  101. <Transforms Include="TM.TransSmart.Transforms.dll">
  102. <LocationPath>..\Transforms\bin\$(Configuration)</LocationPath>
  103. </Transforms>
  104. <PipelineComponents Include="TM.TransSmart.PipelineComponents.dll">
  105. <LocationPath>..\PipelineComponents\bin\$(Configuration)</LocationPath>
  106. </PipelineComponents>
  107. <Pipelines Include="TM.TransSmart.Pipelines.dll">
  108. <LocationPath>..\Pipelines\bin\$(Configuration)</LocationPath>
  109. </Pipelines>
  110. <Components Include="TM.TransSmart.Components.dll">
  111. <LocationPath>..\Components\bin\$(Configuration)</LocationPath>
  112. </Components>
  113. </ItemGroup>-->
  114. <!-- !!! TODO !!! -->
  115. <Import Project="$(DeploymentFrameworkTargetsPath)BizTalkDeploymentFramework.targets" />
  116. <!-- ============ START Deployment OVERRIDE ============ -->
  117. <Import Project="$(BTDFEXTENSIONPATH)\Targets\1.0.0\Custom.BizTalkDeploymentFramework.targets"/>
  118. <Import Project="$(DeploymentFrameworkTargetsPath)BizTalkDeploymentFramework.Redeploy.targets"/>
  119. <!--
  120. The Deployment Framework automatically packages most files into the server install MSI.
  121. However, if there are special folders that you need to include in the MSI, you can
  122. copy them to the folder $(RedistDir) in the CustomRedist target.
  123. To include individual files, add an ItemGroup with AdditionalFiles elements.
  124. -->
  125. <Target Name="UndeployAppDefinition" Condition="'$(SkipUndeploy)' == 'false'" DependsOnTargets="PrepareAppForUndeploy">
  126. <Message Text="-&gt; Override UndeployAppDefinition (no application removal is done!)"/>
  127. <!--<Exec Command="BTSTask.exe RemoveResource -ApplicationName:&quot;$(BizTalkAppName)&quot; -Luid:&quot;$(ProductName).Components, Version=3.0.1.0, Culture=neutral, PublicKeyToken=$(ProductPublicKey)&quot;" Condition="'$(AppExists)' == 'true'" ContinueOnError="true"/>-->
  128. <!--<Exec Command="BTSTask.exe RemoveResource -ApplicationName:&quot;$(BizTalkAppName)&quot; -Luid:&quot;$(ProductName).PipelineComponents, Version=3.0.1.0, Culture=neutral, PublicKeyToken=$(ProductPublicKey)&quot;" Condition="'$(AppExists)' == 'true'" ContinueOnError="true"/>-->
  129. <Exec Command="BTSTask.exe RemoveResource -ApplicationName:&quot;$(BizTalkAppName)&quot; -Luid:&quot;$(ProductName).Pipelines, Version=3.0.3.0, Culture=neutral, PublicKeyToken=$(ProductPublicKey)&quot;" Condition="'$(AppExists)' == 'true'" ContinueOnError="true"/>
  130. <Exec Command="BTSTask.exe RemoveResource -ApplicationName:&quot;$(BizTalkAppName)&quot; -Luid:&quot;$(ProductName).Schemas, Version=3.0.0.0, Culture=neutral, PublicKeyToken=$(ProductPublicKey)&quot;" Condition="'$(AppExists)' == 'true'" ContinueOnError="true"/>
  131. <Exec Command="BTSTask.exe RemoveResource -ApplicationName:&quot;$(BizTalkAppName)&quot; -Luid:&quot;$(ProductName).Transforms, Version=3.0.21.0, Culture=neutral, PublicKeyToken=$(ProductPublicKey)&quot;" Condition="'$(AppExists)' == 'true'" ContinueOnError="true"/>
  132. </Target>
  133. <Target Name="StopApplication" DependsOnTargets="VerifyBizTalkAppExists">
  134. <Message Text="-&gt; Override StopApplication"/>
  135. <!--Stop Orchestrations-->
  136. <!--<ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="Stop" SendPortName="" ReceivePortName="" OrchestrationName="OrchestrationExample" Condition="'$(AppExists)' == 'true'"/>-->
  137. <!--Stop Send Ports (optional remove mapping)-->
  138. <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="Stop" SendPortName="TM.TransSmart: TM.Shared.OrderStatus_to_TM.TransSmart.Status Send" ReceivePortName="" OrchestrationName="" Condition="'$(AppExists)' == 'true'"/>
  139. <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="Stop" SendPortName="TM.TransSmart: ToXMLDOC_IN" ReceivePortName="" OrchestrationName="" Condition="'$(AppExists)' == 'true'"/>
  140. <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="RemoveOutboundTransformFromSendPort" SendPortName="TM.TransSmart: TM.Shared.OrderStatus_to_TM.TransSmart.Status Send" ReceivePortName="" OrchestrationName="" TransformName="TM.Shared.OrderStatus_to_TM_TransSmart_Status" Condition="'$(AppExists)' == 'true'"/>
  141. <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="RemoveOutboundTransformFromSendPort" SendPortName="TM.TransSmart: TM.Shared.OrderStatus_to_TM.TransSmart.Status Send" ReceivePortName="" OrchestrationName="" TransformName="TM.TransSmart.Shipment_to_TM.Shared_Order" Condition="'$(AppExists)' == 'true'"/>
  142. <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="RemoveOutboundTransformFromSendPort" SendPortName="TM.TransSmart: ToXMLDOC_IN" ReceivePortName="" OrchestrationName="" TransformName="TM.Shared.OrderStatus_to_TM_TransSmart_Status" Condition="'$(AppExists)' == 'true'"/>
  143. <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="RemoveOutboundTransformFromSendPort" SendPortName="TM.TransSmart: ToXMLDOC_IN" ReceivePortName="" OrchestrationName="" TransformName="TM.TransSmart.Shipment_to_TM.Shared_Order" Condition="'$(AppExists)' == 'true'"/>
  144. <!--Stop Receive Ports (optional remove mapping)-->
  145. <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="Stop" SendPortName="" ReceivePortName="TM.TransSmart: TM.TransSmart.Shipment_to_TM.Shared.Order" OrchestrationName="" Condition="'$(AppExists)' == 'true'"/>
  146. <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="Stop" SendPortName="" ReceivePortName="TM.TransSmart: TM.Shared.OrderStatus_to_TM.TransSmart.Status" OrchestrationName="" Condition="'$(AppExists)' == 'true'"/>
  147. <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="RemoveInboundTransformFromReceivePort" SendPortName="" ReceivePortName="TM.TransSmart: TM.TransSmart.Shipment_to_TM.Shared.Order" OrchestrationName="" TransformName="TM.Shared.OrderStatus_to_TM_TransSmart_Status" Condition="'$(AppExists)' == 'true'"/>
  148. <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="RemoveInboundTransformFromReceivePort" SendPortName="" ReceivePortName="TM.TransSmart: TM.TransSmart.Shipment_to_TM.Shared.Order" OrchestrationName="" TransformName="TM.TransSmart.Shipment_to_TM.Shared_Order" Condition="'$(AppExists)' == 'true'"/>
  149. <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="RemoveInboundTransformFromReceivePort" SendPortName="" ReceivePortName="TM.TransSmart: TM.Shared.OrderStatus_to_TM.TransSmart.Status" OrchestrationName="" TransformName="TM.Shared.OrderStatus_to_TM_TransSmart_Status" Condition="'$(AppExists)' == 'true'"/>
  150. <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="RemoveInboundTransformFromReceivePort" SendPortName="" ReceivePortName="TM.TransSmart: TM.Shared.OrderStatus_to_TM.TransSmart.Status" OrchestrationName="" TransformName="TM.TransSmart.Shipment_to_TM.Shared_Order" Condition="'$(AppExists)' == 'true'"/>
  151. <!--<ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="Stop" SendPortName="" ReceivePortName="TM.IDS: TM.IDS.Shipment_to_TM.Shared.Order" OrchestrationName="" Condition="'$(AppExists)' == 'true'"/>-->
  152. </Target>
  153. <Target Name="StartApplication" Condition="'$(StartApplicationOnDeploy)' == 'true'">
  154. <Message Text="-&gt; Override StartApplication"/>
  155. <Message Text="Starting $(BizTalkAppName) application at $(StartApplicationTime)."/>
  156. <Message Text="Note: Starting the app may take 5-10 secs PER ORCHESTRATION. Please wait..."/>
  157. <!--Start Send Ports-->
  158. <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="Start" SendPortName="TM.TransSmart: TM.Shared.OrderStatus_to_TM.TransSmart.Status Send" ReceivePortName="" OrchestrationName="" Condition="'$(AppExists)' == 'true'"/>
  159. <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="Start" SendPortName="TM.TransSmart: ToXMLDOC_IN" ReceivePortName="" OrchestrationName="" Condition="'$(AppExists)' == 'true'"/>
  160. <!--Start Receive Ports-->
  161. <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="Start" SendPortName="" ReceivePortName="TM.TransSmart: TM.TransSmart.Shipment_to_TM.Shared.Order" OrchestrationName="" Condition="'$(AppExists)' == 'true'"/>
  162. <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="Start" SendPortName="" ReceivePortName="TM.TransSmart: TM.Shared.OrderStatus_to_TM.TransSmart.Status" OrchestrationName="" Condition="'$(AppExists)' == 'true'"/>
  163. <!--Start Orchestrations-->
  164. <!--<ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="Start" SendPortName="" ReceivePortName="" OrchestrationName="OrchestrationExample" Condition="'$(AppExists)' == 'true'"/>-->
  165. </Target>
  166. <!-- ============ END Deployment OVERRIDE ============ -->
  167. </Project>