Exporting pattern projects with options

Deployable patterns are packaged as plug-ins within the RAS asset format. The deployable pattern plug-in does not, by default, include the pattern source code nor save the pattern as a project. You can export the pattern project with the source code, export a nondeployable pattern project, or both.

Pattern projects that are exported without source code cannot be modified after distribution. The nondeployable pattern project is imported as a project (not as a plug-in) and can be modified. Only deployable projects are imported as plug-ins that contain patterns that can be applied.

To create pattern RAS assets with options:

  1. In the Pattern Authoring view, right-click the pattern library node and click Export. The Export wizard opens.
  2. Complete one of the following steps:
    • Click the Browse button and specify a directory to save the RAS asset.
    • Select Repository and specify a repository from the repository list.
  3. Under Manifest, click Create a custom manifest and click Next. The RAS Asset Description page is displayed.
  4. Add any descriptive information you would like to store in the manifest file. If you modify the asset ID, ensure that it is unique.
    Note: The information on this page is also searched when pattern appliers are searching for pattern assets using keywords.
  5. Click Next. The RAS Asset Artifacts page is displayed.
  6. In the Select the resources to export list, select the pattern's project.
  7. Do one or more of the following:
    • To create a nondeployable project, select the Export as a complete Eclipse project check box.
    • To create a deployable project, select the Export as deployable feature, fragment or plug-in check box.
    • To include source code in the deployable project, select the Include source with all deployable binaries check box.
  8. Click Finish. The RAS pattern assets are created and saved.
For additional information about RAS assets, see the RAS online help topics.
Related concepts
IBM Rational design patterns
Pattern code and support files
Related tasks
Exporting deployable pattern projects

Related information

Importing patterns to apply them

Tutorials and samples for authoring patterns

Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.