lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject svn commit: r165568 - /lucene/java/trunk/build.xml
Date Mon, 02 May 2005 00:51:19 GMT
Author: ehatcher
Date: Sun May  1 17:51:18 2005
New Revision: 165568

URL: http://svn.apache.org/viewcvs?rev=165568&view=rev
Log:
add contrib pieces to distribution files

Modified:
    lucene/java/trunk/build.xml

Modified: lucene/java/trunk/build.xml
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/build.xml?rev=165568&r1=165567&r2=165568&view=diff
==============================================================================
--- lucene/java/trunk/build.xml (original)
+++ lucene/java/trunk/build.xml Sun May  1 17:51:18 2005
@@ -184,7 +184,9 @@
   <!-- ================================================================== -->
   <!--                                                                    -->
   <!-- ================================================================== -->
-  <target name="package" depends="jar-core, javadocs, war-demo"/>
+  <target name="package" depends="jar-core, javadocs, war-demo, build-contrib">
+    <mkdir dir="${dist.dir}"/>
+  </target>
 
   <!-- ================================================================== -->
   <!-- Packages the distribution with zip                                 -->
@@ -199,7 +201,7 @@
       <zipfileset prefix="${final.name}" dir="."
         includes="src/demo/,src/jsp/,build.xml,docs/,*.txt"/>
       <zipfileset prefix="${final.name}" dir="${build.dir}"
-        includes="${final.name}.jar,${demo.war.name}.war,${demo.name}.jar,docs/"/>
+        includes="${final.name}.jar,${demo.war.name}.war,${demo.name}.jar,docs/,contrib/*/*.jar"/>
     </zip>
   </target>
 
@@ -218,7 +220,7 @@
       <tarfileset prefix="${final.name}" dir="."
         includes="src/demo/,src/jsp/,build.xml,docs/,*.txt"/>
       <tarfileset prefix="${final.name}" dir="${build.dir}"
-        includes="${final.name}.jar,${demo.war.name}.war,${demo.name}.jar,docs/"/>
+        includes="${final.name}.jar,${demo.war.name}.war,${demo.name}.jar,docs/,contrib/*/*.jar"/>
     </tar>
 
     <gzip zipfile="${dist.dir}/${final.name}.tar.gz"
@@ -254,7 +256,8 @@
     description="--> Generates the Lucene sources as .zip">
     <zip destfile="${dist.dir}/${final.name}-src.zip">
       <zipfileset prefix="${final.name}" dir="."
-        includes="src/,build.xml,lib/,docs/,*.txt"/>
+        includes="src/,build.xml,lib/,docs/,*.txt,contrib/"
+        excludes="contrib/*/lib/"/>
     </zip>
   </target>
 
@@ -270,7 +273,8 @@
     <delete file="${dist.dir}/${final.name}-src.tar.gz"/>
     <tar tarfile="${build.dir}/${final.name}-src.tar">
       <tarfileset prefix="${final.name}" dir="."
-        includes="src/,build.xml,lib/,docs/,*.txt"/>
+        includes="src/,build.xml,lib/,docs/,*.txt,contrib/"
+        excludes="contrib/*/lib/"/>
     </tar>
 
     <gzip zipfile="${dist.dir}/${final.name}-src.tar.gz"
@@ -370,8 +374,6 @@
     <attribute name="target" default=""/>
     <sequential>
       <subant target="@{target}" failonerror="true">
-        <property name="dist.dir" location="${dist.dir}"/>
-
         <fileset dir="."
                  includes="contrib/*/build.xml"
         />



Mime
View raw message