Hello, I am looking for a way to import BRE generated policy with its' vocabularies into BizTalk application from a command line (in order to script it) leveraging BtsTask command line tool. I've searched around, and couldn't find a firm answer. Thank you.
If the msi for your application includes the BRE rules for that app, then the ImportApp command of BTSTask will publish them to the BRE for that environment. There isn't a separate BTSTask command for importing policies by themselves. If for some reason you want to import just the policy with no other artifacts, you can do so by exporting just the rules into an msi by themselves, then use BTSTask ImportApp to import the msi.
Check out this link for more info:
You can use the PowerShell provider for BizTalk. This allows you to script, amont other things, policy and vocabulary deployment.
This can provide an alternative to MSBuild which is more geared, in my opinion, to the development than to be used to support operations management.
The provider is available on CodePlex: http://psbiztalk.codeplex.com