| <project name="cc_copyArtifacts" default="copyArtifacts" basedir="."> |
| |
| |
| <!-- = = = standard properties pattern = = = --> |
| <!-- |
| Note to be cross-platform, "environment variables" are only appropriate for |
| some variables, e.g. ones we set, since properties are case sensitive, even if |
| the environment variables on your operating system are not, e.g. it will |
| be ${env.Path} not ${env.PATH} on Windows --> |
| <property environment="env" /> |
| |
| <!-- |
| Let users override standard properties, if desired. |
| If directory, file, or some properties do not exist, |
| then standard properties will be used. |
| --> |
| <property file="${env.LOCAL_BUILD_PROPERTIES_DIR}/${ant.project.name}.properties" /> |
| |
| <!-- load standard properties for production environment --> |
| <property file="${env.STANDARD_PROPERTIES_DIR}/${ant.project.name}.properties" /> |
| <!-- = = = end standard properties pattern = = = --> |
| |
| |
| |
| <property name="checkoutprojectname" value="${projectname}" /> |
| |
| <target name="copyArtifacts"> |
| |
| <!-- set main builder file name, based on distribution, buildBranch and build type --> |
| <property name="wtpBuilder" value="${env.BUILD_HOME}/build-node/checkout/${checkoutprojectname}/releng.wtpbuilder/build.xml" /> |
| |
| <!-- we do all this redirection just to get proper build label/time stamp, |
| such as I-I2007xxxxx-2007xxxxx |
| there must be, obviously, an easier way :) --> |
| <ant antfile="${wtpBuilder}" target="copyArtifacts"> |
| <property name="localStampedArtifactsDirectory" value="${localArtifactsDirectory}/${cctimestamp}"/> |
| </ant> |
| </target> |
| |
| |
| |
| </project> |