ant常用操作(构造)
二、构造1.Build_unix.xml<?xml version="1.0" encoding="UTF-8"?><project name="project" default="build"><property file="mdxbu.properties"></property><property name="IOM_PACKAGE_PATH" value="${VERSION_HOME_PATH}/MediaX3600/iom"></property> <target name="init"> <delete dir="${TEMP_INSTALL_PATH}"></delete><mkdir dir="${TEMP_INSTALL_PATH}"/></target><target name="iom"><copy todir="${IOM_INSTALL_PATH}" overwrite="true"><fileset dir="${IOM_PACKAGE_PATH}"></fileset></copy><copy todir="${IOM_DIST_PATH}" overwrite="true"><fileset dir="${VERSION_INSTALL_PATH}"><include name="smppAgent.jar"/><include name="com.huawei.mediax.configureconstants_${CONFIGURE_CONSTANTS_VERSION}.jar"/><include name="com.huawei.mediax.service_${SERVICE_VERSION}.jar"/></fileset></copy><mkdir dir="${userportal_install_root_webinf}"/><copy todir="${MDXDB_INSTALL_PATH}" overwrite="true"><fileset dir="${MDXDB_PACKAGE_PATH}"><exclude name="db2**/**"/><exclude name="oracle**/**"/></fileset></copy><delete dir="${userportal_install_root_webinf}/classes"></delete><mkdir dir="${userportal_install_root_webinf}/classes"/><unjar src="${VERSION_HOME_PATH}/help/MediaX3600_Chinesehelp.jar" dest="${userportal_install_root}"/><move file="${userportal_install_root}/MediaX3600.html" tofile="${userportal_install_root}/index.html"/><antcall target="xxx"></antcall><exec executable="${MAKE_PUBLISH_PATH}/exec.sh"> <arg value="${MediaX3600_HOME_PATH}"/> </exec> <delete dir="${version_home}" includeemptydirs="true"/> <ant antfile="${MAKE_PUBLISH_PATH}/spg_build_windows.xml"inheritAll="true"/></target>
页:
[1]