Created
September 28, 2011 18:47
-
-
Save biemond/1248849 to your computer and use it in GitHub Desktop.
Start AIA undeploy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<project name="deployEmployeeSync" default="UnInstallEmployeeSync" basedir="." > | |
<property name="process.dir" value="${basedir}"/> | |
<property environment="env"/> | |
<property name="aia.home" value="${env.AIA_HOME}"/> | |
<property name="soa.home" value="${env.SOA_HOME}"/> | |
<property name="mw.home" value="${env.MW_HOME}"/> | |
<property name="aia.instance" value="${env.AIA_INSTANCE}"/> | |
<fail message="Please set the AIA_HOME as environment variable (i.e. source aiaenv.sh)"> | |
<condition> | |
<not> | |
<isset property="env.AIA_HOME" /> | |
</not> | |
</condition> | |
</fail> | |
<fail message="Please set the SOA_HOME as environment variable (i.e. source aiaenv.sh)"> | |
<condition> | |
<not> | |
<isset property="env.SOA_HOME" /> | |
</not> | |
</condition> | |
</fail> | |
<fail message="Please set the MW_HOME as environment variable (i.e. source aiaenv.sh)"> | |
<condition> | |
<not> | |
<isset property="env.MW_HOME" /> | |
</not> | |
</condition> | |
</fail> | |
<fail message="Please set the AIA_INSTANCE as environment variable"> | |
<condition> | |
<not> | |
<isset property="env.AIA_INSTANCE" /> | |
</not> | |
</condition> | |
</fail> | |
<target name="UnInstallEmployeeSync"> | |
<echo> | |
/------------------------------------------------------------\ | |
! ! | |
! Setting the environment to uninstall ! | |
! AIA EmployeeSync ! | |
! ! | |
\------------------------------------------------------------/ | |
</echo> | |
<echo> | |
/----------------------------------------------------------\ | |
! ! | |
! UnInstalling AIA EmployeeSync ! | |
! ! | |
\----------------------------------------------------------/ | |
</echo> | |
<antcall target="AID" /> | |
<echo> | |
/--------------------------------------------------------------------------------------------\ | |
! ! | |
! Undeployment of AIA EmployeeSync completed ! | |
! ! | |
! ! | |
\-------------------------------------------------------------------------------------------/ | |
</echo> | |
</target> | |
<target name="AID" > | |
<ant antfile="${aia.home}/Infrastructure/Install/AID/AIAInstallDriver.xml" target="Uninstall" output="${process.dir}/EmployeeSyncUnInstall.log" inheritall="false"> | |
<property name="DeploymentPlan" value="${process.dir}/undeployment_plan.xml" /> | |
<property name="PropertiesFile" value="${aia.instance}/config/AIAInstallProperties.xml" /> | |
</ant> | |
</target> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment