hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1077193 - /hadoop/common/branches/branch-0.20-security-patches/build.xml
Date Fri, 04 Mar 2011 03:50:32 GMT
Author: omalley
Date: Fri Mar  4 03:50:32 2011
New Revision: 1077193

URL: http://svn.apache.org/viewvc?rev=1077193&view=rev
Log:
commit fbbf99c956ee239c78132e3033d8ed80fe667c9f
Author: Yahoo\! <ltucker@yahoo-inc.com>
Date:   Tue Feb 2 13:31:52 2010 -0800

    HADOOP-6382 from http://issues.apache.org/jira/secure/attachment/12430016/hadoop-6382-v1.patch

Modified:
    hadoop/common/branches/branch-0.20-security-patches/build.xml

Modified: hadoop/common/branches/branch-0.20-security-patches/build.xml
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-patches/build.xml?rev=1077193&r1=1077192&r2=1077193&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-patches/build.xml (original)
+++ hadoop/common/branches/branch-0.20-security-patches/build.xml Fri Mar  4 03:50:32 2011
@@ -601,6 +601,7 @@
     <tar compression="gzip" destfile="${build.classes}/bin.tgz">
       <tarfileset dir="bin" mode="755"/>
     </tar>
+
     <property name="jar.properties.list"
       value="commons-logging.properties, log4j.properties, hadoop-metrics.properties"/>
     <jar jarfile="${build.dir}/${core.final.name}.jar"
@@ -624,10 +625,13 @@
   <!--                                                                    -->
   <!-- ================================================================== -->
   <target name="examples" depends="jar, compile-examples" description="Make the Hadoop
examples jar.">
-    <macro-jar-examples
-      build.dir="${build.dir}"
-      basedir="${build.examples}">
-    </macro-jar-examples>
+    <jar jarfile="${build.dir}/${examples.final.name}.jar"
+         basedir="${build.examples}">
+      <manifest>
+        <attribute name="Main-Class" 
+                   value="org/apache/hadoop/examples/ExampleDriver"/>
+      </manifest>
+    </jar>
   </target>
 
   <macrodef name="macro-jar-examples">
@@ -1486,7 +1490,7 @@
   <!-- ================================================================== -->
   <!-- Clean.  Delete the build files, and their directories              -->
   <!-- ================================================================== -->
-  <target name="clean" depends="clean-contrib, clean-sign, clean-fi" description="Clean.
 Delete the build files, and their directories">
+  <target name="clean" depends="clean-contrib, clean-sign" description="Clean.  Delete
the build files, and their directories">
     <delete dir="${build.dir}"/>
     <delete dir="${docs.src}/build"/>
     <delete dir="${src.docs.cn}/build"/>



Mime
View raw message