Author: kwright
Date: Wed May 30 21:16:53 2012
New Revision: 1344465

URL: http://svn.apache.org/viewvc?rev=1344465&view=rev
Log:
Add released site logic

Modified:
    incubator/lcf/site/trunk/build.xml
    
incubator/lcf/site/trunk/src/documentation/content/xdocs/en_US/release-documentation.xml
    
incubator/lcf/site/trunk/src/documentation/content/xdocs/ja_JP/release-documentation.xml

Modified: incubator/lcf/site/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/incubator/lcf/site/trunk/build.xml?rev=1344465&r1=1344464&r2=1344465&view=diff
==============================================================================
--- incubator/lcf/site/trunk/build.xml (original)
+++ incubator/lcf/site/trunk/build.xml Wed May 30 21:16:53 2012
@@ -22,6 +22,33 @@
         <delete dir="tmp"/>
     </target>
 
+    <target name="setup-release-base-url">
+        <property name="release-base-url" 
value="http://archive.apache.org/dist/incubator/manifoldcf"/>
+    </target>
+    
+    <target name="download-release" depends="setup-release-base-url">
+        <get 
src="${release-base-url}/apache-manifoldcf-${release-version}-bin.zip" 
dest="${target}/apache-manifoldcf-${release-version}-bin.zip"/>
+    </target>
+    
+    <target name="install-release" depends="download-release">
+    </target>
+    
+    <target name="get-old-releases-doc">
+        <mkdir dir="build/publish/release/"/>
+        <antcall target="install-release">
+            <param name="target" value="build/releases"/>
+            <param name="release-version" value="0.5.1"/>
+        </antcall>
+        <!-- unpack -->
+        <unzip src="build/releases/apache-manifoldcf-0.5.1-bin.zip" 
dest="build/releases/apache-manifoldcf-0.5.1-bin"/>
+        <!-- copy -->
+        <mkdir dir="build/publish/release"/>
+        <copy todir="build/publish/release/release-0.5.1">
+            <fileset src="build/releases/apache-manifoldcf-0.5.1-bin/doc"/>
+        </copy>
+        
+    </target>
+    
     <target name="setup-maven-url">
         <property name="maven-base-url" value="http://repo1.maven.org/maven2"/>
     </target>

Modified: 
incubator/lcf/site/trunk/src/documentation/content/xdocs/en_US/release-documentation.xml
URL: 
http://svn.apache.org/viewvc/incubator/lcf/site/trunk/src/documentation/content/xdocs/en_US/release-documentation.xml?rev=1344465&r1=1344464&r2=1344465&view=diff
==============================================================================
--- 
incubator/lcf/site/trunk/src/documentation/content/xdocs/en_US/release-documentation.xml
 (original)
+++ 
incubator/lcf/site/trunk/src/documentation/content/xdocs/en_US/release-documentation.xml
 Wed May 30 21:16:53 2012
@@ -31,8 +31,8 @@
       <title>ManifoldCF Release Documentation</title>
       <p></p>
       <p>The release documentation for the following ManifoldCF versions is 
available for your review:</p>
-      <p><a href="../release/trunk/dist/doc/en_US/index.html">Trunk (currently 
under development)</a></p>
-      <p><a 
href="../release/tags/release-0.5.1/dist/doc/en_US/index.html">Release 
0.5.1</a></p>
+      <p><a href="../release/trunk/en_US/index.html">Trunk (currently under 
development)</a></p>
+      <p><a href="../release/release-0.5.1/en_US/index.html">Release 
0.5.1</a></p>
     </section>
   </body>
 </document>

Modified: 
incubator/lcf/site/trunk/src/documentation/content/xdocs/ja_JP/release-documentation.xml
URL: 
http://svn.apache.org/viewvc/incubator/lcf/site/trunk/src/documentation/content/xdocs/ja_JP/release-documentation.xml?rev=1344465&r1=1344464&r2=1344465&view=diff
==============================================================================
--- 
incubator/lcf/site/trunk/src/documentation/content/xdocs/ja_JP/release-documentation.xml
 (original)
+++ 
incubator/lcf/site/trunk/src/documentation/content/xdocs/ja_JP/release-documentation.xml
 Wed May 30 21:16:53 2012
@@ -1,4 +1,4 @@
-<?xml version="1.0"?>
+?xml version="1.0"?>
 
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" 
           "http://forrest.apache.org/dtd/document-v20.dtd";>
@@ -31,8 +31,8 @@
       <title>ManifoldCF Release Documentation</title>
       <p></p>
       <p>The release documentation for the following ManifoldCF versions is 
available for your review:</p>
-      <p><a href="../release/trunk/dist/doc/ja_JP/index.html">Trunk (currently 
under development)</a></p>
-      <p><a 
href="../release/tags/release-0.5.1/dist/doc/ja_JP/index.html">Release 
0.5.1</a></p>
+      <p><a href="../release/trunk/ja_JP/index.html">Trunk (currently under 
development)</a></p>
+      <p><a href="../release/release-0.5.1/ja_JP/index.html">Release 
0.5.1</a></p>
     </section>
   </body>
 </document>


Reply via email to