<project name="removeXDPortletProject" default="removeXDPortlet" basedir=".">

    <taskdef name="wscmtlog" classname="com.ibm.ws.install.configmanager.actionengine.ant.utils.AntTaskToLogToConfigManagersLogFiles"/>
    <taskdef name="wsadmin"  classname="com.ibm.websphere.ant.tasks.WsAdminInProcess"/>

    <target name="removeXDPortlet"
            description="remove the XD Portlet from the ISC" >

        <wsadmin conntype="none"
                  failonerror="true"
                  lang="jython"
                  script="${basedir}/removeXDPortlet.py"
                  tracefile="${profilePath}/logs/removeXDPortlet.log"
                  wasHome="${WAS_HOME}"
                  wasInstallRoot="${WAS_HOME}"
                  wasRepositoryRoot="${profilePath}/config"
                  userInstallRoot="${profilePath}"
                  localCell="${WS_CMT_CELL_NAME}"
                  localNode="${WS_CMT_NODE_NAME}"
                  wsadminProps="${profilePath}/properties/wsadmin.properties"
                  ipcFilename="${profilePath}/xdtemp/wsadmin"
                  >
        </wsadmin>

    </target>

</project>

