You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by tv...@apache.org on 2009/11/22 16:23:55 UTC

svn commit: r883089 - in /incubator/pivot/site/trunk: ./ etc/ src/

Author: tvolkert
Date: Sun Nov 22 15:23:54 2009
New Revision: 883089

URL: http://svn.apache.org/viewvc?rev=883089&view=rev
Log:
Site updates

Added:
    incubator/pivot/site/trunk/etc/index.xsl
      - copied unchanged from r883080, incubator/pivot/site/trunk/etc/main.xsl
    incubator/pivot/site/trunk/src/about.xml
      - copied unchanged from r883080, incubator/pivot/site/trunk/src/about.template.xml
    incubator/pivot/site/trunk/src/contact.xml
      - copied unchanged from r883080, incubator/pivot/site/trunk/src/contact.template.xml
    incubator/pivot/site/trunk/src/documentation.xml
      - copied unchanged from r883080, incubator/pivot/site/trunk/src/documentation.template.xml
    incubator/pivot/site/trunk/src/download.xml
      - copied unchanged from r883080, incubator/pivot/site/trunk/src/download.template.xml
    incubator/pivot/site/trunk/src/get-involved.xml
      - copied unchanged from r883080, incubator/pivot/site/trunk/src/get-involved.template.xml
    incubator/pivot/site/trunk/src/getting-started.xml
      - copied unchanged from r883080, incubator/pivot/site/trunk/src/getting-started.template.xml
    incubator/pivot/site/trunk/src/index.xml
      - copied unchanged from r883080, incubator/pivot/site/trunk/src/index.main.xml
    incubator/pivot/site/trunk/src/legal.xml
      - copied unchanged from r883080, incubator/pivot/site/trunk/src/legal.template.xml
    incubator/pivot/site/trunk/src/lists.xml
      - copied unchanged from r883080, incubator/pivot/site/trunk/src/lists.template.xml
    incubator/pivot/site/trunk/src/news.html
      - copied unchanged from r883080, incubator/pivot/site/trunk/src/news.template.html
    incubator/pivot/site/trunk/src/svn.xml
      - copied, changed from r883080, incubator/pivot/site/trunk/src/svn.template.xml
    incubator/pivot/site/trunk/src/who-we-are.xml
      - copied unchanged from r883080, incubator/pivot/site/trunk/src/who-we-are.template.xml
Removed:
    incubator/pivot/site/trunk/etc/main.xsl
    incubator/pivot/site/trunk/src/about.template.xml
    incubator/pivot/site/trunk/src/contact.template.xml
    incubator/pivot/site/trunk/src/documentation.template.xml
    incubator/pivot/site/trunk/src/download.template.xml
    incubator/pivot/site/trunk/src/get-involved.template.xml
    incubator/pivot/site/trunk/src/getting-started.template.xml
    incubator/pivot/site/trunk/src/index.main.xml
    incubator/pivot/site/trunk/src/legal.template.xml
    incubator/pivot/site/trunk/src/lists.template.xml
    incubator/pivot/site/trunk/src/news.template.html
    incubator/pivot/site/trunk/src/svn.template.xml
    incubator/pivot/site/trunk/src/who-we-are.template.xml
Modified:
    incubator/pivot/site/trunk/build.xml

Modified: incubator/pivot/site/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/site/trunk/build.xml?rev=883089&r1=883088&r2=883089&view=diff
==============================================================================
--- incubator/pivot/site/trunk/build.xml (original)
+++ incubator/pivot/site/trunk/build.xml Sun Nov 22 15:23:54 2009
@@ -22,31 +22,33 @@
 
     <property file="build.properties"/>
 
-    <!-- Transform macro -->
-    <macrodef name="transform">
-        <attribute name="type"/>
-
-        <sequential>
-            <xslt basedir="src"
-                destdir="${folder.bin}"
-                style="etc/@{type}.xsl"
-                includes="**/*.@{type}.xml">
-                <param name="release" expression="${version}"/>
-                <globmapper from="*.@{type}.xml" to="*.html"/>
-            </xslt>
-        </sequential>
-    </macrodef>
-
     <target name="build" description="Builds the site">
-        <delete dir="${folder.bin}"/>
-
-        <!-- Transform the source pages using XSLT -->
-        <transform type="main"/>
-        <transform type="template"/>
+        <!-- Transform the index page using index.xsl -->
+        <xslt basedir="src"
+            destdir="${folder.bin}"
+            extension=".html"
+            style="etc/index.xsl"
+            includes="index.xml">
+            <param name="release" expression="${version}"/>
+        </xslt>
+
+        <!-- Transform all other pages using template.xsl -->
+        <xslt basedir="src"
+            destdir="${folder.bin}"
+            extension=".html"
+            style="etc/template.xsl"
+            includes="**/*.xml"
+            excludes="index.xml">
+            <param name="release" expression="${version}"/>
+        </xslt>
 
         <!-- Copy static resource files -->
         <copy todir="${folder.bin}">
             <fileset dir="src" excludes="**/*.xml"/>
         </copy>
     </target>
+
+    <target name="clean">
+        <delete dir="${folder.bin}"/>
+    </target>
 </project>

Copied: incubator/pivot/site/trunk/src/svn.xml (from r883080, incubator/pivot/site/trunk/src/svn.template.xml)
URL: http://svn.apache.org/viewvc/incubator/pivot/site/trunk/src/svn.xml?p2=incubator/pivot/site/trunk/src/svn.xml&p1=incubator/pivot/site/trunk/src/svn.template.xml&r1=883080&r2=883089&rev=883089&view=diff
==============================================================================
--- incubator/pivot/site/trunk/src/svn.template.xml (original)
+++ incubator/pivot/site/trunk/src/svn.xml Sun Nov 22 15:23:54 2009
@@ -17,56 +17,66 @@
 -->
 
 <document group="get-involved">
-
-  <properties>
-    <title>Subversion Repository Access</title>
-  </properties>
-
-  <body>
-
-    <section name="Subversion">
-
-      <p>All of the Apache Pivot source code, documentation and this web site are
-      managed under version control using Subversion. This page explains the structure
-      of the Apache Pivot Subversion repository. The page assumes you are familiar
-      with the general
-      <a href="http://www.apache.org/dev/version-control.html#anon-svn">Apache
-      guidance for Subversion</a>.</p>
-
-      <p>All Subversion links in this page use anonymous access.</p>
-
-    </section>
-
-    <section name="Repository Structure">
-
-      <p>The root of the repository is
-      <a href="http://svn.apache.org/repos/asf/incubator/pivot">
-      http://svn.apache.org/repos/asf/incubator/pivot</a>.</p>
-
-      <p>The directories below this level are:</p>
-      <table>
-        <tr>
-          <th>Directory</th>
-          <th>Contents</th>
-        </tr>
-        <tr>
-          <td><a href="http://svn.apache.org/repos/asf/incubator/pivot/site">
-          <code>/site/</code></a></td>
-          <td>The Apache Pivot website</td>
-        </tr>
-        <tr>
-          <td><a href="http://svn.apache.org/repos/asf/incubator/pivot/tags">
-          <code>/tags/</code></a></td>
-          <td>Named snapshots.</td>
-        </tr>
-        <tr>
-          <td><a href="http://svn.apache.org/repos/asf/incubator/pivot/trunk">
-          <code>/trunk/</code></a></td>
-          <td>The primary development branch.</td>
-        </tr>
-      </table>
-
-    </section>
-
-  </body>
+    <properties>
+        <title>Subversion Repository Access</title>
+    </properties>
+    <body>
+        <section name="Subversion">
+            <p>
+                All of the Apache Pivot source code, documentation, and this web site are managed
+                under version control using Subversion. This page explains the structure of the
+                Apache Pivot Subversion repository. The page assumes you are familiar with the
+                general <a href="http://www.apache.org/dev/version-control.html#anon-svn">Apache
+                guidance for Subversion</a>.
+            </p>
+            <p>
+                All Subversion links in this page use anonymous access.
+            </p>
+        </section>
+        <section name="Repository Structure">
+            <p>
+                The root of the repository is <a href="http://svn.apache.org/repos/asf/pivot">
+                http://svn.apache.org/repos/asf/pivot</a>.
+            </p>
+            <p>
+                The directories below this level are:
+            </p>
+            <table>
+                <tr>
+                    <th>Directory</th>
+                    <th>Contents</th>
+                </tr>
+                <tr>
+                    <td><a href="http://svn.apache.org/repos/asf/pivot/trunk">
+                    <tt>/trunk/</tt></a></td>
+                    <td>The primary development branch</td>
+                </tr>
+                <tr>
+                    <td><a href="http://svn.apache.org/repos/asf/pivot/tags">
+                    <tt>/tags/</tt></a></td>
+                    <td>Named snapshots</td>
+                </tr>
+                <tr>
+                    <td><a href="http://svn.apache.org/repos/asf/pivot/site">
+                    <tt>/site/</tt></a></td>
+                    <td>The Apache Pivot website</td>
+                </tr>
+                <tr>
+                    <td><a href="http://svn.apache.org/repos/asf/pivot/dist">
+                    <tt>/dist/</tt></a></td>
+                    <td>Files related to release distribution</td>
+                </tr>
+                <tr>
+                    <td><a href="http://svn.apache.org/repos/asf/pivot/infra">
+                    <tt>/infra/</tt></a></td>
+                    <td>Project infrastructure files, such as shell scripts</td>
+                </tr>
+                <tr>
+                    <td><a href="http://svn.apache.org/repos/asf/pivot/project">
+                    <tt>/project/</tt></a></td>
+                    <td>General project files</td>
+                </tr>
+            </table>
+        </section>
+    </body>
 </document>