Defining the Facet Scope

After defining your Service Contract Facet you must define its scope. The Scope tab in your Facet Descriptor allows you to define what artifacts from your local project that you want to be included or excluded in the facet. You can include or exclude specific artifacts by specifying their fully-qualified name, or by using a wildcard notation, such a com.mycompany.* to include a complete package and its sub-packages.

To ensure that a facet contains all the necessary artifact definitions for generation, you have the option to include or exclude the following:

Complete the following procedure to define the scope of your facet.

To define the scope

  1. Click the Scope tab. The Facet Scope perspective displays.

  2. Add the patterns to include in the facet scope.
  3. Add the patterns to exclude in the facet scope.
  4. By default, all of the Include Artifact options are selected. If desired, deselect the artifact option to exclude that option from the facet scope.
  5. Click Save to save your Service Contract Facet.

Related Topics

Defining a Service Contract Facet
Defining an Active Facet
Project Generation with Active Facets
Selecting Facets for Tigerstripe Projects
Merging Facets for Generation

 Defining an Active Facet


© copyright 2005, 2006, 2007 Cisco Systems, Inc. - All rights reserved