0

私は ILOG に取り組んでいます。現在、ruleapp を res に展開するために Ant スクリプトを使用しています。問題は、展開時に正常に動作していることですが、res にある [マネージド URI の追加] タブに xom を自動的に追加したいということです。xom は ruleapp にアタッチされていますが、マネージド uri セクションにアタッチしたいと考えています。

前もって感謝します。

4

1 に答える 1

1

この方法を試しましたか - 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>

詳細については、こちらをご覧ください。

http://www-01.ibm.com/support/knowledgecenter/#!/SSQP76_8.6.0/com.ibm.odm.dserver.rules.ref.res/ant_tasks/con_ant_res_deploy_xom.html

于 2014-10-03T05:15:53.537 に答える