You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by jn...@apache.org on 2010/07/26 12:22:45 UTC

svn commit: r979227 - /nutch/branches/nutchbase/build.xml

Author: jnioche
Date: Mon Jul 26 10:22:45 2010
New Revision: 979227

URL: http://svn.apache.org/viewvc?rev=979227&view=rev
Log:
NUTCH-860 : Fixed package task

Modified:
    nutch/branches/nutchbase/build.xml

Modified: nutch/branches/nutchbase/build.xml
URL: http://svn.apache.org/viewvc/nutch/branches/nutchbase/build.xml?rev=979227&r1=979226&r2=979227&view=diff
==============================================================================
--- nutch/branches/nutchbase/build.xml (original)
+++ nutch/branches/nutchbase/build.xml Mon Jul 26 10:22:45 2010
@@ -427,10 +427,10 @@
   <!-- ================================================================== -->
   <!--                                                                    -->
   <!-- ================================================================== -->
-  <target name="package" depends="jar, job, javadoc">
+  <target name="package" depends="runtime, javadoc">
     <mkdir dir="${dist.version.dir}"/>
     <mkdir dir="${dist.version.dir}/lib"/>
-    <mkdir dir="${dist.version.dir}/bin"/>
+    <mkdir dir="${dist.version.dir}/runtime"/>
     <mkdir dir="${dist.version.dir}/docs"/>
     <mkdir dir="${dist.version.dir}/docs/api"/>
     <mkdir dir="${dist.version.dir}/plugins"/>
@@ -446,18 +446,19 @@
     <copy file="${build.dir}/${final.name}.jar" todir="${dist.version.dir}"/>
     <copy file="${build.dir}/${final.name}.job" todir="${dist.version.dir}"/>
    
-    <copy todir="${dist.version.dir}/bin">
-      <fileset dir="bin"/>
+    <copy todir="${dist.version.dir}/runtime">
+      <fileset dir="runtime"/>
     </copy>
 
+    <chmod perm="ugo+x" type="file">
+        <fileset dir="${dist.version.dir}/runtime/deploy/bin"/>
+        <fileset dir="${dist.version.dir}/runtime/local/bin"/>
+    </chmod>
+
     <copy todir="${dist.version.dir}/conf">
       <fileset dir="${conf.dir}" excludes="**/*.template"/>
     </copy>
 
-    <chmod perm="ugo+x" type="file">
-        <fileset dir="${dist.version.dir}/bin"/>
-    </chmod>
-
     <copy todir="${dist.version.dir}/docs/api">
       <fileset dir="${build.javadoc}"/>
     </copy>