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.
About this task
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:
Procedure
- In the Pattern Authoring view, right-click
the pattern library node and click Export. The Export wizard opens.
- 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.
- Under Manifest, click Create a custom manifest and click Next. The RAS Asset Description page is displayed.
- 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.
- Click Next. The RAS Asset Artifacts page is displayed.
- In the Select the resources to export list, select the pattern's project.
- 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.
- Click Finish. The
RAS pattern assets are created and saved.
Results
For additional information about RAS assets, see the RAS online
help topics.