| ILOG Rules for .NET User Guides > Using ILOG Rule Execution Server for .NET > Reference: Rule Execution Management Using MSBuild > Task Mappings |
Task Mappings |
PREVIOUS NEXT |
In a production environment, it is common to automate deployment and other managerial tasks using a build tool. MSBuild is a .NET build tool, and Rule Execution Server for .NET provides a number of MSBuild tasks to automate RuleApp management.
MSBuild is included in the SDK part of .NET Framework 2.0, so you do not normally need to do anything to set it up. You will find the MSBuild.exe file in the relevant Framework version 2.0 folder on the drive where the framework is installed. For example:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
Using the command prompt, you should be able to call MSBuild from any folder.
To use the Rule Execution Server for .NET MSBuild tasks in an MSBuild project file, you need to import the task and declare the class path, the mapping between the .NET classes, and the keywords of the tasks.
The MSBuild.ExecutionServer.Tasks.Targets file is located in the <InstallDir>\bin\Public Assemblies directory.
The Target file defines the following mappings for RuleApp management tasks:
CreateRuleApp:ILOG.Rules.ExecutionServer.MSBuildTask.CreateRuleApp
DeployRuleApp:ILOG.Rules.ExecutionServer.MSBuildTask.DeployRuleApp
FetchRuleApp:ILOG.Rules.ExecutionServer.MSBuildTask.FetchRuleApp
UndeployRuleApp:ILOG.ExecutionServer.MSBuildTask.UndeployRuleApp
The Target file defines the following mappings for persistence administrative tasks:
CreatePersistenceSchema:ILOG.Rules.ExecutionServer.MSBuildTask.CreatePersistenceSchema
DropPersistenceSchema:ILOG.Rules.ExecutionServer.MSBuildTask.DropPersistenceSchema
BackupRuleApps:ILOG.Rules.ExecutionServer.MSBuildTask.BackupRuleApps
RestoreRuleApps:ILOG.Rules.ExecutionServer.MSBuildTask.RestoreRuleApps
The development and administrative MSBuild tasks and Management Service communicate using the Secured WCF TCP Binding.
The Target file defines the following mapping for Execution Service tasks:
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |