| <?xml version="1.0"?> |
| <!-- |
| ====================================================================== |
| Properties that must be passed to this script: base.install.dir |
| dependencyTargets local.cache.dir dependency.properties |
| |
| ====================================================================== |
| --> |
| <project |
| name="test" |
| default="get"> |
| |
| <target |
| name="get"> |
| |
| <fail message="depenendency.properties must be defined" unless="dependency.properties" /> |
| <available file="${dependency.properties}" property="dependenciesExists" /> |
| <fail message="The expected depenendency.properties, ${dependency.properties}, does not exist." unless="dependenciesExists" /> |
| <echo message="dependency.properties file: ${dependency.properties}" /> |
| <!-- |
| read in this properties, just so we can make sure our |
| requested pre-reqs are defined |
| --> |
| <property |
| file="${dependency.properties}"/> |
| |
| <mkdir |
| dir="${buildDirectory}/maps/${env.RELENG}/maps"/> |
| |
| <property |
| name="pde.builder.path" |
| value="${env.BASE_BUILDERS}/${eclipse.builder.version}/${eclipse.builder}"/> |
| <echo |
| level="debug" |
| message="pde.builder.path: ${pde.builder.path}"/> |
| <echo |
| level="debug" |
| message="eclipse.builder.version: ${eclipse.builder.version}"/> |
| <echo |
| level="debug" |
| message="eclipse.builder: ${eclipse.builder}"/> |
| |
| <antcall target="getAndInstall"> |
| <param |
| name="groupId" |
| value="emf" /> |
| </antcall> |
| <antcall target="getAndInstall"> |
| <param |
| name="groupId" |
| value="gef" /> |
| </antcall> |
| |
| <antcall target="getAndInstall"> |
| <param |
| name="groupId" |
| value="eclipse" /> |
| </antcall> |
| <antcall target="getAndInstall"> |
| <param |
| name="groupId" |
| value="eclipseTestFramework" /> |
| </antcall> |
| <antcall target="getAndInstall"> |
| <param |
| name="groupId" |
| value="dita" /> |
| </antcall> |
| |
| <!-- |
| for patch builds, also get a whole released version to |
| compile against |
| --> |
| |
| <antcall target="getAndInstall"> |
| <param |
| name="groupId" |
| value="wtp" /> |
| </antcall> |
| <!-- including tests --> |
| <antcall |
| target="getAndInstall"> |
| <param |
| name="groupId" |
| value="wtp-wst-test" /> |
| </antcall> |
| <antcall target="getAndInstall"> |
| <param |
| name="groupId" |
| value="wtp-jst-test" /> |
| </antcall> |
| |
| |
| </target> |
| |
| |
| <target |
| name="getAndInstall" |
| if="${groupId}.url"> |
| <ant |
| antfile="${dependencyTargets}" |
| target="checkDependency"> |
| <property |
| name="groupId" |
| value="${groupId}" /> |
| </ant> |
| <ant |
| antfile="${dependencyTargets}" |
| target="installDependency"> |
| <property |
| name="groupId" |
| value="${groupId}" /> |
| <property |
| name="install.destination" |
| value="${base.install.dir}" /> |
| </ant> |
| </target> |
| |
| |
| |
| |
| </project> |
| |