이 주제에서는 ANT 타스크를 사용하여 WebSphere Process Server로 응용프로그램의 전개를 자동화하는 방법을 설명합니다. ANT 타스크를 사용하여 여러 응용프로그램의 전개를 정의하고 응용프로그램을 서버에서 자동으로 실행할 수 있습니다.
응용프로그램 개발 및 테스트에 대한 정보는 WebSphere® Integration Developer Information Center를 참조하십시오.
WebSphere Application Server Network Deployment, 버전 6 Information Center의 참조 부분에는 API(application programming interface) 관련 섹션이 들어 있습니다. 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
최종 갱신: Fri Jun 2 2006
(c) Copyright IBM Corporation 2005.
이 Information Center는 Eclipse 기술을 기반으로 합니다. (http://www.eclipse.org)