私は ILOG に取り組んでいます。現在、ruleapp を res に展開するために Ant スクリプトを使用しています。問題は、展開時に正常に動作していることですが、res にある [マネージド URI の追加] タブに xom を自動的に追加したいということです。xom は ruleapp にアタッチされていますが、マネージド uri セクションにアタッチしたいと考えています。
前もって感謝します。
この方法を試しましたか - IBM ヘルプから入手しました。試したことはありませんが、動作するはずです。(IBM ODM.8.0.1)
<target name="deployruleappwithxom">
<res-deploy hostname="${hostname}" portnumber="${portnumber}" webapp="${webapp}" userid="${userid}" password="${password}" file="my-ruleapp.jar">
<xompath rulesetpath="/MyRuleApp/MyRuleset">
<fileset dir="${lib}">
<include name="**/myxom.jar" />
</fileset>
</xompath>
<xompath rulesetpath="/AnotherRuleApp/AnotherRuleset">
<fileset dir="${otherlib}">
<include name="**/otherxom.jar" />
</fileset>
</xompath>
</res-deploy>
</target>
xomuri プロパティの管理だけを探している場合は、これを試すことができます。
<target name="runloanvalidation">
<res-deploy-xom
hostname="localhost"
portnumber="9080"
webapp="res"
userid="resAdmin"
password="resAdmin"
jarMajorVersion="false"
libName="person"
outputRulesetProperty="ruleset.managedxom.uris">
<xompath>
<fileset dir="hello">
<include name="*.jar"/>
</fileset>
</xompath>
</res-deploy-xom>
<echo message="Resulting property: ${ruleset.managedxom.uris}"/>
</target>
詳細については、こちらをご覧ください。