You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2011/12/09 21:34:08 UTC

svn commit: r1212613 - in /incubator/lcf/integration/solr-3.x/trunk: ./ build.xml

Author: kwright
Date: Fri Dec  9 20:34:08 2011
New Revision: 1212613

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

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

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

Modified: incubator/lcf/integration/solr-3.x/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/integration/solr-3.x/trunk/build.xml?rev=1212613&r1=1212612&r2=1212613&view=diff
==============================================================================
--- incubator/lcf/integration/solr-3.x/trunk/build.xml (original)
+++ incubator/lcf/integration/solr-3.x/trunk/build.xml Fri Dec  9 20:34:08 2011
@@ -87,7 +87,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-3.x-plugin-${release-version}-bin.zip" update="false">
+        <zipfileset dir="." prefix="apache-manifoldcf-solr-3.x-plugin-${release-version}">
+          <exclude name="/solr/"/>
+          <exclude name="/mcf/"/>
+          <exclude name="/apache-manifoldcf-solr-3.x-plugin-*"/>
+          <exclude name="/build.xml"/>
+        </zipfileset>
+      </zip>
+    </target>
+    
+  <target name="create-bin-tar" depends="build,set-version">
+      <tar destfile="apache-manifoldcf-solr-3.x-plugin-${release-version}-bin.tar.gz" compression="gzip" longfile="gnu">
+        <tarfileset dir="." prefix="apache-manifoldcf-solr-3.x-plugin-${release-version}">
+          <exclude name="/solr/"/>
+          <exclude name="/mcf/"/>
+          <exclude name="/apache-manifoldcf-solr-3.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">
@@ -99,7 +121,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.