Designers > K2 Studio > Deploying Processes and SmartObjects > Configuring MSBuild > Environment Configuration | Send feedback |
The K2 environment is configurable according to environmental templates.
The content in this section is of an Advanced level and should only be attempted by an experienced user. |
The extract shown below is a PropertyGroup for an environment. For a standard K2 Deployment, two environments are created by default namely the Development and Production environments. As can be seen from the MSBuild file below, the environmental configuration is therefore set by the PropertyGroup.
Copy Environment Configuration |
---|
<PropertyGroup Condition="$(Environment) == 'Development'"> <EnvironmentFields> <Root Name="Development" xmlns=""> <Field Name="Web Service URL" Value="http://blackpearl:121" /> <Field Name="SmartObject Server" Value="Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=blackpearl;Port=5555" /> <Field Name="ServiceObject Server" Value="Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=blackpearl;Port=5555" /> <Field Name="Category Server" Value="Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=blackpearl;Port=5555" /> <Field Name="Mail Server" Value="blackpearl" /> <Field Name="Workflow Server" Value="Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=blackpearl;Port=5252" /> <Field Name="Workflow Management Server" Value="Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=blackpearl;Port=5555" /> </Root> </EnvironmentFields> </PropertyGroup> |