david_williams | 24b89fd | 2009-03-13 07:01:50 +0000 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <!-- |
| 3 | ====================================================================== |
| 4 | Properties that must be passed to this script: base.install.dir |
| 5 | dependencyTargets local.cache.dir dependency.properties |
| 6 | ====================================================================== |
| 7 | --> |
| 8 | <project |
| 9 | name="test" |
| 10 | default="get"> |
| 11 | <property |
| 12 | environment="env"/> |
| 13 | <!-- required to get proper value of dropinsFolder --> |
| 14 | <property |
| 15 | name="keyCfgFile" |
| 16 | value="${env.PROJECT_BUILDERS}/${projectname}/${env.RELENG}/maps/build.cfg"/> |
| 17 | <echo |
| 18 | level="debug" |
| 19 | message="keyCfgFile: ${keyCfgFile}"/> |
| 20 | <property |
| 21 | file="${keyCfgFile}"/> |
| 22 | <target |
| 23 | name="get"> |
| 24 | <antcall |
| 25 | target="getAndInstallDropins"> |
| 26 | <param |
| 27 | name="groupId" |
| 28 | value="emf"/> |
| 29 | </antcall> |
| 30 | <antcall |
| 31 | target="getAndInstallDropins"> |
| 32 | <param |
| 33 | name="groupId" |
| 34 | value="emfxsd"/> |
| 35 | </antcall> |
| 36 | <antcall |
| 37 | target="getAndInstallDropins"> |
| 38 | <param |
| 39 | name="groupId" |
| 40 | value="gef"/> |
| 41 | </antcall> |
| 42 | <antcall |
| 43 | target="getAndInstallBase"> |
| 44 | <param |
| 45 | name="groupId" |
| 46 | value="eclipse"/> |
| 47 | </antcall> |
| 48 | <antcall |
| 49 | target="getAndInstallDropins"> |
| 50 | <param |
| 51 | name="groupId" |
| 52 | value="eclipseTestFramework"/> |
| 53 | </antcall> |
| 54 | <!-- |
| 55 | <antcall target="getAndInstallDropins"> <param name="groupId" |
| 56 | value="dtp"/> </antcall> |
| 57 | --> |
| 58 | <antcall |
| 59 | target="getAndInstallDropins"> |
| 60 | <param |
| 61 | name="groupId" |
| 62 | value="wtp"/> |
| 63 | </antcall> |
| 64 | </target> |
| 65 | <target |
| 66 | name="getAndInstallBase"> |
| 67 | <ant |
| 68 | antfile="${dependencyTargets}" |
| 69 | target="checkDependency"> |
| 70 | <property |
| 71 | name="groupId" |
| 72 | value="${groupId}"/> |
| 73 | </ant> |
| 74 | <ant |
| 75 | antfile="${dependencyTargets}" |
| 76 | target="installDependency"> |
| 77 | <property |
| 78 | name="groupId" |
| 79 | value="${groupId}"/> |
| 80 | <property |
| 81 | name="install.destination" |
| 82 | value="${base.install.dir}"/> |
| 83 | </ant> |
| 84 | </target> |
| 85 | <target |
| 86 | name="getAndInstallDropins"> |
| 87 | <ant |
| 88 | antfile="${dependencyTargets}" |
| 89 | target="checkDependency"> |
| 90 | <property |
| 91 | name="groupId" |
| 92 | value="${groupId}"/> |
| 93 | </ant> |
| 94 | <ant |
| 95 | antfile="${dependencyTargets}" |
| 96 | target="installDependency"> |
| 97 | <property |
| 98 | name="groupId" |
| 99 | value="${groupId}"/> |
| 100 | <property |
| 101 | name="install.destination" |
| 102 | value="${base.install.dir}${dropinsFolder}"/> |
| 103 | </ant> |
| 104 | </target> |
| 105 | </project> |