manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1648263 - /manifoldcf/site/trunk/build.xml
Date Sun, 28 Dec 2014 22:22:08 GMT
Author: kwright
Date: Sun Dec 28 22:22:07 2014
New Revision: 1648263

URL: http://svn.apache.org/r1648263
Log:
Download has changed

Modified:
    manifoldcf/site/trunk/build.xml

Modified: manifoldcf/site/trunk/build.xml
URL: http://svn.apache.org/viewvc/manifoldcf/site/trunk/build.xml?rev=1648263&r1=1648262&r2=1648263&view=diff
==============================================================================
--- manifoldcf/site/trunk/build.xml (original)
+++ manifoldcf/site/trunk/build.xml Sun Dec 28 22:22:07 2014
@@ -79,11 +79,16 @@
     
     <target name="download-release" depends="setup-release-base-url">
         <mkdir dir="build/releases"/>
-        <get src="${release-base-url}/apache-manifoldcf-${release-version}-bin.zip" dest="build/releases/apache-manifoldcf-${release-version}-bin.zip"/>
+        <get src="${release-base-url}/apache-manifoldcf-${release-version}/apache-manifoldcf-${release-version}-bin.zip"
dest="build/releases/apache-manifoldcf-${release-version}-bin.zip"/>
     </target>
 
     <target name="download-archive" depends="setup-archive-base-url">
         <mkdir dir="build/releases"/>
+        <get src="${archive-base-url}/apache-manifoldcf-${release-version}/apache-manifoldcf-${release-version}-bin.zip"
dest="build/releases/apache-manifoldcf-${release-version}-bin.zip"/>
+    </target>
+
+    <target name="download-legacy-archive" depends="setup-archive-base-url">
+        <mkdir dir="build/releases"/>
         <get src="${archive-base-url}/apache-manifoldcf-${release-version}-bin.zip" dest="build/releases/apache-manifoldcf-${release-version}-bin.zip"/>
     </target>
 
@@ -98,6 +103,17 @@
         </copy>
     </target>
 
+    <target name="install-legacy-archive" depends="download-legacy-archive">
+        <mkdir dir="build/publish/release"/>
+        <!-- unpack -->
+        <unzip src="build/releases/apache-manifoldcf-${release-version}-bin.zip" dest="build/releases/apache-manifoldcf-${release-version}-bin"/>
+        <!-- copy -->
+        <mkdir dir="build/site/release"/>
+        <copy todir="build/site/release/release-${release-version}">
+            <fileset dir="build/releases/apache-manifoldcf-${release-version}-bin/apache-manifoldcf-${release-version}/doc"/>
+        </copy>
+    </target>
+
     <target name="install-archive" depends="download-archive">
         <mkdir dir="build/publish/release"/>
         <!-- unpack -->
@@ -150,10 +166,10 @@
         <antcall target="install-release">
             <param name="release-version" value="1.8"/>
         </antcall>
-        <antcall target="install-archive">
+        <antcall target="install-legacy-archive">
             <param name="release-version" value="1.7.2"/>
         </antcall>
-        <antcall target="install-archive">
+        <antcall target="install-legacy-archive">
             <param name="release-version" value="1.6.1"/>
         </antcall>
     </target>



Mime
View raw message