このプラグイン例では、plans ディレクトリに Container-create.xml ファイルがあります。このファイルでは、プラグインで実行するステップ、およびこれらのステップで使用するコンポーネントを定義しています。
このプラン例には、次の要素が含まれます。
simpleSteps 要素では、インストールブロックの create を呼び出しています。
component 要素では、Container コンポーネントで指定されている create インストールステップをプランで使用するように指定しています。
<?xml version="1.0" encoding="UTF-8"?> <executionPlan xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' name='Container-create' version='5.2' xsi:schemaLocation='http://www.sun.com/schema/SPS plan.xsd' xmlns='http://www.sun.com/schema/SPS' path='/com/sun/solaris'> <simpleSteps> <install blockName='create'> <component name='Container' path='/com/sun/solaris'></component> </install> </simpleSteps> </executionPlan>