hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r423047 - /lucene/hadoop/trunk/src/contrib/build-contrib.xml
Date Tue, 18 Jul 2006 10:58:55 GMT
Author: cutting
Date: Tue Jul 18 03:58:55 2006
New Revision: 423047

URL: http://svn.apache.org/viewvc?rev=423047&view=rev
Log:
Change all generic targets to consistently echo contrib module name.

Modified:
    lucene/hadoop/trunk/src/contrib/build-contrib.xml

Modified: lucene/hadoop/trunk/src/contrib/build-contrib.xml
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/contrib/build-contrib.xml?rev=423047&r1=423046&r2=423047&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/contrib/build-contrib.xml (original)
+++ lucene/hadoop/trunk/src/contrib/build-contrib.xml Tue Jul 18 03:58:55 2006
@@ -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>



Mime
View raw message