You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sqoop.apache.org by bl...@apache.org on 2011/11/08 07:21:12 UTC

svn commit: r1199120 - /incubator/sqoop/branches/branch-1.4.0/build.xml

Author: blee
Date: Tue Nov  8 06:21:12 2011
New Revision: 1199120

URL: http://svn.apache.org/viewvc?rev=1199120&view=rev
Log:
Trim down source package tar.

Modified:
    incubator/sqoop/branches/branch-1.4.0/build.xml

Modified: incubator/sqoop/branches/branch-1.4.0/build.xml
URL: http://svn.apache.org/viewvc/incubator/sqoop/branches/branch-1.4.0/build.xml?rev=1199120&r1=1199119&r2=1199120&view=diff
==============================================================================
--- incubator/sqoop/branches/branch-1.4.0/build.xml (original)
+++ incubator/sqoop/branches/branch-1.4.0/build.xml Tue Nov  8 06:21:12 2011
@@ -466,9 +466,7 @@
     </tar>
   </target>
 
-  <target name="srcpackage"
-      depends="compile-all,ivy-retrieve-redist,scripts"
-      description="Create a redistributable source package">
+  <target name="srcpackage" description="Create a redistributable source package">
 
     <mkdir dir="${dist.dir}"/>
 
@@ -478,7 +476,6 @@
       <fileset dir="${basedir}">
         <include name="**/*" />
         <exclude name="build/**" />
-        <exclude name="lib/**" />
         <exclude name=".git/**" />
         <exclude name="tags" />
         <exclude name=".project" />
@@ -488,28 +485,6 @@
       </fileset>
     </copy>
 
-    <!-- copy the dependency libraries from ivy into the output lib dir -->
-    <mkdir dir="${dist.dir}/lib"/>
-    <copy todir="${dist.dir}/lib" includeEmptyDirs="false" flatten="true">
-      <fileset dir="${redist.ivy.lib.dir}">
-        <include name="**/*.jar" />
-      </fileset>
-    </copy>
-
-    <copy todir="${dist.dir}/lib" includeEmptyDirs="false">
-      <fileset dir="${lib.dir}">
-        <include name="**/*" />
-        <exclude name="ivy*" />
-      </fileset>
-    </copy>
-
-    <!-- copy in auto-generated bin scripts -->
-    <copy todir="${dist.dir}/bin" includeEmptyDirs="false" flatten="true">
-      <fileset dir="${build.bin.dir}">
-        <include name="*" />
-      </fileset>
-    </copy>
-
     <!-- make sure the bin scripts are executable. -->
     <chmod perm="ugo+x" type="file" parallel="false">
       <fileset dir="${dist.dir}/bin" />
@@ -522,14 +497,6 @@
         <include name="**/*.sh" />
       </fileset>
     </chmod>
-
-    <!-- In the configuration directory, take the sqoop-site-template
-         and copy it to sqoop-site.xml, overwriting any user-specified
-         sqoop-site.xml in there.
-     -->
-    <copy file="${dist.dir}/conf/sqoop-site-template.xml"
-        tofile="${dist.dir}/conf/sqoop-site.xml"
-        overwrite="true" />
   </target>
 
   <target name="srctar" depends="srcpackage" description="Create release source tarball">