Browse Source

Change all generic targets to consistently echo contrib module name.

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@423047 13f79535-47bb-0310-9956-ffa450edef68
Doug Cutting 19 years ago
parent
commit
7472358f22
1 changed files with 7 additions and 3 deletions
  1. 7 3
      src/contrib/build-contrib.xml

+ 7 - 3
src/contrib/build-contrib.xml

@@ -65,6 +65,7 @@
   <!-- Stuff needed by all targets                            -->
   <!-- ====================================================== -->
   <target name="init">
+    <echo message="contrib: ${name}"/>
     <mkdir dir="${build.dir}"/>
     <mkdir dir="${build.classes}"/>
     <mkdir dir="${build.test}"/>
@@ -77,7 +78,7 @@
   <!-- Compile a Hadoop contrib's files                       -->
   <!-- ====================================================== -->
   <target name="compile" depends="init">
-    <echo message="Compiling contrib: ${name} destdir=${build.classes}"/>
+    <echo message="contrib: ${name}"/>
     <javac
      encoding="${build.encoding}"
      srcdir="${src.dir}"
@@ -93,6 +94,7 @@
   <!-- Compile test code                                                  -->
   <!-- ================================================================== -->
   <target name="compile-test" depends="compile" if="test.available">
+    <echo message="contrib: ${name}"/>
     <javac
      encoding="${build.encoding}"
      srcdir="${src.test}"
@@ -108,6 +110,7 @@
   <!-- Make a Hadoop contrib's jar                            -->
   <!-- ====================================================== -->
   <target name="jar" depends="compile">
+    <echo message="contrib: ${name}"/>
     <jar
       jarfile="${build.dir}/hadoop-${name}.jar"
       basedir="${build.classes}"      
@@ -115,6 +118,7 @@
   </target>
   
   <target name="deploy" depends="jar">
+    <echo message="contrib: ${name}"/>
     <mkdir dir="${deploy.dir}"/>
     <copy file="${build.dir}/hadoop-${name}.jar" todir="${deploy.dir}"/>
     <!-- <copy todir="${deploy.dir}" flatten="true">
@@ -126,7 +130,7 @@
   <!-- Run unit tests                                                     -->
   <!-- ================================================================== -->
   <target name="test" depends="compile-test, deploy" if="test.available">
-    <echo message="Testing contrib: ${name}"/>
+    <echo message="contrib: ${name}"/>
     <junit 
       printsummary="withOutAndErr" haltonfailure="no" fork="yes"
       errorProperty="tests.failed" failureProperty="tests.failed">
@@ -158,7 +162,7 @@
   <!-- Clean.  Delete the build files, and their directories              -->
   <!-- ================================================================== -->
   <target name="clean">
-    <echo message="Cleaning: ${name} builddir=${build.dir}"/>
+    <echo message="contrib: ${name}"/>
     <delete dir="${build.dir}"/>
     <!--<delete dir="${deploy.dir}"/> -->
   </target>