History
Version 279
at Tuesday 6 July 2010 20:08:14 UTC Merge branch 'master' into rstDiff
| 278 | 279 | /build.xml |
|---|---|---|
| 8 | 8 | <property file="build.properties" /> |
| 9 | 9 | |
| 10 | 10 | <!-- |
| 11 | + Include common properties | |
| 12 | + --> | |
| 13 | + <property file="setup/build.common.rcs.properties" /> | |
| 14 | + | |
| 15 | + <!-- | |
| 11 | 16 | Import common build targets |
| 12 | 17 | --> |
| 13 | 18 | <import file="${basedir}/setup/build.common.xml" /> |
| 31 | 36 | </target> |
| 32 | 37 | |
| 33 | 38 | <!-- |
| 39 | + Hook target that will be called after an git pull on the project's main | |
| 40 | + repository has been done. This hook updates the external libraries. | |
| 41 | + --> | |
| 42 | + <target name="~common-rcs-git-update-after"> | |
| 43 | + | |
| 44 | + <exec dir="${basedir}/setup" executable="git"> | |
| 45 | + <arg line="pull" /> | |
| 46 | + <arg line="${common.rcs.git.remote}" /> | |
| 47 | + <arg line="${common.rcs.git.branch}" /> | |
| 48 | + </exec> | |
| 49 | + | |
| 50 | + <exec dir="${basedir}/lib/pdepend" executable="git"> | |
| 51 | + <arg line="pull" /> | |
| 52 | + <arg line="${common.rcs.git.remote}" /> | |
| 53 | + <arg line="${common.rcs.git.branch}" /> | |
| 54 | + </exec> | |
| 55 | + </target> | |
| 56 | + | |
| 57 | + <!-- | |
| 34 | 58 | We use the phar archive after hook to validate that a newly created |
| 35 | 59 | phar archive works as expected. |
| 36 | 60 | |
| 39 | 63 | --> |
| 40 | 64 | <target name="~pack-phar-archive-after"> |
| 41 | 65 | |
| 42 | - <echo message="Executing:" /> | |
| 43 | - <echo message=" ${phar.archive.filename} PHP/PMD/Rule text ${custom.phpmd.rulesets}" /> | |
| 66 | + <echo message="Executing:" level="verbose" /> | |
| 67 | + <echo message=" ${phar.archive.filename} PHP/PMD/Rule text ${custom.phpmd.rulesets}" level="verbose" /> | |
| 44 | 68 | |
| 45 | 69 | <exec dir="${basedir}/source" executable="${phar.archive.filename}" failonerror="true"> |
| 46 | 70 | <arg line="PHP/PMD/Rule" /> |
| 76 | 100 | --> |
| 77 | 101 | <target name="-pack-pear-archive-after-execute"> |
| 78 | 102 | |
| 79 | - <echo message="Executing:" /> | |
| 80 | - <echo message=" phpmd PHP/PMD/Rule text ${custom.phpmd.rulesets}" /> | |
| 103 | + <echo message="Executing:" level="verbose" /> | |
| 104 | + <echo message=" phpmd PHP/PMD/Rule text ${custom.phpmd.rulesets}" level="verbose" /> | |
| 81 | 105 | |
| 82 | 106 | <exec executable="${common-pear-bin-dir}/phpmd" failonerror="true"> |
| 83 | 107 | <arg line="${common-pear-root-dir}/PHP/PMD/Rule" /> |