|
197 | 197 | <property name="build.ivy.dir" location="${build.dir}/ivy" /> |
198 | 198 | <property name="build.ivy.lib.dir" location="${build.ivy.dir}/lib" /> |
199 | 199 | <property name="common.ivy.lib.dir" location="${build.ivy.lib.dir}/${ant.project.name}/common"/> |
| 200 | + <property name="mapred.ivy.lib.dir" location="${build.ivy.lib.dir}/${ant.project.name}/mapred"/> |
200 | 201 | <property name="build.ivy.report.dir" location="${build.ivy.dir}/report" /> |
201 | 202 | <property name="build.ivy.maven.dir" location="${build.ivy.dir}/maven" /> |
202 | 203 | <property name="build.ivy.maven.pom" location="${build.ivy.maven.dir}/hadoop-mapred-${version}.pom" /> |
|
255 | 256 | <pathelement location="${build.classes}"/> |
256 | 257 | <pathelement location="${conf.dir}"/> |
257 | 258 | <path refid="ivy-common.classpath"/> |
| 259 | + <path refid="ivy-mapred.classpath"/> |
258 | 260 | </path> |
259 | 261 |
|
260 | 262 | <path id="test.classpath"> |
|
268 | 270 | <pathelement location="${build.classes}"/> |
269 | 271 | <pathelement location="${test.conf.dir}"/> |
270 | 272 | <path refid="ivy-common.classpath"/> |
| 273 | + <path refid="ivy-mapred.classpath"/> |
271 | 274 | <pathelement location="${test.mapred.build.classes}" /> |
272 | 275 | <path refid="ivy-test.classpath"/> |
273 | 276 | </path> |
|
298 | 301 | <!-- ====================================================== --> |
299 | 302 | <!-- Stuff needed by all targets --> |
300 | 303 | <!-- ====================================================== --> |
301 | | - <target name="init" depends="ivy-retrieve-common"> |
| 304 | + <target name="init" depends="ivy-retrieve-common,ivy-retrieve-mapred"> |
302 | 305 | <mkdir dir="${build.dir}"/> |
303 | 306 | <mkdir dir="${build.classes}"/> |
304 | 307 | <mkdir dir="${build.tools}"/> |
|
1160 | 1163 | <mkdir dir="${dist.dir}/docs/jdiff"/> |
1161 | 1164 |
|
1162 | 1165 | <copy todir="${dist.dir}/lib" includeEmptyDirs="false" flatten="true"> |
1163 | | - <fileset dir="${common.ivy.lib.dir}"/> |
| 1166 | + <fileset dir="${mapred.ivy.lib.dir}"/> |
1164 | 1167 | </copy> |
1165 | 1168 |
|
1166 | 1169 | <copy todir="${dist.dir}/lib" includeEmptyDirs="false"> |
|
1283 | 1286 | <mkdir dir="${dist.dir}/bin"/> |
1284 | 1287 |
|
1285 | 1288 | <copy todir="${dist.dir}/lib" includeEmptyDirs="false" flatten="true"> |
1286 | | - <fileset dir="${common.ivy.lib.dir}"/> |
| 1289 | + <fileset dir="${mapred.ivy.lib.dir}"/> |
1287 | 1290 | </copy> |
1288 | 1291 |
|
1289 | 1292 | <copy todir="${dist.dir}/lib" includeEmptyDirs="false"> |
|
1938 | 1941 | </target> |
1939 | 1942 |
|
1940 | 1943 | <target name="eclipse" |
1941 | | - depends="init,ant-eclipse-download,ivy-retrieve-common,ivy-retrieve-test" |
| 1944 | + depends="init,ant-eclipse-download,ivy-retrieve-common,ivy-retrieve-mapred,ivy-retrieve-test" |
1942 | 1945 | description="Create eclipse project files"> |
1943 | 1946 | <pathconvert property="eclipse.project"> |
1944 | 1947 | <path path="${basedir}"/> |
|
2012 | 2015 | output="${build.dir.eclipse-contrib-classes}/vertica/test" /> |
2013 | 2016 | <output path="${build.dir.eclipse-main-classes}" /> |
2014 | 2017 | <library pathref="ivy-common.classpath" exported="true" /> |
| 2018 | + <library pathref="ivy-mapred.classpath" exported="true" /> |
2015 | 2019 | <library pathref="ivy-test.classpath" exported="false" /> |
2016 | 2020 | <library path="${conf.dir}" exported="false" /> |
2017 | 2021 | </classpath> |
|
2102 | 2106 | log="${ivyresolvelog}"/> |
2103 | 2107 | </target> |
2104 | 2108 |
|
| 2109 | + <target name="ivy-resolve-mapred" depends="ivy-init"> |
| 2110 | + <ivy:resolve settingsRef="${ant.project.name}.ivy.settings" conf="mapred" |
| 2111 | + log="${ivyresolvelog}"/> |
| 2112 | + </target> |
| 2113 | + |
2105 | 2114 | <target name="ivy-resolve-jdiff" depends="ivy-init"> |
2106 | 2115 | <ivy:resolve settingsRef="${ant.project.name}.ivy.settings" conf="jdiff" |
2107 | 2116 | log="${ivyresolvelog}"/> |
|
2164 | 2173 | <ivy:cachepath pathid="ivy-common.classpath" conf="common"/> |
2165 | 2174 | </target> |
2166 | 2175 |
|
| 2176 | + <target name="ivy-retrieve-mapred" depends="ivy-resolve-mapred" |
| 2177 | + description="Retrieve Ivy-managed artifacts for the mapred configurations"> |
| 2178 | + <ivy:retrieve settingsRef="${ant.project.name}.ivy.settings" |
| 2179 | + pattern="${build.ivy.lib.dir}/${ivy.artifact.retrieve.pattern}" |
| 2180 | + log="${ivyresolvelog}"/> |
| 2181 | + <ivy:cachepath pathid="ivy-mapred.classpath" conf="mapred"/> |
| 2182 | + </target> |
| 2183 | + |
2167 | 2184 | <target name="ivy-retrieve-releaseaudit" depends="ivy-resolve-releaseaudit" |
2168 | 2185 | description="Retrieve Ivy-managed artifacts for the compile configurations"> |
2169 | 2186 | <ivy:retrieve settingsRef="${ant.project.name}.ivy.settings" |
|
0 commit comments