|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- <?xml version="1.0" encoding="utf-8"?>
- <!--
- Deployment Framework for BizTalk
- Copyright (C) 2004-2012 Thomas F. Abraham and Scott Colestock
- -->
- <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Installer" ToolsVersion="4.0">
- <PropertyGroup>
- <Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
- <Platform Condition="'$(Platform)' == ''">x86</Platform>
- <!-- Customization Generic Apps -->
- <IsGenericComponent>False</IsGenericComponent>
- <IntegrationCode>F017</IntegrationCode>
- <UseEnvSettingsDB>True</UseEnvSettingsDB>
- <!-- Customization SSO Data Store Credentials -->
- <SsoAppAdminGroup>KLG\BizTalk SSO Administrators_$(BTDFENV)</SsoAppAdminGroup>
- <SsoAppUserGroup>KLG\BizTalk SSO Administrators_$(BTDFENV)</SsoAppUserGroup>
- <!-- End Customization -->
- <SchemaVersion>1.0</SchemaVersion>
- <ProjectName>KLG.Extern</ProjectName>
- <ProjectVersion>1.0</ProjectVersion>
- <SkipIISReset>True</SkipIISReset>
- <SkipHostInstancesRestart>True</SkipHostInstancesRestart>
- <IncludeSchemas>True</IncludeSchemas>
- <IncludeOrchestrations>False</IncludeOrchestrations>
- <IncludeTransforms>True</IncludeTransforms>
- <IncludePipelines>True</IncludePipelines>
- <IncludeComponents>True</IncludeComponents>
- <IncludePipelineComponents>True</IncludePipelineComponents>
- <IncludeCustomFunctoids>False</IncludeCustomFunctoids>
- <IncludeVocabAndRules>False</IncludeVocabAndRules>
- <IncludeVirtualDirectories>False</IncludeVirtualDirectories>
- <IncludeMessagingBindings>True</IncludeMessagingBindings>
- <IncludeDeploymentTest>False</IncludeDeploymentTest>
- <Includelog4net>False</Includelog4net>
- <IncludeSSO>True</IncludeSSO>
- <IncludeEsbItineraries>False</IncludeEsbItineraries>
- <IncludeBam>False</IncludeBam>
- <IncludeInstallUtilForComponents>False</IncludeInstallUtilForComponents>
- <UsingMasterBindings>True</UsingMasterBindings>
- <RequireXmlPreprocessDirectives>False</RequireXmlPreprocessDirectives>
- <ApplyXmlEscape>True</ApplyXmlEscape>
- <IncludeSettingsSpreadsheetInMsi>True</IncludeSettingsSpreadsheetInMsi>
- <StartApplicationOnDeploy>True</StartApplicationOnDeploy>
- <EnableAllReceiveLocationsOnDeploy>True</EnableAllReceiveLocationsOnDeploy>
- <StartReferencedApplicationsOnDeploy>True</StartReferencedApplicationsOnDeploy>
- <UseIsolatedAppDomain>False</UseIsolatedAppDomain>
- <EnableBizTalkExtendedLogging>False</EnableBizTalkExtendedLogging>
- <EnableBizTalkAssemblyValidation>False</EnableBizTalkAssemblyValidation>
- <EnableBizTalkCorrelationValidation>False</EnableBizTalkCorrelationValidation>
- <EnableBizTalkSchemaValidation>False</EnableBizTalkSchemaValidation>
- </PropertyGroup>
- <PropertyGroup>
- <!-- Properties related to building an MSI for server deployments -->
- <!-- BizTalk App Version Upgrade -->
- <!-- For each new product release to be deployed to your BizTalk servers: -->
- <!-- 1) Increment ProductVersion -->
- <!-- 2) Generate a new GUID and update ProductId with the new GUID -->
- <!-- This allows the new MSI to automatically uninstall (not undeploy!) the old MSI and install the new one. -->
- <ProductVersion>3.0.33</ProductVersion>
- <ProductId>6c62c5e2-4df2-4daf-b556-9a4d9bdea470</ProductId>
- <!-- BizTalk App Version Upgrade -->
- <ProductName>TM.TransSmart</ProductName>
- <Manufacturer>$(BTDFCOMPANYNAME) Deployment Framework User</Manufacturer>
- <PackageDescription>TM.TransSmart</PackageDescription>
- <PackageComments>TM.TransSmart</PackageComments>
- <BizTalkAppDescription>$(ProjectName)-$(ProductVersion) Deployed on: $([System.DateTime]::Now) By: $(USERNAME) </BizTalkAppDescription>
- <!-- NEVER change the ProductUpgradeCode. -->
- <ProductUpgradeCode>3716585f-6a4c-419e-a5c0-867ba4af9b00</ProductUpgradeCode>
- </PropertyGroup>
- <!-- Under TFS Team Build, set CustomizableOutDir property to true in TFS 2005/2008/2010 UpgradeTemplate. -->
- <!-- With a workflow build, copy the default template then modify the MSBuild task for the solution build. Set OutDir to blank and -->
- <!-- CommandLineArguments to String.Format("/p:SkipInvalidConfigurations=true;TeamBuildOutDir=""{0}"" {1}", BinariesDirectory, MSBuildArguments). -->
- <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
- <DeploymentFrameworkTargetsPath>$(MSBuildExtensionsPath)\DeploymentFrameworkForBizTalk\5.0\</DeploymentFrameworkTargetsPath>
- <OutputPath Condition="'$(TeamBuildOutDir)' == ''">bin\Debug\</OutputPath>
- <OutputPath Condition="'$(TeamBuildOutDir)' != ''">$(TeamBuildOutDir)</OutputPath>
- <DeployPDBsToGac>false</DeployPDBsToGac>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)' == 'Release'">
- <DeploymentFrameworkTargetsPath>$(MSBuildExtensionsPath)\DeploymentFrameworkForBizTalk\5.0\</DeploymentFrameworkTargetsPath>
- <OutputPath Condition="'$(TeamBuildOutDir)' == ''">bin\Release\</OutputPath>
- <OutputPath Condition="'$(TeamBuildOutDir)' != ''">$(TeamBuildOutDir)</OutputPath>
- <DeployPDBsToGac>false</DeployPDBsToGac>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)' == 'Server'">
- <DeploymentFrameworkTargetsPath>Framework\</DeploymentFrameworkTargetsPath>
- <!-- Get our PDBs into the GAC so we get file/line number information in stack traces. -->
- <DeployPDBsToGac>true</DeployPDBsToGac>
- </PropertyGroup>
- <ItemGroup>
- <PropsFromEnvSettings Include="SsoAppUserGroup;SsoAppAdminGroup;ESBLookupConnectionString;ESBTrackingConnectionString;B2BUsername;B2BPassword" />
- <AppsToReference Include="KLG.Intern"/>
- </ItemGroup>
- <!-- !!! TODO !!! -->
- <!-- Add ItemGroup elements that contain one or more Schemas, Orchestrations, Transforms, etc. elements that describe -->
- <!-- the specific artifacts in your solution that need to be deployed. Use IntelliSense as a guide. -->
- <!--<ItemGroup>
- <Schemas Include="TM.TransSmart.Schemas.dll">
- <LocationPath>..\Schemas\bin\$(Configuration)</LocationPath>
- </Schemas>
- <Transforms Include="TM.TransSmart.Transforms.dll">
- <LocationPath>..\Transforms\bin\$(Configuration)</LocationPath>
- </Transforms>
- <PipelineComponents Include="TM.TransSmart.PipelineComponents.dll">
- <LocationPath>..\PipelineComponents\bin\$(Configuration)</LocationPath>
- </PipelineComponents>
- <Pipelines Include="TM.TransSmart.Pipelines.dll">
- <LocationPath>..\Pipelines\bin\$(Configuration)</LocationPath>
- </Pipelines>
- <Components Include="TM.TransSmart.Components.dll">
- <LocationPath>..\Components\bin\$(Configuration)</LocationPath>
- </Components>
- </ItemGroup>-->
- <!-- !!! TODO !!! -->
- <Import Project="$(DeploymentFrameworkTargetsPath)BizTalkDeploymentFramework.targets" />
- <!-- ============ START Deployment OVERRIDE ============ -->
- <Import Project="$(BTDFEXTENSIONPATH)\Targets\1.0.0\Custom.BizTalkDeploymentFramework.targets"/>
- <Import Project="$(DeploymentFrameworkTargetsPath)BizTalkDeploymentFramework.Redeploy.targets"/>
- <!--
- The Deployment Framework automatically packages most files into the server install MSI.
- However, if there are special folders that you need to include in the MSI, you can
- copy them to the folder $(RedistDir) in the CustomRedist target.
- To include individual files, add an ItemGroup with AdditionalFiles elements.
- -->
- <Target Name="UndeployAppDefinition" Condition="'$(SkipUndeploy)' == 'false'" DependsOnTargets="PrepareAppForUndeploy">
- <Message Text="-> Override UndeployAppDefinition (no application removal is done!)"/>
- <!--<Exec Command="BTSTask.exe RemoveResource -ApplicationName:"$(BizTalkAppName)" -Luid:"$(ProductName).Components, Version=3.0.1.0, Culture=neutral, PublicKeyToken=$(ProductPublicKey)"" Condition="'$(AppExists)' == 'true'" ContinueOnError="true"/>-->
- <!--<Exec Command="BTSTask.exe RemoveResource -ApplicationName:"$(BizTalkAppName)" -Luid:"$(ProductName).PipelineComponents, Version=3.0.1.0, Culture=neutral, PublicKeyToken=$(ProductPublicKey)"" Condition="'$(AppExists)' == 'true'" ContinueOnError="true"/>-->
- <Exec Command="BTSTask.exe RemoveResource -ApplicationName:"$(BizTalkAppName)" -Luid:"$(ProductName).Pipelines, Version=3.0.3.0, Culture=neutral, PublicKeyToken=$(ProductPublicKey)"" Condition="'$(AppExists)' == 'true'" ContinueOnError="true"/>
- <Exec Command="BTSTask.exe RemoveResource -ApplicationName:"$(BizTalkAppName)" -Luid:"$(ProductName).Schemas, Version=3.0.0.0, Culture=neutral, PublicKeyToken=$(ProductPublicKey)"" Condition="'$(AppExists)' == 'true'" ContinueOnError="true"/>
- <Exec Command="BTSTask.exe RemoveResource -ApplicationName:"$(BizTalkAppName)" -Luid:"$(ProductName).Transforms, Version=3.0.21.0, Culture=neutral, PublicKeyToken=$(ProductPublicKey)"" Condition="'$(AppExists)' == 'true'" ContinueOnError="true"/>
- </Target>
- <Target Name="StopApplication" DependsOnTargets="VerifyBizTalkAppExists">
- <Message Text="-> Override StopApplication"/>
- <!--Stop Orchestrations-->
- <!--<ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="Stop" SendPortName="" ReceivePortName="" OrchestrationName="OrchestrationExample" Condition="'$(AppExists)' == 'true'"/>-->
- <!--Stop Send Ports (optional remove mapping)-->
- <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="Stop" SendPortName="TM.TransSmart: TM.Shared.OrderStatus_to_TM.TransSmart.Status Send" ReceivePortName="" OrchestrationName="" Condition="'$(AppExists)' == 'true'"/>
- <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="Stop" SendPortName="TM.TransSmart: ToXMLDOC_IN" ReceivePortName="" OrchestrationName="" Condition="'$(AppExists)' == 'true'"/>
- <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'"/>
- <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'"/>
- <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="RemoveOutboundTransformFromSendPort" SendPortName="TM.TransSmart: ToXMLDOC_IN" ReceivePortName="" OrchestrationName="" TransformName="TM.Shared.OrderStatus_to_TM_TransSmart_Status" Condition="'$(AppExists)' == 'true'"/>
- <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="RemoveOutboundTransformFromSendPort" SendPortName="TM.TransSmart: ToXMLDOC_IN" ReceivePortName="" OrchestrationName="" TransformName="TM.TransSmart.Shipment_to_TM.Shared_Order" Condition="'$(AppExists)' == 'true'"/>
- <!--Stop Receive Ports (optional remove mapping)-->
- <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="Stop" SendPortName="" ReceivePortName="TM.TransSmart: TM.TransSmart.Shipment_to_TM.Shared.Order" OrchestrationName="" Condition="'$(AppExists)' == 'true'"/>
- <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="Stop" SendPortName="" ReceivePortName="TM.TransSmart: TM.Shared.OrderStatus_to_TM.TransSmart.Status" OrchestrationName="" Condition="'$(AppExists)' == 'true'"/>
- <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'"/>
- <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'"/>
- <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'"/>
- <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'"/>
-
- <!--<ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="Stop" SendPortName="" ReceivePortName="TM.IDS: TM.IDS.Shipment_to_TM.Shared.Order" OrchestrationName="" Condition="'$(AppExists)' == 'true'"/>-->
-
- </Target>
- <Target Name="StartApplication" Condition="'$(StartApplicationOnDeploy)' == 'true'">
- <Message Text="-> Override StartApplication"/>
- <Message Text="Starting $(BizTalkAppName) application at $(StartApplicationTime)."/>
- <Message Text="Note: Starting the app may take 5-10 secs PER ORCHESTRATION. Please wait..."/>
- <!--Start Send Ports-->
- <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="Start" SendPortName="TM.TransSmart: TM.Shared.OrderStatus_to_TM.TransSmart.Status Send" ReceivePortName="" OrchestrationName="" Condition="'$(AppExists)' == 'true'"/>
- <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="Start" SendPortName="TM.TransSmart: ToXMLDOC_IN" ReceivePortName="" OrchestrationName="" Condition="'$(AppExists)' == 'true'"/>
- <!--Start Receive Ports-->
- <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="Start" SendPortName="" ReceivePortName="TM.TransSmart: TM.TransSmart.Shipment_to_TM.Shared.Order" OrchestrationName="" Condition="'$(AppExists)' == 'true'"/>
- <ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="Start" SendPortName="" ReceivePortName="TM.TransSmart: TM.Shared.OrderStatus_to_TM.TransSmart.Status" OrchestrationName="" Condition="'$(AppExists)' == 'true'"/>
- <!--Start Orchestrations-->
- <!--<ControlBizTalkArtefacts ApplicationName="$(BizTalkAppName)" Command="Start" SendPortName="" ReceivePortName="" OrchestrationName="OrchestrationExample" Condition="'$(AppExists)' == 'true'"/>-->
- </Target>
- <!-- ============ END Deployment OVERRIDE ============ -->
- </Project>
|