[120] | 1 | <?xml version="1.0"?> |
---|
| 2 | |
---|
| 3 | <!-- |
---|
| 4 | Licensed to the Apache Software Foundation (ASF) under one or more |
---|
| 5 | contributor license agreements. See the NOTICE file distributed with |
---|
| 6 | this work for additional information regarding copyright ownership. |
---|
| 7 | The ASF licenses this file to You under the Apache License, Version 2.0 |
---|
| 8 | (the "License"); you may not use this file except in compliance with |
---|
| 9 | the License. You may obtain a copy of the License at |
---|
| 10 | |
---|
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
---|
| 12 | |
---|
| 13 | Unless required by applicable law or agreed to in writing, software |
---|
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
---|
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
| 16 | See the License for the specific language governing permissions and |
---|
| 17 | limitations under the License. |
---|
| 18 | --> |
---|
| 19 | |
---|
| 20 | <project name="hadoopcontrib" default="compile" basedir="."> |
---|
| 21 | |
---|
| 22 | <!-- In case one of the contrib subdirectories --> |
---|
| 23 | <!-- fails the build or test targets and you cannot fix it: --> |
---|
| 24 | <!-- Then add to fileset: excludes="badcontrib/build.xml" --> |
---|
| 25 | |
---|
| 26 | <!-- ====================================================== --> |
---|
| 27 | <!-- Compile contribs. --> |
---|
| 28 | <!-- ====================================================== --> |
---|
| 29 | <target name="compile"> |
---|
| 30 | <subant target="compile"> |
---|
| 31 | <fileset dir="." includes="*/build.xml"/> |
---|
| 32 | </subant> |
---|
| 33 | </target> |
---|
| 34 | |
---|
| 35 | <!-- ====================================================== --> |
---|
| 36 | <!-- Package contrib jars. --> |
---|
| 37 | <!-- ====================================================== --> |
---|
| 38 | <target name="package"> |
---|
| 39 | <subant target="package"> |
---|
| 40 | <fileset dir="." includes="*/build.xml"/> |
---|
| 41 | </subant> |
---|
| 42 | </target> |
---|
| 43 | |
---|
| 44 | <!-- ====================================================== --> |
---|
| 45 | <!-- Test all the contribs. --> |
---|
| 46 | <!-- ====================================================== --> |
---|
| 47 | <target name="test"> |
---|
| 48 | <subant target="test"> |
---|
| 49 | <fileset dir="." includes="hdfsproxy/build.xml"/> |
---|
| 50 | <fileset dir="." includes="streaming/build.xml"/> |
---|
| 51 | <fileset dir="." includes="fairscheduler/build.xml"/> |
---|
| 52 | <fileset dir="." includes="capacity-scheduler/build.xml"/> |
---|
| 53 | </subant> |
---|
| 54 | </target> |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | <!-- ====================================================== --> |
---|
| 58 | <!-- Clean all the contribs. --> |
---|
| 59 | <!-- ====================================================== --> |
---|
| 60 | <target name="clean"> |
---|
| 61 | <subant target="clean"> |
---|
| 62 | <fileset dir="." includes="*/build.xml"/> |
---|
| 63 | </subant> |
---|
| 64 | </target> |
---|
| 65 | |
---|
| 66 | </project> |
---|