Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

NUTCH-1415 release packages to contain top level folder apache-nutch-x.x

git-svn-id: https://svn.apache.org/repos/asf/nutch/trunk@1387357 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit 582919d28bc5cdefec2e2210c8d8fb954de048c8 1 parent a567830
@sebastian-nagel sebastian-nagel authored
Showing with 27 additions and 27 deletions.
  1. +2 −0  CHANGES.txt
  2. +25 −27 build.xml
View
2  CHANGES.txt
@@ -2,6 +2,8 @@ Nutch Change Log
(trunk) Current Development:
+* NUTCH-1415 release packages to contain top level folder apache-nutch-x.x (snagel)
+
* NUTCH-1441 AnchorIndexingFilter should use plain HashSet (ferdy via lewismc)
* NUTCH-1470 Ensure test files are included for runtime testing (lewismc)
View
52 build.xml
@@ -698,14 +698,13 @@
<!-- ================================================================== -->
<target name="tar-src" depends="package-src" description="--> generate src.tar.gz distribution package">
<tar compression="gzip" longfile="gnu"
- destfile="${src.dist.version.dir}.tar.gz" basedir="${src.dist.version.dir}">
- <tarfileset dir="${dist.dir}" mode="664">
- <exclude name="${src.dist.version.dir}/bin/*" />
- <exclude name="${src.dist.version.dir}/runtime/*" />
- <include name="${src.dist.version.dir}/**" />
+ destfile="${src.dist.version.dir}.tar.gz">
+ <tarfileset dir="${src.dist.version.dir}" mode="664" prefix="${final.name}">
+ <exclude name="src/bin/*" />
+ <include name="**" />
</tarfileset>
- <tarfileset dir="${dist.dir}" mode="755">
- <include name="${src.dist.version.dir}/bin/*" />
+ <tarfileset dir="${src.dist.version.dir}" mode="755" prefix="${final.name}">
+ <include name="src/bin/*" />
</tarfileset>
</tar>
</target>
@@ -715,13 +714,13 @@
<!-- ================================================================== -->
<target name="tar-bin" depends="package-bin" description="--> generate bin.tar.gz distribution package">
<tar compression="gzip" longfile="gnu"
- destfile="${bin.dist.version.dir}.tar.gz" basedir="${bin.dist.version.dir}">
- <tarfileset dir="${dist.dir}" mode="664">
- <exclude name="${bin.dist.version.dir}/bin/*" />
- <include name="${bin.dist.version.dir}/**" />
+ destfile="${bin.dist.version.dir}.tar.gz">
+ <tarfileset dir="${bin.dist.version.dir}" mode="664" prefix="${final.name}">
+ <exclude name="bin/*" />
+ <include name="**" />
</tarfileset>
- <tarfileset dir="${dist.dir}" mode="755">
- <include name="${bin.dist.version.dir}/bin/*" />
+ <tarfileset dir="${bin.dist.version.dir}" mode="755" prefix="${final.name}">
+ <include name="bin/*" />
</tarfileset>
</tar>
</target>
@@ -731,14 +730,13 @@
<!-- ================================================================== -->
<target name="zip-src" depends="package-src" description="--> generate src.zip distribution package">
<zip compress="true" casesensitive="yes"
- destfile="${src.dist.version.dir}.zip" basedir="${src.dist.version.dir}">
- <zipfileset dir="${dist.dir}" filemode="664">
- <exclude name="${src.dist.version.dir}/bin/*" />
- <exclude name="${src.dist.version.dir}/runtime/*" />
- <include name="${src.dist.version.dir}/**" />
+ destfile="${src.dist.version.dir}.zip">
+ <zipfileset dir="${src.dist.version.dir}" filemode="664" prefix="${final.name}">
+ <exclude name="src/bin/*" />
+ <include name="**" />
</zipfileset>
- <zipfileset dir="${dist.dir}" filemode="755">
- <include name="${src.dist.version.dir}/bin/*" />
+ <zipfileset dir="${src.dist.version.dir}" filemode="755" prefix="${final.name}">
+ <include name="src/bin/*" />
</zipfileset>
</zip>
</target>
@@ -746,15 +744,15 @@
<!-- ================================================================== -->
<!-- Make bin release zip -->
<!-- ================================================================== -->
- <target name="zip-bin" depends="package-bin" description="--> generate src.zip distribution package">
+ <target name="zip-bin" depends="package-bin" description="--> generate bin.zip distribution package">
<zip compress="true" casesensitive="yes"
- destfile="${bin.dist.version.dir}.zip" basedir="${bin.dist.version.dir}">
- <zipfileset dir="${dist.dir}" filemode="664">
- <exclude name="${bin.dist.version.dir}/bin/*" />
- <include name="${bin.dist.version.dir}/**" />
+ destfile="${bin.dist.version.dir}.zip">
+ <zipfileset dir="${bin.dist.version.dir}" filemode="664" prefix="${final.name}">
+ <exclude name="bin/*" />
+ <include name="**" />
</zipfileset>
- <zipfileset dir="${dist.dir}" filemode="755">
- <include name="${bin.dist.version.dir}/bin/*" />
+ <zipfileset dir="${bin.dist.version.dir}" filemode="755" prefix="${final.name}">
+ <include name="bin/*" />
</zipfileset>
</zip>
</target>
Please sign in to comment.
Something went wrong with that request. Please try again.