このトピックでは、ANT タスクを使用して、WebSphere Process Server に対するアプリケーションのデプロイメントを自動化する方法について説明します。 ANT タスクを使用すると、複数のアプリケーションのデプロイメントを定義したり、サーバーで不在実行したりできるようになります。
アプリケーションの開発およびテストについての情報は、WebSphere® Integration Developer インフォメーション・センターを参照してください。
インフォメーション・センターの WebSphere Application Server Network Deployment バージョン 6 の参照部分に、アプリケーション・プログラミング・インターフェースに関するセクションがあります。ANT タスクについては、パッケージ com.ibm.websphere.ant.tasks に説明があります。このトピックの目的に合う関連タスクは、ServiceDeploy と InstallApplication です。
<?xml version="1.0"> <project name="OwnTaskExample" default="main" basedir="."> <taskdef name="servicedeploy" classname="com.ibm.websphere.ant.tasks.ServiceDeployTask" /> <target name="main" depends="main2"> <servicedeploy scaModule="c:/synctest/SyncTargetJAR" ignoreErrors="true" outputApplication="c:/synctest/SyncTargetEAREAR" workingDirectory="c:/synctest" noJ2eeDeploy="true" cleanStagingModules="true"/> </target> </project>
${WAS}/bin/ws_ant -f myBuildScript.xml
(c) Copyright IBM Corporation 2005, 2006. All rights reserved.
(c) Copyright IBM Japan 2006
このインフォメーション・センターでは、Eclipse テクノロジー (http://www.eclipse.org) が採用されています。