Teamprise 3.0 supports check-in policies, which are client-side code modules that are run during check-in, before the changes have been sent to the Team Foundation Server. Policies are defined at a Team Project scope, and Teamprise check-in policies must be defined using either the Teamprise Explorer or Teamprise Plug-in for Eclipse products. They cannot be configured using the CLC, but the CLC can evaluate existing policies at check-in if the JARs containing the policy implementations are available.
Teamprise 3.0 command-line client comes with a standard set of check-in policies, which are ready-to-use when the CLC package is extracted. No installation is necessary for the following standard policies (but they must be configured on a Team Project using a graphical Teamprise client):
To install a check-in policy implementation so it is available to the CLC, make sure its JAR is in the classpath of the CLC when it runs. There are two easy ways to do this:
Not all custom check-in policies will support execution in the CLC. If you have defined a check-in policy on a team project that cannot be run in the CLC, check-ins made with the CLC will fail. You can override this failure using the -override option to the checkin command.