BRE Policy Deployment using BTDF

Topics: General Questions, Server Deployment
May 28, 2014 at 9:08 PM
Hi,

I have a specific scenario where i need to deploy BRE Policy with respect to environment.

Example.
          BREPOLICY_DEV
          BREPOLICY_TEST
          BREPOLICY_PROD
I have all 3 policies under solution folder , i have to instruct the BTDF to deploy the appropriate policy for the environment.

Can somebody help me how to update the .btdfproj to preform above operation.

I have working BTDF with single BRE Policy files.
Coordinator
May 29, 2014 at 5:34 AM
Aside from a complicated workaround, there is no straightforward way to make this work. It will be somewhat easier in v6.0 in the future. Normally you could define separate ItemGroup's with a Condition attribute to check the specific environment, and define that variable in the settings spreadsheet. However, that won't work pre-v6.0 due to MSBuild's order of property and item evaluation. Even if that worked, the MSI packaging would break because it wouldn't know where to find all of the files for all of the environments. It looks for a set of RulePolicies items to derive the paths.

Sorry that I don't have a better answer.

Thanks,
Tom
May 29, 2014 at 3:31 PM
Thank You for your quick response.