Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

- fix for NUTCH-816 Add zip target to build.xml

Chris Mattmann9b9ccf6448b4
diff --git a/CHANGES.txt b/CHANGES.txt
index 0a5b0b163..02038a08c 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -2,6 +2,8 @@ Nutch Change Log
Release 1.1 - 2010-04-06
+* NUTCH-816 Add zip target to build.xml (mattmann)
+
* NUTCH-732 Subcollection plugin not working (Filipe Antunes, ab)
* NUTCH-815 Invalid blank line before If-Modified-Since header (Pascal Dimassimo via ab)
diff --git a/build.xml b/build.xml
index 051c14282..db6a6972a 100644
--- a/build.xml
+++ b/build.xml
@@ -608,6 +608,21 @@
</tarfileset>
</tar>
</target>
+
+ <!-- ================================================================== -->
+ <!-- Make release tarball -->
+ <!-- ================================================================== -->
+ <target name="zip" depends="package">
+ <zip compress="true" casesensitive="yes" destfile="${build.dir}/${final.name}.zip">
+ <zipfileset dir="${build.dir}" filemode="664">
+ <exclude name="${final.name}/bin/*" />
+ <include name="${final.name}/**" />
+ </zipfileset>
+ <zipfileset dir="${build.dir}" filemode="755">
+ <include name="${final.name}/bin/*" />
+ </zipfileset>
+ </zip>
+ </target>
<!-- ================================================================== -->
<!-- Clean. Delete the build files, and their directories -->