incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1056382 - /incubator/lcf/trunk/build.xml
Date Fri, 07 Jan 2011 16:43:39 GMT
Author: kwright
Date: Fri Jan  7 16:43:38 2011
New Revision: 1056382

URL: http://svn.apache.org/viewvc?rev=1056382&view=rev
Log:
Fix for CONNECTORS-140.  Generate both a -bin and a -src distribution.

Modified:
    incubator/lcf/trunk/build.xml

Modified: incubator/lcf/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/build.xml?rev=1056382&r1=1056381&r2=1056382&view=diff
==============================================================================
--- incubator/lcf/trunk/build.xml (original)
+++ incubator/lcf/trunk/build.xml Fri Jan  7 16:43:38 2011
@@ -1532,52 +1532,72 @@
       <property name="release-version" value="0.1-incubating"/>
     </target>
     
-    <target name="create-zip" depends="doc,javadoc,set-version">
-      <zip destfile="apache-manifoldcf-${release-version}.zip" update="false">
+    <target name="create-source-zip" depends="set-version">
+      <zip destfile="apache-manifoldcf-${release-version}-src.zip" update="false">
+        <zipfileset dir="." prefix="apache-manifoldcf-${release-version}">
+          <exclude name="/connectors/*/lib/"/>
+          <exclude name="/framework/lib/"/>
+          <exclude name="**/build/"/>
+          <exclude name="/dist/"/>
+          <exclude name="/connectors/*/dist/"/>
+          <exclude name="/framework/dist/"/>
+          <exclude name="**/test-output/"/>
+          <exclude name="/legacy-*/"/>
+          <exclude name="/apache-manifoldcf-*"/>
+        </zipfileset>
+      </zip>
+    </target>
+    
+    <target name="create-source-tar" depends="set-version">
+      <tar destfile="apache-manifoldcf-${release-version}-src.tar.gz" compression="gzip"
longfile="gnu">
+        <tarfileset dir="." prefix="apache-manifoldcf-${release-version}">
+          <exclude name="/connectors/*/lib/"/>
+          <exclude name="/framework/lib/"/>
+          <exclude name="**/build/"/>
+          <exclude name="/dist/"/>
+          <exclude name="/connectors/*/dist/"/>
+          <exclude name="/framework/dist/"/>
+          <exclude name="**/test-output/"/>
+          <exclude name="/legacy-*/"/>
+          <exclude name="/apache-manifoldcf-*"/>
+        </tarfileset>
+      </tar>
+    </target>
+
+    <target name="create-bin-zip" depends="build,doc,javadoc,set-version">
+      <zip destfile="apache-manifoldcf-${release-version}-bin.zip" update="false">
         <zipfileset dir="." prefix="apache-manifoldcf-${release-version}">
-          <include name="/"/>
           <exclude name="/connectors/*/lib/"/>
           <exclude name="/framework/lib/"/>
           <exclude name="**/build/"/>
-          <exclude name="/dist/example/"/>
-          <exclude name="/dist/processes/"/>
-          <exclude name="/dist/web/"/>
-          <exclude name="/dist/lib/"/>
-          <exclude name="/dist/*-process/"/>
           <exclude name="/connectors/*/dist/"/>
           <exclude name="/framework/dist/"/>
           <exclude name="**/test-output/"/>
           <exclude name="/legacy-*/"/>
           <exclude name="**/*.pdf"/>
-          <exclude name="/apache-manifoldcf-*.zip"/>
-          <exclude name="/apache-manifoldcf-*.tar.gz"/>
+          <exclude name="/apache-manifoldcf-*"/>
         </zipfileset>
       </zip>
     </target>
     
-    <target name="create-tar" depends="doc,javadoc,set-version">
-      <tar destfile="apache-manifoldcf-${release-version}.tar.gz" compression="gzip" longfile="gnu">
+    <target name="create-bin-tar" depends="build,doc,javadoc,set-version">
+      <tar destfile="apache-manifoldcf-${release-version}-bin.tar.gz" compression="gzip"
longfile="gnu">
         <tarfileset dir="." prefix="apache-manifoldcf-${release-version}">
           <exclude name="/connectors/*/lib/"/>
           <exclude name="/framework/lib/"/>
           <exclude name="**/build/"/>
-          <exclude name="/dist/example/"/>
-          <exclude name="/dist/processes/"/>
-          <exclude name="/dist/web/"/>
-          <exclude name="/dist/lib/"/>
-          <exclude name="/dist/*-process/"/>
           <exclude name="/connectors/*/dist/"/>
           <exclude name="/framework/dist/"/>
           <exclude name="**/test-output/"/>
           <exclude name="/legacy-*/"/>
           <exclude name="**/*.pdf"/>
-          <exclude name="/apache-manifoldcf-*.zip"/>
-          <exclude name="/apache-manifoldcf-*.tar.gz"/>
+          <exclude name="/apache-manifoldcf-*"/>
         </tarfileset>
       </tar>
     </target>
 
-    <target name="image" depends="create-zip,create-tar"/>
+    <target name="image" depends="create-source-zip,create-source-tar,create-bin-zip,create-bin-tar"/>
+    
     <target name="test" depends="run-tests-framework,run-tests-open-connectors,run-tests-lgpl-connectors,run-tests-proprietary-connectors,end-to-end-tests"/>
 
     <target name="all" depends="build,javadoc,doc,image,test"/>



Mime
View raw message