You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by je...@apache.org on 2005/08/24 10:01:24 UTC

svn commit: r239561 - in /xmlgraphics/site: ./ README.txt publish.xml src/documentation/content/xdocs/index.xml src/documentation/content/xdocs/mail.xml src/documentation/content/xdocs/site.xml

Author: jeremias
Date: Wed Aug 24 01:01:16 2005
New Revision: 239561

URL: http://svn.apache.org/viewcvs?rev=239561&view=rev
Log:
Site updated a little.
Deployment now through ForrestBot as described in README.txt.

Added:
    xmlgraphics/site/README.txt   (with props)
    xmlgraphics/site/publish.xml   (with props)
Modified:
    xmlgraphics/site/   (props changed)
    xmlgraphics/site/src/documentation/content/xdocs/index.xml
    xmlgraphics/site/src/documentation/content/xdocs/mail.xml
    xmlgraphics/site/src/documentation/content/xdocs/site.xml

Propchange: xmlgraphics/site/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Aug 24 01:01:16 2005
@@ -0,0 +1 @@
+build

Added: xmlgraphics/site/README.txt
URL: http://svn.apache.org/viewcvs/xmlgraphics/site/README.txt?rev=239561&view=auto
==============================================================================
--- xmlgraphics/site/README.txt (added)
+++ xmlgraphics/site/README.txt Wed Aug 24 01:01:16 2005
@@ -0,0 +1,19 @@
+How to manage the XML Graphics website
+=========================================
+
+
+* Make sure you have Apache Forrest 0.7 installed.
+   * FORREST_HOME must be set
+   * PATH should have an entry to Forrest's bin directory so you can easily run Forrest.
+
+* When you've made changes and are happy with the results you can use ForrestBot locally.
+  ForrestBot comes with Apache Forrest. ForrestBot will do a clean build of the site and
+  deploy it to cvs.apache.org through SCP. Simply run:
+  
+  ant -f publish.xml
+  
+  (Make sure you've set up deploy.settings as described in publish.xml. It's a good idea
+  to look into this file.)
+
+* When the site is uploaded you need to wait a few hours until the website is rsync'ed to
+  the real web server.
\ No newline at end of file

Propchange: xmlgraphics/site/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: xmlgraphics/site/publish.xml
URL: http://svn.apache.org/viewcvs/xmlgraphics/site/publish.xml?rev=239561&view=auto
==============================================================================
--- xmlgraphics/site/publish.xml (added)
+++ xmlgraphics/site/publish.xml Wed Aug 24 01:01:16 2005
@@ -0,0 +1,74 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2005 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+This is the publishing file for ForrestBot.
+
+Running "ant -f publish.xml" will build the XML Graphics site and deploy it using SCP on xmlgraphics.apache.org.
+
+$Id$
+-->
+<project name="forrest-docs" default="main">
+
+  <property name="build.work-dir" location="./build/forrest/work"/>
+  <property name="build.log-dir" location="./build/forrest/log"/>
+
+  <property name="getsrc.local.root-dir" location="."/>
+  <!--property name="getsrc.svn.url" value="http://svn.apache.org/repos/asf/xmlgraphics/site"/-->
+  <target name="getsrc" depends="getsrc.clean-workdir, getsrc.local"/>
+  
+  <!-- create this secret file to be an ant project (not stored in CVS or SVN)
+    that sets deploy.scp.user and deploy.scp.keyfile properties.
+    See forrest/etc/publishing_our_site.txt
+
+    Here's an example of such a file (place it one directory above the checkout directory):
+    <project>
+      <property name="deploy.scp.user" value="johndoe"/>
+      <property name="deploy.scp.keyfile" value="/path/to/my/private/key"/>
+    </project>
+   -->
+  <import file="../deploy.settings" optional="true"/>
+
+  <property name="deploy.scp.host" value="cvs.apache.org"/>
+  <property name="deploy.scp.dest" value="${deploy.scp.user}@cvs.apache.org:/www/xmlgraphics.apache.org"/>
+  <target name="deploy.scp-alt" unless="build.failed" description="FB: Deploy to a remote location via scp">
+    <if>
+      <not><isset property="deploy.scp.passphrase"/></not>
+      <then>
+        <input addproperty="deploy.scp.passphrase" message="Enter passphrase for your private key for scp to ${deploy.scp.dest}:"/>
+      </then>
+    </if>
+    <scp todir="${deploy.scp.dest}" keyfile="${deploy.scp.keyfile}" passphrase="${deploy.scp.passphrase}">
+     <fileset dir="${build.site-dir}"/>
+    </scp>
+  </target>
+  <target name="deploy.remote.fix.perms" depends="deploy.scp-alt" unless="build.failed" description="Fixes group permissions on newly uploaded files">
+    <if>
+      <not><isset property="deploy.scp.passphrase"/></not>
+      <then>
+        <input addproperty="deploy.scp.passphrase" message="Enter passphrase for your private key for scp to ${deploy.scp.dest}:"/>
+      </then>
+    </if>
+    <!-- this is necessary because new files are not group writable -->
+    <sshexec host="${deploy.scp.host}" username="${deploy.scp.user}" 
+        keyfile="${deploy.scp.keyfile}" passphrase="${deploy.scp.passphrase}"
+        command="cd /www/xmlgraphics.apache.org;chgrp -R xmlgraphics *;chmod -R g+rw *"/>
+  </target>
+  <target name="deploy" depends="deploy.scp-alt, deploy.remote.fix.perms"/>
+
+  <property environment="env"/>
+  <import file="${env.FORREST_HOME}/tools/forrestbot/core/forrestbot.xml"/>
+</project>
\ No newline at end of file

Propchange: xmlgraphics/site/publish.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: xmlgraphics/site/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewcvs/xmlgraphics/site/src/documentation/content/xdocs/index.xml?rev=239561&r1=239560&r2=239561&view=diff
==============================================================================
--- xmlgraphics/site/src/documentation/content/xdocs/index.xml (original)
+++ xmlgraphics/site/src/documentation/content/xdocs/index.xml Wed Aug 24 01:01:16 2005
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-  Copyright 2002-2004 The Apache Software Foundation
+  Copyright 2002-2005 The Apache Software Foundation
 
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
@@ -34,8 +34,8 @@
       <title>Apache XML Graphics Project - Current Projects</title>
       <p>The <em>Apache XML Graphics Project</em> currently consists of the following sub-projects, each focused on a different aspect of XML Graphics:</p>
       <ul>
-        <li><em><a href="http://xml.apache.org/batik/">Apache Batik</a></em> - A toolkit for Scalable Vector Graphics (SVG), based in Java</li>
-        <li><em><a href="http://xml.apache.org/fop/">Apache FOP</a></em> - A print formatter &amp; renderer for XSL-FO (FO=formatting objects), based in Java</li>
+        <li><em><a href="ext:batik">Apache Batik</a></em> - A toolkit for Scalable Vector Graphics (SVG), based in Java</li>
+        <li><em><a href="ext:fop">Apache FOP</a></em> - A print formatter &amp; renderer for XSL-FO (FO=formatting objects), based in Java</li>
       </ul>
       <section>
         <title>Apache Batik: a Java-based SVG toolkit </title>
@@ -49,12 +49,12 @@
           <li>the <a href="http://xml.apache.org/batik/domapi.html">SVG DOM</a></li>
         </ul>
         <p>Another ambition for the Batik project is to make it highly <a href="http://xml.apache.org/batik/extendingBatik.html">extensible</a> (for example, Batik allows the developer to handle custom SVG tags). Even though the goal of the project is to provide a set of core modules, one of the deliverables is a full fledged <a href="http://xml.apache.org/batik/svgviewer.html">SVG Browser</a> implementation, which validates the various modules and their inter-operability.</p>
-        <p>Find out more about <a href="http://xml.apache.org/batik/">Apache Batik</a>.</p>
+        <p>Find out more about <a href="ext:batik">Apache Batik</a>.</p>
       </section>
       <section>
         <title>Apache FOP: a Java-based XSL-FO (Formatting Objects) processor</title>
         <p>FOP is the world's first print formatter driven by XSL-FO (XSL Formatting  Objects). It is a Java-based application that reads a formatting object tree and then turns it into a PDF document or outputs directly to the printer.</p>
-        <p>FOP (Formatting Objects Processor) is the world's first print formatter driven by XSL formatting objects (XSL-FO) and the world's first output independent formatter. It is a  Java application that reads a formatting object (FO) tree and  renders the resulting pages to a specified output. The primary output target is PDF but other <a href="http://xml.apache.org/fop/output.html">output formats</a> currently supported include:</p>
+        <p>FOP (Formatting Objects Processor) is the world's first print formatter driven by XSL formatting objects (XSL-FO) and the world's first output independent formatter. It is a  Java application that reads a formatting object (FO) tree and  renders the resulting pages to a specified output. The primary output target is PDF but other <a href="http://xmlgraphics.apache.org/fop/output.html">output formats</a> currently supported include:</p>
         <ul>
           <li>PDF (Portable Document Format)</li>
           <li>PCL (Printer Control Language)</li>
@@ -66,7 +66,7 @@
           <li>MIF</li>
           <li>TXT (text)</li>
         </ul>
-        <p>Find out more about <a href="http://xml.apache.org/fop/">Apache FOP</a>.</p>
+        <p>Find out more about <a href="ext:fop">Apache FOP</a>.</p>
         <note>The latest version of FOP (0.20.5) is a partial implementation of the <a href="http://www.w3.org/TR/2001/REC-xsl-20011015/">XSL-FO Version 1.0 W3C Recommendation</a>.</note>
       </section>
     </section>

Modified: xmlgraphics/site/src/documentation/content/xdocs/mail.xml
URL: http://svn.apache.org/viewcvs/xmlgraphics/site/src/documentation/content/xdocs/mail.xml?rev=239561&r1=239560&r2=239561&view=diff
==============================================================================
--- xmlgraphics/site/src/documentation/content/xdocs/mail.xml (original)
+++ xmlgraphics/site/src/documentation/content/xdocs/mail.xml Wed Aug 24 01:01:16 2005
@@ -79,10 +79,14 @@
         Archives of all public mailing lists can be found here:
       </p>
       <ul>
-        <li><a class="fork" href="http://mail-archives.eu.apache.org/mod_mbox/">http://mail-archives.eu.apache.org/mod_mbox/</a> (mod_mbox archives)</li>
+        <li><a class="fork" href="http://mail-archives.apache.org/mod_mbox/">http://mail-archives.apache.org/mod_mbox/</a> (mod_mbox archives)</li>
         <li><a class="fork" href="http://xmlgraphics.apache.org/mail/">http://xmlgraphics.apache.org/mail/</a> (gzipped mbox files)</li>
-        <li><a class="fork" href="http://mail-archives.apache.org/eyebrowse/">Eyebrowse</a> <strong>(currently broken)</strong></li>
-        <li>Some lists are also available from <a class="fork" href="http://marc.theaimsgroup.com/">http://marc.theaimsgroup.com/</a> <strong>(currently broken)</strong></li>
+        <li>
+          Some lists are also available from 
+          <a class="fork" href="http://marc.theaimsgroup.com/">http://marc.theaimsgroup.com/</a>,
+          <a class="fork" href="http://www.mail-archive.com/">The Mail Archive</a> and
+          <a class="fork" href="http://www.gmane.com/">GMANE</a>.
+        </li>
       </ul>
     </section>
     <section id="xmlgraphics-general">
@@ -100,7 +104,7 @@
       </p>
       <p><strong>Archives:</strong></p>
       <ul>
-        <li><a class="fork" href="http://mail-archives.eu.apache.org/mod_mbox/xmlgraphics-general/">http://mail-archives.eu.apache.org/mod_mbox/xmlgraphics-general/</a> (mod_mbox archives)</li>
+        <li><a class="fork" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-general/">http://mail-archives.apache.org/mod_mbox/xmlgraphics-general/</a> (mod_mbox archives)</li>
         <li><a class="fork" href="http://xmlgraphics.apache.org/mail/general/">http://xmlgraphics.apache.org/mail/general/</a> (gzipped mbox files)</li>
       </ul>
     </section>
@@ -117,7 +121,7 @@
       </p>
       <p><strong>Archives:</strong></p>
       <ul>
-        <li><a class="fork" href="http://mail-archives.eu.apache.org/mod_mbox/xmlgraphics-commits/">http://mail-archives.eu.apache.org/mod_mbox/xmlgraphics-commits/</a> (mod_mbox archives)</li>
+        <li><a class="fork" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-commits/">http://mail-archives.apache.org/mod_mbox/xmlgraphics-commits/</a> (mod_mbox archives)</li>
         <li><a class="fork" href="http://xmlgraphics.apache.org/mail/commits/">http://xmlgraphics.apache.org/mail/commits/</a> (gzipped mbox files)</li>
       </ul>
     </section>
@@ -135,7 +139,7 @@
       </p>
       <p><strong>Archives:</strong></p>
       <ul>
-        <li><a class="fork" href="http://mail-archives.eu.apache.org/mod_mbox/xmlgraphics-batik-users/">http://mail-archives.eu.apache.org/mod_mbox/xmlgraphics-batik-users/</a> (mod_mbox archives)</li>
+        <li><a class="fork" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/">http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/</a> (mod_mbox archives)</li>
         <li><a class="fork" href="http://xmlgraphics.apache.org/mail/batik-users/">http://xmlgraphics.apache.org/mail/batik-users/</a> (gzipped mbox files)</li>
       </ul>
     </section>
@@ -151,7 +155,7 @@
       </p>
       <p><strong>Archives:</strong></p>
       <ul>
-        <li><a class="fork" href="http://mail-archives.eu.apache.org/mod_mbox/xmlgraphics-batik-dev/">http://mail-archives.eu.apache.org/mod_mbox/xmlgraphics-batik-dev/</a> (mod_mbox archives)</li>
+        <li><a class="fork" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/">http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/</a> (mod_mbox archives)</li>
         <li><a class="fork" href="http://xmlgraphics.apache.org/mail/batik-dev/">http://xmlgraphics.apache.org/mail/batik-dev/</a> (gzipped mbox files)</li>
       </ul>
     </section>
@@ -168,7 +172,7 @@
       </p>
       <p><strong>Archives:</strong></p>
       <ul>
-        <li><a class="fork" href="http://mail-archives.eu.apache.org/mod_mbox/xmlgraphics-batik-commits/">http://mail-archives.eu.apache.org/mod_mbox/xmlgraphics-batik-commits/</a> (mod_mbox archives)</li>
+        <li><a class="fork" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-commits/">http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-commits/</a> (mod_mbox archives)</li>
         <li><a class="fork" href="http://xmlgraphics.apache.org/mail/batik-commits/">http://xmlgraphics.apache.org/mail/batik-commits/</a> (gzipped mbox files)</li>
       </ul>
     </section>
@@ -186,7 +190,7 @@
       </p>
       <p><strong>Archives:</strong></p>
       <ul>
-        <li><a class="fork" href="http://mail-archives.eu.apache.org/mod_mbox/xmlgraphics-fop-users/">http://mail-archives.eu.apache.org/mod_mbox/xmlgraphics-fop-users/</a> (mod_mbox archives)</li>
+        <li><a class="fork" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/">http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/</a> (mod_mbox archives)</li>
         <li><a class="fork" href="http://xmlgraphics.apache.org/mail/fop-users/">http://xmlgraphics.apache.org/mail/fop-users/</a> (gzipped mbox files)</li>
       </ul>
     </section>
@@ -202,7 +206,7 @@
       </p>
       <p><strong>Archives:</strong></p>
       <ul>
-        <li><a class="fork" href="http://mail-archives.eu.apache.org/mod_mbox/xmlgraphics-fop-dev/">http://mail-archives.eu.apache.org/mod_mbox/xmlgraphics-fop-dev/</a> (mod_mbox archives)</li>
+        <li><a class="fork" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-dev/">http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-dev/</a> (mod_mbox archives)</li>
         <li><a class="fork" href="http://xmlgraphics.apache.org/mail/fop-dev/">http://xmlgraphics.apache.org/mail/fop-dev/</a> (gzipped mbox files)</li>
       </ul>
     </section>
@@ -219,7 +223,7 @@
       </p>
       <p><strong>Archives:</strong></p>
       <ul>
-        <li><a class="fork" href="http://mail-archives.eu.apache.org/mod_mbox/xmlgraphics-fop-commits/">http://mail-archives.eu.apache.org/mod_mbox/xmlgraphics-fop-commits/</a> (mod_mbox archives)</li>
+        <li><a class="fork" href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-commits/">http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-commits/</a> (mod_mbox archives)</li>
         <li><a class="fork" href="http://xmlgraphics.apache.org/mail/fop-commits/">http://xmlgraphics.apache.org/mail/fop-commits/</a> (gzipped mbox files)</li>
       </ul>
     </section>

Modified: xmlgraphics/site/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewcvs/xmlgraphics/site/src/documentation/content/xdocs/site.xml?rev=239561&r1=239560&r2=239561&view=diff
==============================================================================
--- xmlgraphics/site/src/documentation/content/xdocs/site.xml (original)
+++ xmlgraphics/site/src/documentation/content/xdocs/site.xml Wed Aug 24 01:01:16 2005
@@ -47,9 +47,11 @@
   </about>
 
   <external-refs>
+    <xmlgraphics.apache.org href="http://xmlgraphics.apache.org/">
+      <fop href="fop/"/>
+    </xmlgraphics.apache.org>
     <xml.apache.org href="http://xml.apache.org/">
       <batik href="batik/"/>
-      <fop href="fop/"/>
     </xml.apache.org>
     <www.apache.org href="http://www.apache.org/"/>
   </external-refs>



---------------------------------------------------------------------
Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org