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 2006/04/12 16:42:08 UTC
svn commit: r393472 - in /xmlgraphics/commons/trunk: ./ publish.xml
src/documentation/content/xdocs/download.xml
src/documentation/content/xdocs/index.xml
Author: jeremias
Date: Wed Apr 12 07:42:06 2006
New Revision: 393472
URL: http://svn.apache.org/viewcvs?rev=393472&view=rev
Log:
Site deployment using SCP.
Fixed validation errors.
Added:
xmlgraphics/commons/trunk/publish.xml (with props)
Modified:
xmlgraphics/commons/trunk/ (props changed)
xmlgraphics/commons/trunk/src/documentation/content/xdocs/download.xml
xmlgraphics/commons/trunk/src/documentation/content/xdocs/index.xml
Propchange: xmlgraphics/commons/trunk/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Wed Apr 12 07:42:06 2006
@@ -2,3 +2,4 @@
.classpath
.project
build-local.properties
+work
Added: xmlgraphics/commons/trunk/publish.xml
URL: http://svn.apache.org/viewcvs/xmlgraphics/commons/trunk/publish.xml?rev=393472&view=auto
==============================================================================
--- xmlgraphics/commons/trunk/publish.xml (added)
+++ xmlgraphics/commons/trunk/publish.xml Wed Apr 12 07:42:06 2006
@@ -0,0 +1,73 @@
+<?xml version="1.0"?>
+<!--
+ Copyright 2006 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 Commons 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="."/>
+ <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="people.apache.org"/>
+ <property name="deploy.scp.dest" value="${deploy.scp.user}@${deploy.scp.host}:/www/xmlgraphics.apache.org/commons"/>
+ <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/commons;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/commons/trunk/publish.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xmlgraphics/commons/trunk/publish.xml
------------------------------------------------------------------------------
svn:keywords = Id
Modified: xmlgraphics/commons/trunk/src/documentation/content/xdocs/download.xml
URL: http://svn.apache.org/viewcvs/xmlgraphics/commons/trunk/src/documentation/content/xdocs/download.xml?rev=393472&r1=393471&r2=393472&view=diff
==============================================================================
--- xmlgraphics/commons/trunk/src/documentation/content/xdocs/download.xml (original)
+++ xmlgraphics/commons/trunk/src/documentation/content/xdocs/download.xml Wed Apr 12 07:42:06 2006
@@ -14,49 +14,49 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "document-v20.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
<document>
<header>
<title>Download Apache XML Graphics Commons</title>
</header>
<body>
- <section id="release">
- <title>Download a Release</title>
- <p>
- The first release of Apache XML Graphics Commons will soon be made available. Until then,
- please get the source code from Subversion.
- </p>
- </section>
- <section id="svn">
- <title>Download from Subversion</title>
- <p>
- The latest source code is available directly from the Subversion repository:
- </p>
- <table>
- <tr>
- <th colspan="2">Trunk</th>
- </tr>
- <tr>
- <td>Repository URL</td>
- <td>
- <link href="http://svn.apache.org/repos/asf/xmlgraphics/commons/trunk/">
- <code>http://svn.apache.org/repos/asf/xmlgraphics/commons/trunk/</code>
- </link>
- </td>
- </tr>
- <tr>
- <td>Web view</td>
- <td>
- <link href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/commons/trunk/">
- <code>http://svn.apache.org/viewcvs.cgi/xmlgraphics/commons/trunk/</code>
- </link>
- </td>
- </tr>
- </table>
- <note>
- Committers need to replace "<code>http</code>" with "<code>https</code>"
- and then log in so they can gain write access!
- </note>
+ <section id="release">
+ <title>Download a Release</title>
+ <p>
+ The first release of Apache XML Graphics Commons will soon be made available. Until then,
+ please get the source code from Subversion.
+ </p>
+ </section>
+ <section id="svn">
+ <title>Download from Subversion</title>
+ <p>
+ The latest source code is available directly from the Subversion repository:
+ </p>
+ <table>
+ <tr>
+ <th colspan="2">Trunk</th>
+ </tr>
+ <tr>
+ <td>Repository URL</td>
+ <td>
+ <a href="http://svn.apache.org/repos/asf/xmlgraphics/commons/trunk/">
+ <code>http://svn.apache.org/repos/asf/xmlgraphics/commons/trunk/</code>
+ </a>
+ </td>
+ </tr>
+ <tr>
+ <td>Web view</td>
+ <td>
+ <a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/commons/trunk/">
+ <code>http://svn.apache.org/viewcvs.cgi/xmlgraphics/commons/trunk/</code>
+ </a>
+ </td>
+ </tr>
+ </table>
+ <note>
+ Committers need to replace "<code>http</code>" with "<code>https</code>"
+ and then log in so they can gain write access!
+ </note>
</section>
</body>
</document>
Modified: xmlgraphics/commons/trunk/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewcvs/xmlgraphics/commons/trunk/src/documentation/content/xdocs/index.xml?rev=393472&r1=393471&r2=393472&view=diff
==============================================================================
--- xmlgraphics/commons/trunk/src/documentation/content/xdocs/index.xml (original)
+++ xmlgraphics/commons/trunk/src/documentation/content/xdocs/index.xml Wed Apr 12 07:42:06 2006
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "document-v20.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
<document>
<header>
<title>Apache XML Graphics Commons</title>
@@ -22,67 +22,67 @@
<body>
<section>
<title>Overview</title>
- <p>
- Apache XML Graphics Commons is a library that consists of several reusable components
- used by <a href="ext:batik">Apache Batik</a> and <a href="ext:fop">Apache FOP</a>.
- Many of these components can easily be used separately outside the domains of SVG
- and XSL-FO. You will find components such as a PDF library, an RTF library, Graphics2D
- implementations that let you generate PDF and PostScript files and much more.
- </p>
- <p>
- Apache XML Graphics Commons has only just started. It's in the process of being
- populated with components coming from Apache Batik and Apache FOP. Stay tuned for
- exciting treasures made available.
- </p>
- <p>
- In the Wiki, we have a
- <a href="http://wiki.apache.org/xmlgraphics/XmlGraphicsCommonComponents">plan for building Apache XML Graphics Commons</a>.
- The plan will give you an idea of what you can expect to find here when we're finished
- migrating components.
- </p>
- </section>
- <section id="features">
- <title>Features</title>
- <p>
- What follows is a list of components which have already been ported from Batik and FOP:
- </p>
- <table>
- <tr>
- <th>Description</th>
- <th>Package</th>
- <th>Provenance</th>
- </tr>
- <tr>
- <td>Image codecs for PNG and TIFF</td>
- <td>org.apache.xmlgraphics.image.codec</td>
- <td>Batik</td>
- </tr>
- <tr>
- <td>Bitmap image writer abstraction with implementation for the above codecs and for the Image I/O API.</td>
- <td>org.apache.xmlgraphics.image.writer</td>
- <td>Batik</td>
- </tr>
- <tr>
- <td>Java2D helper classes</td>
- <td>org.apache.xmlgraphics.image.rendered and org.apache.xmlgraphics.java2d</td>
- <td>Batik</td>
- </tr>
- <tr>
- <td>Graphics2D implementation that produces PostScript and EPS</td>
- <td>org.apache.xmlgraphics.java2d.ps</td>
- <td>FOP</td>
- </tr>
- <tr>
- <td>Helper classes for PostScript code production</td>
- <td>org.apache.xmlgraphics.ps</td>
- <td>FOP</td>
- </tr>
- <tr>
- <td>Various I/O classes, encoders and decoders for various formats</td>
- <td>org.apache.xmlgraphics.util.io</td>
- <td>Batik/FOP</td>
- </tr>
- </table>
+ <p>
+ Apache XML Graphics Commons is a library that consists of several reusable components
+ used by <a href="ext:batik">Apache Batik</a> and <a href="ext:fop">Apache FOP</a>.
+ Many of these components can easily be used separately outside the domains of SVG
+ and XSL-FO. You will find components such as a PDF library, an RTF library, Graphics2D
+ implementations that let you generate PDF and PostScript files and much more.
+ </p>
+ <p>
+ Apache XML Graphics Commons has only just started. It's in the process of being
+ populated with components coming from Apache Batik and Apache FOP. Stay tuned for
+ exciting treasures made available.
+ </p>
+ <p>
+ In the Wiki, we have a
+ <a href="http://wiki.apache.org/xmlgraphics/XmlGraphicsCommonComponents">plan for building Apache XML Graphics Commons</a>.
+ The plan will give you an idea of what you can expect to find here when we're finished
+ migrating components.
+ </p>
+ </section>
+ <section id="features">
+ <title>Features</title>
+ <p>
+ What follows is a list of components which have already been ported from Batik and FOP:
+ </p>
+ <table>
+ <tr>
+ <th>Description</th>
+ <th>Package</th>
+ <th>Provenance</th>
+ </tr>
+ <tr>
+ <td>Image codecs for PNG and TIFF</td>
+ <td>org.apache.xmlgraphics.image.codec</td>
+ <td>Batik</td>
+ </tr>
+ <tr>
+ <td>Bitmap image writer abstraction with implementation for the above codecs and for the Image I/O API.</td>
+ <td>org.apache.xmlgraphics.image.writer</td>
+ <td>Batik</td>
+ </tr>
+ <tr>
+ <td>Java2D helper classes</td>
+ <td>org.apache.xmlgraphics.image.rendered and org.apache.xmlgraphics.java2d</td>
+ <td>Batik</td>
+ </tr>
+ <tr>
+ <td>Graphics2D implementation that produces PostScript and EPS</td>
+ <td>org.apache.xmlgraphics.java2d.ps</td>
+ <td>FOP</td>
+ </tr>
+ <tr>
+ <td>Helper classes for PostScript code production</td>
+ <td>org.apache.xmlgraphics.ps</td>
+ <td>FOP</td>
+ </tr>
+ <tr>
+ <td>Various I/O classes, encoders and decoders for various formats</td>
+ <td>org.apache.xmlgraphics.util.io</td>
+ <td>Batik/FOP</td>
+ </tr>
+ </table>
</section>
</body>
</document>
---------------------------------------------------------------------
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