incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1212623 - in /incubator/lcf/integration/solr-4.x/trunk: ./ build.xml
Date Fri, 09 Dec 2011 20:56:02 GMT
Author: kwright
Date: Fri Dec  9 20:56:01 2011
New Revision: 1212623

URL: http://svn.apache.org/viewvc?rev=1212623&view=rev
Log:
Add binary deliverable

Modified:
    incubator/lcf/integration/solr-4.x/trunk/   (props changed)
    incubator/lcf/integration/solr-4.x/trunk/build.xml

Propchange: incubator/lcf/integration/solr-4.x/trunk/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Fri Dec  9 20:56:01 2011
@@ -1,5 +1,4 @@
 build
 dist
 solr
-apache-manifoldcf-solr-4.x-plugin-0.1-incubating-src.zip
-apache-manifoldcf-solr-4.x-plugin-0.1-incubating-src.tar.gz
+apache-manifoldcf-solr-4.x-plugin-*

Modified: incubator/lcf/integration/solr-4.x/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/integration/solr-4.x/trunk/build.xml?rev=1212623&r1=1212622&r2=1212623&view=diff
==============================================================================
--- incubator/lcf/integration/solr-4.x/trunk/build.xml (original)
+++ incubator/lcf/integration/solr-4.x/trunk/build.xml Fri Dec  9 20:56:01 2011
@@ -86,7 +86,29 @@
       </tar>
   </target>
 
-  <target name="image" depends="create-source-zip,create-source-tar"/>
+  <target name="create-bin-zip" depends="build,set-version">
+      <zip destfile="apache-manifoldcf-solr-4.x-plugin-${release-version}-bin.zip" update="false">
+        <zipfileset dir="." prefix="apache-manifoldcf-solr-4.x-plugin-${release-version}">
+          <exclude name="/solr/"/>
+          <exclude name="/mcf/"/>
+          <exclude name="apache-manifoldcf-solr-4.x-plugin-*"/>
+          <exclude name="build.xml"/>
+        </zipfileset>
+      </zip>
+    </target>
+    
+  <target name="create-bin-tar" depends="build,set-version">
+      <tar destfile="apache-manifoldcf-solr-4.x-plugin-${release-version}-bin.tar.gz"
compression="gzip" longfile="gnu">
+        <tarfileset dir="." prefix="apache-manifoldcf-solr-4.x-plugin-${release-version}">
+          <exclude name="/solr/"/>
+          <exclude name="/mcf/"/>
+          <exclude name="apache-manifoldcf-solr-4.x-plugin-*"/>
+          <exclude name="build.xml"/>
+        </tarfileset>
+      </tar>
+  </target>
+
+  <target name="image" depends="create-source-zip,create-source-tar,create-bin-zip,create-bin-tar"/>
 
   <target name="help">
     <echo level="info">
@@ -98,7 +120,7 @@ Useful targets are:
 clean   - Clean the build area
 build   - Build jar under the 'dist' directory
 test    - Run the tests
-image - Package the sources
+image - Package the sources and binaries
 
 Prerequisites: This build requires Subversion (svn) to be
 installed, and svn internet access to the Apache repository.



Mime
View raw message