| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- Copyright 2008 Cloud.Com Inc. All Rights Reserved --> |
| |
| <project name="Cloud.com Cloud Stack Build Dispatch" default="help" basedir="."> |
| <description> |
| This is the overall dispatch file. It includes other build |
| files but doesnot provide targets of its own. Do not modify |
| this file. If you need to create your own targets, modify the |
| developer.xml. |
| </description> |
| |
| <dirname property="base.dir" file="${ant.file.Cloud.com Cloud Stack Build Dispatch}"/> |
| |
| <condition property="build-cloud.properties.file" value="${base.dir}/build/override/build-cloud.properties" else="${base.dir}/build/build-cloud.properties"> |
| <available file="${base.dir}/build/override/build-cloud.properties" /> |
| </condition> |
| |
| <property file="${build-cloud.properties.file}"/> |
| |
| <property name="premium.name" value="cloudstack-proprietary"/> |
| <property name="premium.base.dir" location="${base.dir}/${premium.name}"/> |
| |
| <condition property="my.build.dir" value="${premium.base.dir}/build" else="${base.dir}/build"> |
| <and> |
| <available file="${premium.base.dir}/build"/> |
| <not> |
| <isset property="OSS"/> |
| </not> |
| </and> |
| </condition> |
| |
| |
| <property name="dist.dir" location="${base.dir}/dist"/> |
| <property name="target.dir" location="${base.dir}/target"/> |
| |
| <import file="${my.build.dir}/build-cloud.xml" optional="false"/> |
| <import file="${my.build.dir}/build-docs.xml" optional="true"/> |
| <import file="${my.build.dir}/build-tests.xml" optional="true"/> |
| <import file="${my.build.dir}/package.xml" optional="true"/> |
| <import file="${my.build.dir}/developer.xml" optional="true"/> |
| </project> |