Author: siren
Date: Sun Mar 11 04:02:27 2007
New Revision: 516885

URL: http://svn.apache.org/viewvc?view=rev&rev=516885
Log:
reduce the size of .job from 19+M down to 14+M

Modified:
    lucene/nutch/trunk/build.xml

Modified: lucene/nutch/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/lucene/nutch/trunk/build.xml?view=diff&rev=516885&r1=516884&r2=516885
==============================================================================
--- lucene/nutch/trunk/build.xml (original)
+++ lucene/nutch/trunk/build.xml Sun Mar 11 04:02:27 2007
@@ -148,8 +148,20 @@
     <jar jarfile="${build.dir}/${final.name}.job">
       <zipfileset dir="${build.classes}"/>
       <zipfileset dir="${conf.dir}" excludes="*.template"/>
-      <zipfileset dir="${lib.dir}" prefix="lib"
-                  includes="**/*.jar" excludes="hadoop-*.jar"/>
+      <zipfileset dir="${lib.dir}" prefix="lib" includes="**/*.jar">
+        <exclude name="hadoop-*.jar"/>
+        <exclude name="servlet-*.jar"/>
+        <exclude name="junit*.jar"/>
+        <exclude name="jetty-*.jar"/>
+        <exclude name="pmd-ext/*"/>
+        <exclude name="jetty-ext/*"/>
+        <exclude name="jets3t.jar"/>
+        <exclude name="taglib*.jar"/>
+        <exclude name="commons-cli*.jar"/>
+        <exclude name="xerces-*.jar"/>
+        <exclude name="commons-logging-1.0.4.jar"/>
+        <exclude name="log4j-1.2.13.jar"/>
+      </zipfileset>
       <zipfileset dir="${build.plugins}" prefix="plugins"/>
     </jar>
   </target>



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nutch-cvs mailing list
Nutch-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nutch-cvs

Reply via email to