Browse Source

Add scripts into jar file so they're bundled with code.

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@375413 13f79535-47bb-0310-9956-ffa450edef68
Doug Cutting 19 năm trước cách đây
mục cha
commit
3441c8347b
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      build.xml

+ 3 - 0
build.xml

@@ -116,6 +116,9 @@
           todir="${build.classes}"/>
     <copy file="${conf.dir}/mapred-default.xml"
           todir="${build.classes}"/>
+    <tar compression="gzip" destfile="${build.classes}/bin.tgz">
+      <tarfileset dir="bin" mode="755"/>
+    </tar>
     <jar jarfile="${build.dir}/${final.name}.jar"
          basedir="${build.classes}">
       <manifest>