Skip to content

Instantly share code, notes, and snippets.

@biemond
Created September 28, 2011 18:46
Show Gist options
  • Save biemond/1248846 to your computer and use it in GitHub Desktop.
Save biemond/1248846 to your computer and use it in GitHub Desktop.
Start AIA deployment
<?xml version="1.0"?>
<project name="deployEmployeeSync" default="InstallEmployeeSync" 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">
<condition>
<not>
<isset property="env.AIA_HOME" />
</not>
</condition>
</fail>
<fail message="Please set the SOA_HOME as environment variable">
<condition>
<not>
<isset property="env.SOA_HOME" />
</not>
</condition>
</fail>
<fail message="Please set the MW_HOME as environment variable">
<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="InstallEmployeeSync">
<echo>
/------------------------------------------------------------\
! !
! Setting the environment to install !
! AIA EmployeeSync !
! !
\------------------------------------------------------------/
</echo>
<echo>
/----------------------------------------------------------\
! !
! Installing AIA EmployeeSync !
! !
\----------------------------------------------------------/
</echo>
<antcall target="AID" />
<echo>
/---------------------------------------------------------------\
! !
! Deployment of AIA EmployeeSync completed !
! !
\---------------------------------------------------------------/
</echo>
</target>
<target name="AID" >
<ant antfile="${aia.home}/Infrastructure/Install/AID/AIAInstallDriver.xml" output="${process.dir}/EmployeeSyncInstall.log" inheritall="false">
<property name="DeploymentPlan" value="${process.dir}/deployment_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