Ant スクリプトまたは build.xml ファイルから変換を実行するには、以下の例のように、<project></project> タグ内に、target 要素を作成します。<target name="generate"> <echo>Running transformation
'myProject/myConfig.tc'...</echo> <com.ibm.xtools.
transform.core.runTransformation transformConfig=
"myProject/myConfig.tc" reverse="false"/> </target>
In
the build.xml file, in the project element, set the default attribute
equal to the value that you specify for the name attribute
in the target element.
transformConfig 属性には、有効なワークスペース・パスを指定する必要があります。
後方変換を実行するには、 reverse 属性を true に設定します。
重要: 変換構成は、調整モデリング設計規約管理プロトコル (DCMP) を実装する必要があります。
Ant スクリプトを実行するには、build.xml ファイルを右クリックして、をクリックします。
|