You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by am...@apache.org on 2011/05/01 16:07:03 UTC

svn commit: r1098308 - in /cayenne/main/trunk/docs/docbook: ./ css/ main/ main/src/ main/src/images/ stylesheets/

Author: amaniatis
Date: Sun May  1 14:07:02 2011
New Revision: 1098308

URL: http://svn.apache.org/viewvc?rev=1098308&view=rev
Log:
A very rough first cut of the docbook build scripts. This does a few things:

1. Builds the pdf and html docs when you execute "mvn site"
2. Obliterates the ugly and annoying default maven site behaviour
3. Applies style sheets, css, etc
4. Sets up some reasonable defaults for TOC and other styling

What isn't done yet is pulling across more than just a few pages of sample docbook. This will take lots of effort
And of course, making it more attractive, which can wait until later.

I've put in some sample docbook elements which are interesting: lists, sections, link and xref, code snippets.

This module has not yet been tied into the main Cayenne pom and it is in a folder location designed to keep out of the way of the existing documentation. When it is complete, we can move it into a better location.


Added:
    cayenne/main/trunk/docs/docbook/
    cayenne/main/trunk/docs/docbook/css/
    cayenne/main/trunk/docs/docbook/css/cayenne-doc.css
    cayenne/main/trunk/docs/docbook/main/
    cayenne/main/trunk/docs/docbook/main/README
    cayenne/main/trunk/docs/docbook/main/pom.xml
    cayenne/main/trunk/docs/docbook/main/src/
    cayenne/main/trunk/docs/docbook/main/src/images/
    cayenne/main/trunk/docs/docbook/main/src/index.xml
    cayenne/main/trunk/docs/docbook/main/src/installation.xml
    cayenne/main/trunk/docs/docbook/main/src/part1-cayenne.xml
    cayenne/main/trunk/docs/docbook/main/src/part2-rop.xml
    cayenne/main/trunk/docs/docbook/main/src/part3-modeler.xml
    cayenne/main/trunk/docs/docbook/main/src/temp.xml
    cayenne/main/trunk/docs/docbook/pom.xml
    cayenne/main/trunk/docs/docbook/stylesheets/
    cayenne/main/trunk/docs/docbook/stylesheets/common-customizations.xsl
    cayenne/main/trunk/docs/docbook/stylesheets/html.xsl
    cayenne/main/trunk/docs/docbook/stylesheets/pdf.xsl

Added: cayenne/main/trunk/docs/docbook/css/cayenne-doc.css
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/css/cayenne-doc.css?rev=1098308&view=auto
==============================================================================
    (empty)

Added: cayenne/main/trunk/docs/docbook/main/README
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/main/README?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/main/README (added)
+++ cayenne/main/trunk/docs/docbook/main/README Sun May  1 14:07:02 2011
@@ -0,0 +1 @@
+Although it would be tempting to arrange the docbook source into various folders to organise them better, this causes havoc to relative image links once the source is transformed into html.
\ No newline at end of file

Added: cayenne/main/trunk/docs/docbook/main/pom.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/main/pom.xml?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/main/pom.xml (added)
+++ cayenne/main/trunk/docs/docbook/main/pom.xml Sun May  1 14:07:02 2011
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+	Licensed to the Apache Software Foundation (ASF) under one
+	or more contributor license agreements.  See the NOTICE file
+	distributed with this work for additional information
+	regarding copyright ownership.  The ASF licenses this file
+	to you 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.   
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+	<parent>
+		<groupId>org.apache.cayenne.docs</groupId>
+		<artifactId>cayenne-docbook</artifactId>
+		<version>3.1-SNAPSHOT</version>
+	</parent>
+	<modelVersion>4.0.0</modelVersion>
+	<groupId>org.apache.cayenne.docs</groupId>
+	<artifactId>cayenne-docbook-main</artifactId>
+	<name>Cayenne Docbook Main Documenation</name>
+	
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>com.agilejava.docbkx</groupId>
+				<artifactId>docbkx-maven-plugin</artifactId>
+				<configuration>
+					<sourceDirectory>src</sourceDirectory>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+</project>
\ No newline at end of file

Added: cayenne/main/trunk/docs/docbook/main/src/index.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/main/src/index.xml?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/main/src/index.xml (added)
+++ cayenne/main/trunk/docs/docbook/main/src/index.xml Sun May  1 14:07:02 2011
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<book xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:id="manual"
+	xmlns:xi="http://www.w3.org/2001/XInclude">
+	<info>
+		<title>Cayenne User Manual</title>
+		<copyright>
+			<year>2011</year>
+			<holder>Apache Software Foundation</holder>
+		</copyright>
+		<authorgroup>
+			<author>
+				<personname>Aristedes Maniatis</personname>
+			</author>
+			<author>
+				<personname>...more names...</personname>
+			</author>
+		</authorgroup>
+		<legalnotice>
+			<title>License</title>
+			<para>Licensed to the Apache Software Foundation (ASF) under one
+			or more contributor license agreements.  See the NOTICE file
+			distributed with this work for additional information
+			regarding copyright ownership.  The ASF licenses this file
+			to you 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</para>
+
+			<para>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.</para>
+		</legalnotice>
+	</info>
+	<xi:include href="part1-cayenne.xml" />
+	<xi:include href="part2-rop.xml" />
+	<xi:include href="part3-modeler.xml" />
+</book>

Added: cayenne/main/trunk/docs/docbook/main/src/installation.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/main/src/installation.xml?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/main/src/installation.xml (added)
+++ cayenne/main/trunk/docs/docbook/main/src/installation.xml Sun May  1 14:07:02 2011
@@ -0,0 +1,142 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
+	version="5.0" xml:id="installation">
+	<title>Installation</title>
+	<section xml:id="installation-systemRequirements">
+		<title>System Requirements</title>
+		<itemizedlist>
+			<listitem>
+				<para><emphasis>JDK:</emphasis> Cayenne, including GUI tools, is written in 100%
+					Java, and runs on any Java-compatible platform. Required JDK version is 1.5 or
+					higher. (The last version of Cayenne compatible with JDK 1.4 is 2.0.x; JDK 1.3
+					requires 1.1.x)</para>
+			</listitem>
+			<listitem>
+				<para><emphasis>JDBC Driver:</emphasis> You will need a JDBC driver to access the
+					database. Information about various drivers and database-specific configuration
+					is provided on the <link xlink:href="#database-support">Database Support</link>
+					page.</para>
+			</listitem>
+			<listitem>
+				<para><emphasis>Third-party Libraries:</emphasis> Depending on the application
+					nature, Cayenne may optionally require a few third-party open source packages. See <xref xlink:href="#installation-dependencies"/></para>
+			</listitem>
+		</itemizedlist>
+	</section>
+	<section xml:id="installation-obtainingCayenne">
+		<title>Obtaining Cayenne</title>
+		<para>Installing Cayenne is simple - just download and unpack the distribution. <link
+				xlink:href="http://cayenne.apache.org/download.html">Select a distribution</link>
+			for your development platform (cross-platform version, as the name implies, works on any
+			OS that has Java).</para>
+		<para>Once you've done that, you can <link xlink:href="#modeler-running">start the
+				Modeler</link> and use appropriate jar files in your application. See <link
+				xlink:href="../../../Documentation/Cayenne Guide/Installation/JAR Files and Dependencies/index.html"
+				>JAR Files and Dependencies</link> for more information. </para>
+		<para>If you are using Maven2, the runtime dependencies can be obtained in a standard Maven
+			way (i.e. <link
+				xlink:href="../../../Documentation/Cayenne Guide/Installation/Cayenne and Maven/index.html"
+				>by declaring them in the POM</link>), still you likely want to download the
+			distribution, as it includes the Modeler.</para>
+	</section>
+	<section xml:id="installation-maven">
+		<title>Using Cayenne in a maven project</title>
+		<para>Cayenne publishes Maven artifacts to the central Maven repository, so they can be
+			declared as dependencies in the user application pom.xml.</para>
+		<para><programlisting>
+&lt;dependency>
+   &lt;groupId>org.apache.cayenne&lt;/groupId>
+   &lt;artifactId>cayenne-server&lt;/artifactId>
+   &lt;version><?eval ${project.version}?>&lt;/version>
+&lt;/dependency>
+...
+&lt;dependency>
+   &lt;groupId>org.apache.cayenne&lt;/groupId>
+   &lt;artifactId>cayenne-client&lt;/artifactId>
+   &lt;version><?eval ${project.version}?>&lt;/version>
+&lt;/dependency>
+		</programlisting></para>
+	</section>
+	<section xml:id="installation-dependencies">
+		<title>Cayenne dependencies</title>
+		<para>If you aren't using Maven or Ivy to manage your dependencies, you might want to
+			install the jars by hand. This section explains where all the relevant jar files are
+			located. The following runtime jars are included in Cayenne distribution
+				<literal>lib</literal> directory:</para>
+		<itemizedlist>
+			<listitem>
+				<para><literal>cayenne-server-<?eval ${project.version}?>.jar</literal> contains
+					full Cayenne runtime WITHOUT dependencies. Most applications will use only this
+					file.</para>
+			</listitem>
+			<listitem>
+				<para><literal>cayenne-client-<?eval ${project.version}?>.jar</literal> - a subset of
+					cayenne-server.jar trimmed for use on the client in an <link xlink:href="#part2"
+						>ROP application</link>.</para>
+			</listitem>
+			<listitem>
+				<para><literal>cayenne-tools-<?eval ${project.version}?>.jar</literal> - Ant tasks</para>
+			</listitem>
+		</itemizedlist>
+		<para>When using <literal>cayenne-server-<?eval ${project.version}?>.jar</literal> you'll need a few third
+			party jars (all included in <literal>lib/third-party</literal> directory of the
+			distribution):</para>
+		<itemizedlist>
+			<listitem>
+				<para><link xlink:href="http://jakarta.apache.org/velocity/">Apache Velocity
+						Template Engine</link>, version 1.6.x (and all its dependencies bundled
+					with velocity-dep)</para>
+			</listitem>
+			<listitem>
+				<para><link xlink:href="http://jakarta.apache.org/commons/collections">Apache
+						Commons Collections</link>, version 3.1</para>
+			</listitem>
+			<listitem>
+				<para><link xlink:href="http://jakarta.apache.org/commons/logging/">Apache Commons
+						Logging</link>, version 1.1</para>
+			</listitem>
+		</itemizedlist>
+		<para>ROP client dependencies are explained <link xlink:href="#rop-installation"
+			>here</link>.</para>
+	</section>
+	<section xml:id="installation-optionalDependencies">
+		<title>Cayenne optional dependencies</title>
+		<para>One or more of the following libraries may be needed depending on how you use
+			Cayenne:</para>
+		<itemizedlist>
+			<listitem>
+				<para><link xlink:href="http://ant.apache.org/">Apache Ant</link>, version 1.6 or
+					newer. Needed for <link xlink:href="#antTasks">Cayenne Ant Tasks</link>.</para>
+			</listitem>
+			<listitem>
+				<para><link xlink:href="http://jakarta.apache.org/commons/pool/">Apache Commons
+						Pool</link> , version 1.2 and <link
+						xlink:href="http://jakarta.apache.org/commons/dbcp/">Apache Commons
+						DBCP</link>, version 1.2.1. Needed if you use DBCPDataSourceFactory for one
+					of the DataNodes.</para>
+			</listitem>
+			<listitem>
+				<para><link xlink:href="http://www.jgroups.org/">JGroups</link>, version 2.2.7 or
+					newer. Needed if you plan to use remote notifications via JGroups
+					transport.</para>
+			</listitem>
+			<listitem>
+				<para><link xlink:href="http://java.sun.com/products/jms/">Java Messaging Service
+						(JMS)</link>. Needed if you plan to use remote notifications via JMS
+					transport.</para>
+			</listitem>
+			<listitem>
+				<para><link xlink:href="http://vpp.sourceforge.net/">Foundry Logic VPP
+						Library</link> , version 2.2.1 (included in
+						<literal>lib/third-party</literal> directory of the distribution). Needed
+					for <link xlink:href="#antTasks-cgen">class generation options</link> with
+					Ant.</para>
+			</listitem>
+			<listitem>
+				<para><link xlink:href="http://www.opensymphony.com/oscache/">OSCache</link> version
+					2.3.2 or newer. Needed if you plan to use OSCache as your <link
+						xlink:href="#caching-query">query results cache provider</link>.</para>
+			</listitem>
+		</itemizedlist>
+	</section>
+</chapter>

Added: cayenne/main/trunk/docs/docbook/main/src/part1-cayenne.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/main/src/part1-cayenne.xml?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/main/src/part1-cayenne.xml (added)
+++ cayenne/main/trunk/docs/docbook/main/src/part1-cayenne.xml Sun May  1 14:07:02 2011
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<part xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
+        xml:id="part1" xmlns:xi="http://www.w3.org/2001/XInclude">
+        <title>Installation</title>
+        <xi:include href="installation.xml"/>
+</part>

Added: cayenne/main/trunk/docs/docbook/main/src/part2-rop.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/main/src/part2-rop.xml?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/main/src/part2-rop.xml (added)
+++ cayenne/main/trunk/docs/docbook/main/src/part2-rop.xml Sun May  1 14:07:02 2011
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<part xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
+        xml:id="part2" xmlns:xi="http://www.w3.org/2001/XInclude">
+        <title>Remote object persistence</title>
+
+</part>

Added: cayenne/main/trunk/docs/docbook/main/src/part3-modeler.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/main/src/part3-modeler.xml?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/main/src/part3-modeler.xml (added)
+++ cayenne/main/trunk/docs/docbook/main/src/part3-modeler.xml Sun May  1 14:07:02 2011
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<part xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
+        xml:id="part3" xmlns:xi="http://www.w3.org/2001/XInclude">
+        <title>Cayenne modeler</title>
+</part>

Added: cayenne/main/trunk/docs/docbook/main/src/temp.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/main/src/temp.xml?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/main/src/temp.xml (added)
+++ cayenne/main/trunk/docs/docbook/main/src/temp.xml Sun May  1 14:07:02 2011
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<article version="5.0" xmlns="http://docbook.org/ns/docbook" xmlns:xl="http://www.w3.org/1999/xlink">
+  <info>
+    <title>Apache Cayenne Documentation - Cayenne and Maven</title>
+  </info>
+  <para><link xl:href="http://cayenne.apache.org/"><inlinemediaobject><imageobject role="html">
+          <imagedata fileref="./../../../../images/logo.gif" scalefit="1"/>
+        </imageobject>
+<imageobject role="fo">
+          <imagedata contentdepth="100%" contentwidth="" depth="" fileref="./../../../../images/logo.gif" scalefit="1" width="100%"/>
+        </imageobject>
+</inlinemediaobject></link></para>
+  <para><link xl:href="../../../../index.html">Cayenne User Documentation</link></para>
+   <para>Cayenne and Maven</para>
+  <anchor xml:id="cayenne_toc"/>
+  <itemizedlist><listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Introduction/index.html">Introduction</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Installation/index.html">Installation</link><itemizedlist><listitem>
+            <para><link xl:href="../../../../Documentation/Cayenne Guide/Installation/Upgrade/index.html">Upgrade</link></para>
+          </listitem>
+<listitem>
+            <para><link xl:href="../../../../Documentation/Cayenne Guide/Installation/JAR Files and Dependencies/index.html">JAR Files and Dependencies</link></para>
+          </listitem>
+<listitem>
+            <para><link xl:href="../../../../Documentation/Cayenne Guide/Installation/Cayenne and Maven/index.html">Cayenne and Maven</link><itemizedlist><listitem>
+                  <para/>
+                </listitem>
+</itemizedlist></para>
+          </listitem>
+</itemizedlist></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Tutorial/index.html">Tutorial</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Design/index.html">Design</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/DataContext/index.html">DataContext</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Queries/index.html">Queries</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/DataObjects/index.html">DataObjects</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Stored Procedures/index.html">Stored Procedures</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Expressions/index.html">Expressions</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Lifecycle Callbacks/index.html">Lifecycle Callbacks</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Performance Tuning/index.html">Performance Tuning</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Caching and Fresh Data/index.html">Caching and Fresh Data</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Deployment/index.html">Deployment</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Ant Tasks/index.html">Ant Tasks</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Maven2 Plugins/index.html">Maven2 Plugins</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Customization/index.html">Customization</link></para>
+    </listitem>
+</itemizedlist>
+  <anchor xml:id="ConfluenceContent"/>
+  <section remap="h2">
+    <title><anchor xml:id="CayenneandMaven-CayenneandMaven" xreflabel=""/>Cayenne and Maven</title>
+    <para>Cayenne publishes Maven2 artifacts to the central Maven repository, so they can be declared as dependencies in the user application <literal>pom.xml</literal>:</para>
+    <screen>&lt;dependency&gt;
+   &lt;groupId&gt;org.apache.cayenne&lt;/groupId&gt;
+   &lt;artifactId&gt;cayenne-server&lt;/artifactId&gt;
+   &lt;version&gt;X.Y&lt;/version&gt;
+&lt;/dependency&gt;
+...
+&lt;dependency&gt;
+   &lt;groupId&gt;org.apache.cayenne&lt;/groupId&gt;
+   &lt;artifactId&gt;cayenne-client&lt;/artifactId&gt;
+   &lt;version&gt;X.Y&lt;/version&gt;
+&lt;/dependency&gt;
+</screen>
+    <para>. Copyright ©2001-2010 Apache Software Foundation </para>
+  </section>
+</article>

Added: cayenne/main/trunk/docs/docbook/pom.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/pom.xml?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/pom.xml (added)
+++ cayenne/main/trunk/docs/docbook/pom.xml Sun May  1 14:07:02 2011
@@ -0,0 +1,172 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+	Licensed to the Apache Software Foundation (ASF) under one
+	or more contributor license agreements.  See the NOTICE file
+	distributed with this work for additional information
+	regarding copyright ownership.  The ASF licenses this file
+	to you 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.   
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+	<modelVersion>4.0.0</modelVersion>
+
+	<parent>
+		<groupId>org.apache.cayenne.parents</groupId>
+		<artifactId>cayenne-docs-parent</artifactId>
+		<version>3.1-SNAPSHOT</version>
+	</parent>
+	
+	<modules>
+		<module>main</module>
+	</modules>
+
+	<groupId>org.apache.cayenne.docs</groupId>
+	<artifactId>cayenne-docbook</artifactId>
+	<name>Cayenne Docbook Documenation</name>
+	<packaging>pom</packaging>
+
+	<distributionManagement>
+		<site>
+			<id>website</id>
+			<url>scp://people.apache.org/www/cayenne/docbook/</url>
+		</site>
+	</distributionManagement>
+	
+	<build>
+		<pluginManagement>
+			<plugins>
+				<plugin>
+					<groupId>com.agilejava.docbkx</groupId>
+					<artifactId>docbkx-maven-plugin</artifactId>
+					<version>2.0.11</version>
+					<dependencies>
+						<dependency>
+							<groupId>org.docbook</groupId>
+							<artifactId>docbook-xml</artifactId>
+							<version>4.4</version>
+							<scope>runtime</scope>
+						</dependency>
+					</dependencies>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-antrun-plugin</artifactId>
+					<version>1.6</version>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-site-plugin</artifactId>
+					<version>2.2</version>
+				</plugin>
+			</plugins>
+		</pluginManagement>
+		
+		
+		<plugins>
+			<plugin>
+				<groupId>com.agilejava.docbkx</groupId>
+				<artifactId>docbkx-maven-plugin</artifactId>
+				<configuration>
+					<xincludeSupported>true</xincludeSupported>
+					<highlightSource>true</highlightSource>
+					<targetDirectory>${basedir}/target/site/</targetDirectory>
+					<sourceDirectory>disabled-for-parent-pom</sourceDirectory>
+					<includes>index.xml</includes>				
+				</configuration>
+				<executions>
+					<execution>
+						<id>builcd-pdf</id>
+						<configuration>
+							<foCustomization>${project.parent.basedir}/stylesheets/pdf.xsl</foCustomization>
+							<postProcess>
+								<delete failonerror="false">
+									<fileset dir="target/site/" includes="*.fo"/>
+								</delete>
+								<move file="target/site/index.pdf" tofile="target/site/${project.artifactId}.pdf"/>
+							</postProcess>
+						</configuration>
+						<phase>site</phase>
+						<goals>
+							<goal>generate-pdf</goal>
+						</goals>
+					</execution>
+					<execution>
+						<id>build-html</id>
+						<configuration>
+							<htmlCustomization>${project.parent.basedir}/stylesheets/html.xsl</htmlCustomization>
+							<chunkedOutput>true</chunkedOutput>
+							<postProcess>
+								<copy todir="${basedir}/target/site/css">
+									<fileset dir="${project.parent.basedir}/css"/>
+								</copy>
+								<copy todir="${basedir}/target/site/images">
+									<fileset dir="${basedir}/src/images"/>
+								</copy>
+							</postProcess>
+						</configuration>
+						<phase>site</phase>
+						<goals>
+							<goal>generate-html</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-site-plugin</artifactId>
+				<configuration>
+					<generateReports>false</generateReports>
+					<sourceDirectory>src</sourceDirectory>
+					<includes>index.xml</includes>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-antrun-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>cleanup-maven</id>
+						<phase>site</phase>
+						<goals>
+							<goal>run</goal>
+						</goals>
+						<configuration>
+							<target>
+								<delete failonerror="false">
+									<filelist dir="target/site/css" files="maven-base.css,maven-theme.css,print.css,site.css"/>
+									<!-- collapsed.gifx is deliberately mispelt since we want to leave one image behind to avoid a maven problem with deploying a completely empty site -->
+									<filelist dir="target/site/images" files="collapsed.gifx,external.png,icon_info_sml.gif,icon_warning_sml.gif,newwindow.png,expanded.gif,icon_error_sml.gif,icon_success_sml.gif"/>
+								</delete>
+								<delete dir="target/site/images/logos" failonerror="false"/>
+							</target>
+						</configuration>
+
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+		
+		
+		<extensions>
+			<extension>
+				<groupId>org.apache.maven.wagon</groupId>
+				<artifactId>wagon-ssh</artifactId>
+				<version>1.0-beta-7</version>
+			</extension>
+		</extensions>
+	</build>
+</project>

Added: cayenne/main/trunk/docs/docbook/stylesheets/common-customizations.xsl
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/stylesheets/common-customizations.xsl?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/stylesheets/common-customizations.xsl (added)
+++ cayenne/main/trunk/docs/docbook/stylesheets/common-customizations.xsl Sun May  1 14:07:02 2011
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+	Licensed to the Apache Software Foundation (ASF) under one
+	or more contributor license agreements.  See the NOTICE file
+	distributed with this work for additional information
+	regarding copyright ownership.  The ASF licenses this file
+	to you 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.   
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+	<!-- The next line is needed to work with maven injecting the docbook stylesheets -->
+    <xsl:import href="urn:docbkx:stylesheet" />
+
+	<xsl:param name="keep.relative.image.uris" select="1"/>
+    <xsl:param name="toc.section.depth">1</xsl:param>
+    
+    <!-- disable TOC for each part -->
+    <xsl:template name="generate.part.toc"></xsl:template>
+    
+</xsl:stylesheet>

Added: cayenne/main/trunk/docs/docbook/stylesheets/html.xsl
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/stylesheets/html.xsl?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/stylesheets/html.xsl (added)
+++ cayenne/main/trunk/docs/docbook/stylesheets/html.xsl Sun May  1 14:07:02 2011
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+	Licensed to the Apache Software Foundation (ASF) under one
+	or more contributor license agreements.  See the NOTICE file
+	distributed with this work for additional information
+	regarding copyright ownership.  The ASF licenses this file
+	to you 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.   
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+  <xsl:include href="common-customizations.xsl"/>
+
+  <xsl:param name="html.stylesheet" select="'css/cayenne-doc.css'"/>
+  <xsl:param name="chunker.output.encoding">UTF-8</xsl:param>
+
+  <!-- Only chapters start a new page -->
+  <xsl:param name="chunk.section.depth">0</xsl:param>
+
+  <!-- Don't add any embedded styles -->
+  <xsl:param name="css.decoration">0</xsl:param>
+  
+  <xsl:param name="ignore.image.scaling">1</xsl:param>
+
+  <xsl:param name="use.id.as.filename">1</xsl:param>
+</xsl:stylesheet>

Added: cayenne/main/trunk/docs/docbook/stylesheets/pdf.xsl
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/stylesheets/pdf.xsl?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/stylesheets/pdf.xsl (added)
+++ cayenne/main/trunk/docs/docbook/stylesheets/pdf.xsl Sun May  1 14:07:02 2011
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+	Licensed to the Apache Software Foundation (ASF) under one
+	or more contributor license agreements.  See the NOTICE file
+	distributed with this work for additional information
+	regarding copyright ownership.  The ASF licenses this file
+	to you 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.   
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+	<xsl:include href="common-customizations.xsl"/>
+
+	<xsl:param name="paper.type">A4</xsl:param>
+
+	<!-- don't indent the body text -->
+	<xsl:param name="body.start.indent">0pt</xsl:param>
+
+	<!-- print headers and footers mirrored so double sided printing works -->
+	<xsl:param name="fop1.extensions" select="1"/>
+	<xsl:param name="double.sided" select="1"/>
+
+	<xsl:param name="admon.graphics" select="0"/>
+	<xsl:param name="admon.graphics.extension">.png</xsl:param>
+	<xsl:param name="admon.graphics.path">stylesheets/docbook-xsl-ns/images/</xsl:param>
+	<xsl:param name="admon.textlabel" select="1"/>
+
+	<xsl:param name="callout.graphics" select="1"/>
+	<xsl:param name="callout.graphics.extension">.png</xsl:param>
+	<xsl:param name="callout.graphics.path">stylesheets/docbook-xsl-ns/images/callouts/</xsl:param>
+
+	<xsl:param name="footer.rule">0</xsl:param>
+
+	<!-- Separation between glossary terms and descriptions when glossaries are presented using lists. -->
+	<xsl:param name="glossterm.separation">2em</xsl:param>
+
+	<!-- This parameter specifies the width reserved for glossary terms when a list presentation is used.  -->
+	<xsl:param name="glossterm.width">10em</xsl:param>
+
+	<!--  Specifies the longest term in variablelists. In variablelists, the listitem is indented to leave room for the term elements. The indent may be computed if it is not specified with a termlength attribute on the variablelist element. The computation counts characters in the term elements in the list to find the longest term. However, some terms are very long and would produce extreme indents. This parameter lets you set a maximum character count. Any terms longer than the maximum would line wrap. The default value is 24. The character counts are converted to physical widths by multiplying by 0.50em. There is some variability in how many characters fit in the space since some characters are wider than others. -->
+	<xsl:param name="variablelist.max.termlength">18</xsl:param>
+
+	<!-- Custom font settings - preferred truetype font -->
+	<xsl:param name="title.font.family">Lucinda Grande,sans-serif</xsl:param>
+	<xsl:param name="body.font.family">Times,serif</xsl:param>
+	<xsl:param name="sans.font.family">Lucinda Grande,sans-serif</xsl:param>
+	<xsl:param name="dingbat.font.family">Lucinda Grande,serif</xsl:param>
+	<xsl:param name="monospace.font.family">monospace</xsl:param>
+
+	<!-- Specify the default text alignment. The default text alignment is used for most body text. -->
+	<xsl:param name="alignment">left</xsl:param>
+
+
+	<!--  Specifies the default point size for body text. The body font size is specified in two parameters (body.font.master and body.font.size) so that math can be performed on the font size by XSLT. -->
+	<xsl:param name="body.font.master">11</xsl:param>
+
+	<xsl:param name="hyphenate">false</xsl:param>
+
+	<!-- "normal" is 1.6. This value is multiplied by the font size -->
+	<xsl:param name="line-height">1.5</xsl:param>
+
+	<!--  Specify the spacing required between normal paragraphs. -->
+	<xsl:attribute-set name="normal.para.spacing">
+		<xsl:attribute name="space-before.optimum">0.8em</xsl:attribute>
+		<xsl:attribute name="space-before.minimum">0.6em</xsl:attribute>
+		<xsl:attribute name="space-before.maximum">1.0em</xsl:attribute>
+	</xsl:attribute-set>
+
+	<!--  Tables, examples, figures, and equations don't need to be forced onto onto one page without page breaks. -->
+	<xsl:attribute-set name="formal.object.properties">
+		<xsl:attribute name="keep-together.within-column">auto</xsl:attribute>
+	</xsl:attribute-set>
+
+	<!-- The body bottom margin is the distance from the last line of text in the page body to the bottom of the region-after. -->
+	<xsl:param name="body.margin.bottom">20mm</xsl:param>
+
+	<!-- The body top margin is the distance from the top of the region-before to the first line of text in the page body. -->
+	<xsl:param name="body.margin.top">20mm</xsl:param>
+
+	<!-- The top page margin is the distance from the physical top of the page to the top of the region-before. -->
+	<xsl:param name="page.margin.top">10mm</xsl:param>
+
+	<!-- The bottom page margin is the distance from the bottom of the region-after to the physical bottom of the page. -->
+	<xsl:param name="page.margin.bottom">10mm</xsl:param>
+
+	<!-- The inner page margin. The inner page margin is the distance from binding edge of the page to the first column of text. In the left-to-right, top-to-bottom writing direction, this is the left margin of recto pages. The inner and outer margins are usually the same unless the output is double-sided. -->
+	<xsl:param name="page.margin.inner">25mm</xsl:param>
+
+	<!-- The outer page margin. The outer page margin is the distance from non-binding edge of the page to the last column of text. In the left-to-right, top-to-bottom writing direction, this is the right margin of recto pages. The inner and outer margins are usually the same unless the output is double-sided. -->
+	<xsl:param name="page.margin.outer">15mm</xsl:param>
+
+	<!-- Make hyperlinks blue and don't display the underlying URL -->
+	<xsl:param name="ulink.show" select="0" />
+
+	<xsl:attribute-set name="xref.properties">
+		<xsl:attribute name="color">blue</xsl:attribute>
+	</xsl:attribute-set>
+
+
+</xsl:stylesheet>



Re: docbook

Posted by Aristedes Maniatis <ar...@maniatis.org>.
On 26/05/11 10:35 AM, Andrus Adamchik wrote:
> My current view is that the website should be Apache CMS, the docs should be docbook.

I agree that this seems to be the best path. Docbook for the flexibility and insulation from being changed with the latest Apache infra team plans. Apache CMS mostly since there is nothing better available. I'm still sad that Apache doesn't have a "real" CMS which allows for dynamic content, RSS feeds, etc, etc. but we'll be able to make do.

Ari


-- 
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

Re: docbook

Posted by Andrus Adamchik <an...@objectstyle.org>.
Which I should qualify as "after we actually try working with docbook & Apache CMS" :-)

On May 25, 2011, at 8:35 PM, Andrus Adamchik wrote:

> 
> On May 25, 2011, at 8:30 PM, Aristedes Maniatis wrote:
> 
>> 
>> 
>>>>> The thing with docbook is that there are 10 ways to do anything. We need to write our own style guide for the choices we make and keep it consistent. For example, there are about 6 different types of list.
>>> So can you take a lead on that?
>> 
>> Very happy to. Once we have consensus that docbook is the future for us. See other emails about Apache CMS, etc, etc
> 
> My current view is that the website should be Apache CMS, the docs should be docbook.
> 
> Andrus


Re: docbook

Posted by Andrus Adamchik <an...@objectstyle.org>.
On May 25, 2011, at 8:30 PM, Aristedes Maniatis wrote:

> 
> 
>>>> The thing with docbook is that there are 10 ways to do anything. We need to write our own style guide for the choices we make and keep it consistent. For example, there are about 6 different types of list.
>> So can you take a lead on that?
> 
> Very happy to. Once we have consensus that docbook is the future for us. See other emails about Apache CMS, etc, etc

My current view is that the website should be Apache CMS, the docs should be docbook.

Andrus

Re: docbook

Posted by Aristedes Maniatis <ar...@maniatis.org>.
On 26/05/11 10:25 AM, Andrus Adamchik wrote:
>> I've tried some html to docbook converters, but the effort to clean up the result was about equal to the effort in just copying the text over by hand.
> I am fine with that. Aside from the lack of time factor, I wouldn't mind going through all docs and reorganizing them to match the modern version of Cayenne.

Yes, I actually think step one should be to create the whole documentation from top to bottom but just the section headings, without content. Some of the structure needs a rethink to make it easier to find.

Docbook has:

* parts
* chapters
* sections (nested as deep as we like)

We don't need to use parts if we don't want, but that is useful perhaps to separate:

Part I: Designing your structure
Part II: Using Cayenne in code
Part II: ROP


Each chapter should be in a separate docbook XML file. (It doesn't have to, but that is easiest.) And then we should agree that sections should be at most 3 deep. But probably mostly 2 deep.


>> >  The thing with docbook is that there are 10 ways to do anything. We need to write our own style guide for the choices we make and keep it consistent. For example, there are about 6 different types of list.
> So can you take a lead on that?

Very happy to. Once we have consensus that docbook is the future for us. See other emails about Apache CMS, etc, etc

Ari

-- 
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

Re: docbook

Posted by Andrus Adamchik <an...@objectstyle.org>.
On May 25, 2011, at 8:17 PM, Aristedes Maniatis wrote:

> The best guide for writing docbook format is the online SageHill site.
> 
>  http://www.sagehill.net/docbookxsl/

Checking it out now.

> 
> By far the best tool for writing docbook is Oxygen. We have had an offer for free licenses for the Cayenne committers, should we go down the docbook path.

Would be nice if we could get it.

> I've tried some html to docbook converters, but the effort to clean up the result was about equal to the effort in just copying the text over by hand.

I am fine with that. Aside from the lack of time factor, I wouldn't mind going through all docs and reorganizing them to match the modern version of Cayenne.

> The thing with docbook is that there are 10 ways to do anything. We need to write our own style guide for the choices we make and keep it consistent. For example, there are about 6 different types of list.

So can you take a lead on that?

Andrus

Re: docbook

Posted by Andrus Adamchik <an...@objectstyle.org>.
Yeah, I've been going back and force on this one. (I remember how much pain it was to manually renumber Anakia docs). So I guess I'll follow your advice and rename the chapters to remove numbers.

Andrus

On May 29, 2011, at 3:43 AM, Aristedes Maniatis wrote:

> 
> My only suggestion so far (I haven't read through all your sections yet) is to name the files with meaningful filenames. We want to be able to easily add another section in the middle; docbook will happily renumber everything for us. The filenames have no significant in the output, either in the html page naming or anything else.


Re: docbook

Posted by Aristedes Maniatis <ar...@maniatis.org>.
On 29/05/11 3:51 AM, Andrus Adamchik wrote:
> 3. All Cayenne Users:
>    "Cayenne Guide"
>
> (Combines current Cayenne Guide, ROP Guide, Modeler Guide in a single Cayenne reference book)

I think your structure makes sense. Each book becomes a single PDF in the docbook output. And I've already structured the poms to allow for multiple books in this way, which is why the poms look slightly more complicated than they would otherwise need be.

My only suggestion so far (I haven't read through all your sections yet) is to name the files with meaningful filenames. We want to be able to easily add another section in the middle; docbook will happily renumber everything for us. The filenames have no significant in the output, either in the html page naming or anything else.

Ari

-- 
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

Re: docbook

Posted by Andrus Adamchik <an...@objectstyle.org>.
So I indeed decided to start with the top-down design. Now that we are thinking in terms of "books", IMO our documentation is best split into 4 books, targeting different user audiences:

1. Beginners:
  "Getting Started with Cayenne"
  "Getting Started with Cayenne ROP (Remote Object Persistence)"

(Both are based on the current tutorials, and can be ported pretty much verbatim)

2. Existing Users:
  "Cayenne New Features and Upgrade Guide"

(A small book that briefly demonstrates new features and suggests an upgrade procedure)

3. All Cayenne Users:
  "Cayenne Guide"

(Combines current Cayenne Guide, ROP Guide, Modeler Guide in a single Cayenne reference book)

Since the last book is the biggest and most complex one, I figured I'd take a shot at creating the chapters breakdown (committed). I significantly rearranged our current docs structure, organizing them in a more logical manner, added DI and related configuration concepts, cut down general design chapters, focusing on more practical aspects of the framework, merged a few chapters together to avoid redundancy and confusion.

Now I guess we need to fill them with content (some written fro scratch, some - ported from Confluence).

Andrus

Re: docbook

Posted by Michael Gentry <mg...@masslight.net>.
Hi Christian,

I received the license.  I'll have to download Oxygen soon and try it
out.  Do you know if the license supports multiple machines?  Can I
put it on my iMac and my Linux laptop, too?

Thanks!

mrg


On Sun, May 29, 2011 at 5:48 AM, Christian Grobmeier
<gr...@gmail.com> wrote:
> I have just asked for the licenses for Andrus, Aristedes and Michael
> (no other responses).
> WIll let you know about the next steps when I have info.
>
> Cheers
>
>
> On Thu, May 26, 2011 at 2:57 PM, Andrus Adamchik <an...@objectstyle.org> wrote:
>> Here is the list of committers with Apache IDs:
>>
>> http://cayenne.apache.org/contributors.html
>>
>> At least aadamchik and amaniatis will need this. Anyone else?
>>
>> Andrus
>>
>> On May 26, 2011, at 1:31 AM, Christian Grobmeier wrote:
>>
>>>> By far the best tool for writing docbook is Oxygen. We have had an offer for
>>>> free licenses for the Cayenne committers, should we go down the docbook
>>>> path.
>>>
>>> Thats correct - I just need to know the full names and apache ids to
>>> request the Oxygen licenses.
>>>
>>> Cheers,
>>> Christian
>>>
>>>
>>>>
>>>> I've tried some html to docbook converters, but the effort to clean up the
>>>> result was about equal to the effort in just copying the text over by hand.
>>>>
>>>> The thing with docbook is that there are 10 ways to do anything. We need to
>>>> write our own style guide for the choices we make and keep it consistent.
>>>> For example, there are about 6 different types of list.
>>>>
>>>> Ari
>>>>
>>>>
>>>>
>>>> On 26/05/11 10:05 AM, Andrus Adamchik wrote:
>>>>>
>>>>> Hi Ari,
>>>>>
>>>>> Very nice! I may try to continue writing 3.1 docs in a couple of days.
>>>>> Since I will be on the plane and offline during that period, I'll probably
>>>>> try to buy a PDF edition of Definitive Guide
>>>>> (http://docbook.org/tdg5/en/html/docbook.html ) from OReilly.
>>>>>
>>>>> Also are there any recommended editors for Docbook XML? (I'd hate to
>>>>> manually escape code chunks).
>>>>>
>>>>> Andrus
>>>>>
>>>>> On May 9, 2011, at 4:11 AM, Aristedes Maniatis wrote:
>>>>>
>>>>>> I realise I should have mentioned this to the dev list.
>>>>>>
>>>>>> Quick guide
>>>>>>
>>>>>> 1. svn up
>>>>>> 2. cd main/trunk/docs/docbook/
>>>>>> 3. mvn site
>>>>>> 4. wait for maven to download the internet
>>>>>> 5. open main/target/...
>>>>>>
>>>>>> Both PDF and html are generated.
>>>>>>
>>>>>> Ari
>>>>>>
>>>>>>
>>>>>>
>>>>>> -------- Original Message --------
>>>>>> Subject: svn commit: r1098308 - in /cayenne/main/trunk/docs/docbook: ./
>>>>>> css/ main/ main/src/ main/src/images/ stylesheets/
>>>>>> Date: Sun, 01 May 2011 14:07:03 -0000
>>>>>> From: amaniatis@apache.org
>>>>>> Reply-To: dev@cayenne.apache.org
>>>>>> To: commits@cayenne.apache.org
>>>>>>
>>>>>> Author: amaniatis
>>>>>> Date: Sun May  1 14:07:02 2011
>>>>>> New Revision: 1098308
>>>>>>
>>>>>> URL: http://svn.apache.org/viewvc?rev=1098308&view=rev
>>>>>> Log:
>>>>>> A very rough first cut of the docbook build scripts. This does a few
>>>>>> things:
>>>>>>
>>>>>> 1. Builds the pdf and html docs when you execute "mvn site"
>>>>>> 2. Obliterates the ugly and annoying default maven site behaviour
>>>>>> 3. Applies style sheets, css, etc
>>>>>> 4. Sets up some reasonable defaults for TOC and other styling
>>>>>>
>>>>>> What isn't done yet is pulling across more than just a few pages of
>>>>>> sample docbook. This will take lots of effort
>>>>>> And of course, making it more attractive, which can wait until later.
>>>>>>
>>>>>> I've put in some sample docbook elements which are interesting: lists,
>>>>>> sections, link and xref, code snippets.
>>>>>>
>>>>>> This module has not yet been tied into the main Cayenne pom and it is in
>>>>>> a folder location designed to keep out of the way of the existing
>>>>>> documentation. When it is complete, we can move it into a better location.
>>>>>>
>>>>>
>>>>
>>>> --
>>>> -------------------------->
>>>> Aristedes Maniatis
>>>> GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A
>>>>
>>>
>>>
>>>
>>> --
>>> http://www.grobmeier.de
>>>
>>
>>
>
>
>
> --
> http://www.grobmeier.de
>

Re: docbook

Posted by Andrus Adamchik <an...@objectstyle.org>.
On Jan 4, 2012, at 3:06 AM, Christian Grobmeier wrote:

> http://www.oxygenxml.com/forum/topic6394.html

Following the path of least resistance, I just installed the patched version. All is good now. Thanks Ari and Christian!

Andrus


Re: docbook

Posted by Christian Grobmeier <gr...@gmail.com>.
Hello Andrus,

as Aristedes said, you can simply ask the Oxygen people. If it doesn't
work out for you, I can help of course.
For the meantime you can download another Oxygen version, which fixes
this problem:
http://www.oxygenxml.com/forum/topic6394.html

I have had the same, and now it is working again. Anyway i will ask
for a v13 myself the next time.

Cheers
Christian

On Tue, Jan 3, 2012 at 4:11 PM, Andrus Adamchik <an...@objectstyle.org> wrote:
> Hi Christian,
>
> Sorry to disturb you with this. Is it possible to get licenses for version 13? For some reason my version 12 of Oxygen suddenly started to crash on Mac during startup (maybe caused by Java or OS updates?) :
>
> Cannot start <oXygen/> XML Editor.
> Due to:java.lang.reflect.InvocationTargetException
> java.lang.reflect.InvocationTargetException
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>        at ro.sync.ui.application.ApplicationLauncher.g(Unknown Source)
>
>
> Thanks,
> Andrus
>
>
> On May 29, 2011, at 12:48 PM, Christian Grobmeier wrote:
>
>> I have just asked for the licenses for Andrus, Aristedes and Michael
>> (no other responses).
>> WIll let you know about the next steps when I have info.
>>
>> Cheers
>>
>>
>> On Thu, May 26, 2011 at 2:57 PM, Andrus Adamchik <an...@objectstyle.org> wrote:
>>> Here is the list of committers with Apache IDs:
>>>
>>> http://cayenne.apache.org/contributors.html
>>>
>>> At least aadamchik and amaniatis will need this. Anyone else?
>>>
>>> Andrus
>>>
>>> On May 26, 2011, at 1:31 AM, Christian Grobmeier wrote:
>>>
>>>>> By far the best tool for writing docbook is Oxygen. We have had an offer for
>>>>> free licenses for the Cayenne committers, should we go down the docbook
>>>>> path.
>>>>
>>>> Thats correct - I just need to know the full names and apache ids to
>>>> request the Oxygen licenses.
>>>>
>>>> Cheers,
>>>> Christian
>>>>
>>>>
>>>>>
>>>>> I've tried some html to docbook converters, but the effort to clean up the
>>>>> result was about equal to the effort in just copying the text over by hand.
>>>>>
>>>>> The thing with docbook is that there are 10 ways to do anything. We need to
>>>>> write our own style guide for the choices we make and keep it consistent.
>>>>> For example, there are about 6 different types of list.
>>>>>
>>>>> Ari
>>>>>
>>>>>
>>>>>
>>>>> On 26/05/11 10:05 AM, Andrus Adamchik wrote:
>>>>>>
>>>>>> Hi Ari,
>>>>>>
>>>>>> Very nice! I may try to continue writing 3.1 docs in a couple of days.
>>>>>> Since I will be on the plane and offline during that period, I'll probably
>>>>>> try to buy a PDF edition of Definitive Guide
>>>>>> (http://docbook.org/tdg5/en/html/docbook.html ) from OReilly.
>>>>>>
>>>>>> Also are there any recommended editors for Docbook XML? (I'd hate to
>>>>>> manually escape code chunks).
>>>>>>
>>>>>> Andrus
>>>>>>
>>>>>> On May 9, 2011, at 4:11 AM, Aristedes Maniatis wrote:
>>>>>>
>>>>>>> I realise I should have mentioned this to the dev list.
>>>>>>>
>>>>>>> Quick guide
>>>>>>>
>>>>>>> 1. svn up
>>>>>>> 2. cd main/trunk/docs/docbook/
>>>>>>> 3. mvn site
>>>>>>> 4. wait for maven to download the internet
>>>>>>> 5. open main/target/...
>>>>>>>
>>>>>>> Both PDF and html are generated.
>>>>>>>
>>>>>>> Ari
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -------- Original Message --------
>>>>>>> Subject: svn commit: r1098308 - in /cayenne/main/trunk/docs/docbook: ./
>>>>>>> css/ main/ main/src/ main/src/images/ stylesheets/
>>>>>>> Date: Sun, 01 May 2011 14:07:03 -0000
>>>>>>> From: amaniatis@apache.org
>>>>>>> Reply-To: dev@cayenne.apache.org
>>>>>>> To: commits@cayenne.apache.org
>>>>>>>
>>>>>>> Author: amaniatis
>>>>>>> Date: Sun May  1 14:07:02 2011
>>>>>>> New Revision: 1098308
>>>>>>>
>>>>>>> URL: http://svn.apache.org/viewvc?rev=1098308&view=rev
>>>>>>> Log:
>>>>>>> A very rough first cut of the docbook build scripts. This does a few
>>>>>>> things:
>>>>>>>
>>>>>>> 1. Builds the pdf and html docs when you execute "mvn site"
>>>>>>> 2. Obliterates the ugly and annoying default maven site behaviour
>>>>>>> 3. Applies style sheets, css, etc
>>>>>>> 4. Sets up some reasonable defaults for TOC and other styling
>>>>>>>
>>>>>>> What isn't done yet is pulling across more than just a few pages of
>>>>>>> sample docbook. This will take lots of effort
>>>>>>> And of course, making it more attractive, which can wait until later.
>>>>>>>
>>>>>>> I've put in some sample docbook elements which are interesting: lists,
>>>>>>> sections, link and xref, code snippets.
>>>>>>>
>>>>>>> This module has not yet been tied into the main Cayenne pom and it is in
>>>>>>> a folder location designed to keep out of the way of the existing
>>>>>>> documentation. When it is complete, we can move it into a better location.
>>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> -------------------------->
>>>>> Aristedes Maniatis
>>>>> GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> http://www.grobmeier.de
>>>>
>>>
>>>
>>
>>
>>
>> --
>> http://www.grobmeier.de
>>
>



-- 
http://www.grobmeier.de
https://www.timeandbill.de

Re: docbook

Posted by Aristedes Maniatis <ar...@maniatis.org>.
Hi Andrus

I meant to write about this, but completely forgot. I just the other day wrote to Oxygen people about exactly the same thing and they came back to me with a free updated licenses within about 4 hours.

Just send them your existing license file for reference so they can look it up.

Cheers

Ari

On 4/01/12 2:11 AM, Andrus Adamchik wrote:
> Hi Christian,
>
> Sorry to disturb you with this. Is it possible to get licenses for version 13? For some reason my version 12 of Oxygen suddenly started to crash on Mac during startup (maybe caused by Java or OS updates?) :
>
> Cannot start<oXygen/>  XML Editor.
> Due to:java.lang.reflect.InvocationTargetException
> java.lang.reflect.InvocationTargetException
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> 	at ro.sync.ui.application.ApplicationLauncher.g(Unknown Source)
>
>
> Thanks,
> Andrus
>
>
> On May 29, 2011, at 12:48 PM, Christian Grobmeier wrote:
>
>> I have just asked for the licenses for Andrus, Aristedes and Michael
>> (no other responses).
>> WIll let you know about the next steps when I have info.
>>
>> Cheers
>>
>>
>> On Thu, May 26, 2011 at 2:57 PM, Andrus Adamchik<an...@objectstyle.org>  wrote:
>>> Here is the list of committers with Apache IDs:
>>>
>>> http://cayenne.apache.org/contributors.html
>>>
>>> At least aadamchik and amaniatis will need this. Anyone else?
>>>
>>> Andrus
>>>
>>> On May 26, 2011, at 1:31 AM, Christian Grobmeier wrote:
>>>
>>>>> By far the best tool for writing docbook is Oxygen. We have had an offer for
>>>>> free licenses for the Cayenne committers, should we go down the docbook
>>>>> path.
>>>>
>>>> Thats correct - I just need to know the full names and apache ids to
>>>> request the Oxygen licenses.
>>>>
>>>> Cheers,
>>>> Christian
>>>>
>>>>
>>>>>
>>>>> I've tried some html to docbook converters, but the effort to clean up the
>>>>> result was about equal to the effort in just copying the text over by hand.
>>>>>
>>>>> The thing with docbook is that there are 10 ways to do anything. We need to
>>>>> write our own style guide for the choices we make and keep it consistent.
>>>>> For example, there are about 6 different types of list.
>>>>>
>>>>> Ari
>>>>>
>>>>>
>>>>>
>>>>> On 26/05/11 10:05 AM, Andrus Adamchik wrote:
>>>>>>
>>>>>> Hi Ari,
>>>>>>
>>>>>> Very nice! I may try to continue writing 3.1 docs in a couple of days.
>>>>>> Since I will be on the plane and offline during that period, I'll probably
>>>>>> try to buy a PDF edition of Definitive Guide
>>>>>> (http://docbook.org/tdg5/en/html/docbook.html ) from OReilly.
>>>>>>
>>>>>> Also are there any recommended editors for Docbook XML? (I'd hate to
>>>>>> manually escape code chunks).
>>>>>>
>>>>>> Andrus
>>>>>>
>>>>>> On May 9, 2011, at 4:11 AM, Aristedes Maniatis wrote:
>>>>>>
>>>>>>> I realise I should have mentioned this to the dev list.
>>>>>>>
>>>>>>> Quick guide
>>>>>>>
>>>>>>> 1. svn up
>>>>>>> 2. cd main/trunk/docs/docbook/
>>>>>>> 3. mvn site
>>>>>>> 4. wait for maven to download the internet
>>>>>>> 5. open main/target/...
>>>>>>>
>>>>>>> Both PDF and html are generated.
>>>>>>>
>>>>>>> Ari
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -------- Original Message --------
>>>>>>> Subject: svn commit: r1098308 - in /cayenne/main/trunk/docs/docbook: ./
>>>>>>> css/ main/ main/src/ main/src/images/ stylesheets/
>>>>>>> Date: Sun, 01 May 2011 14:07:03 -0000
>>>>>>> From: amaniatis@apache.org
>>>>>>> Reply-To: dev@cayenne.apache.org
>>>>>>> To: commits@cayenne.apache.org
>>>>>>>
>>>>>>> Author: amaniatis
>>>>>>> Date: Sun May  1 14:07:02 2011
>>>>>>> New Revision: 1098308
>>>>>>>
>>>>>>> URL: http://svn.apache.org/viewvc?rev=1098308&view=rev
>>>>>>> Log:
>>>>>>> A very rough first cut of the docbook build scripts. This does a few
>>>>>>> things:
>>>>>>>
>>>>>>> 1. Builds the pdf and html docs when you execute "mvn site"
>>>>>>> 2. Obliterates the ugly and annoying default maven site behaviour
>>>>>>> 3. Applies style sheets, css, etc
>>>>>>> 4. Sets up some reasonable defaults for TOC and other styling
>>>>>>>
>>>>>>> What isn't done yet is pulling across more than just a few pages of
>>>>>>> sample docbook. This will take lots of effort
>>>>>>> And of course, making it more attractive, which can wait until later.
>>>>>>>
>>>>>>> I've put in some sample docbook elements which are interesting: lists,
>>>>>>> sections, link and xref, code snippets.
>>>>>>>
>>>>>>> This module has not yet been tied into the main Cayenne pom and it is in
>>>>>>> a folder location designed to keep out of the way of the existing
>>>>>>> documentation. When it is complete, we can move it into a better location.
>>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> -------------------------->
>>>>> Aristedes Maniatis
>>>>> GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> http://www.grobmeier.de
>>>>
>>>
>>>
>>
>>
>>
>> --
>> http://www.grobmeier.de
>>
>

-- 
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

Re: docbook

Posted by Andrus Adamchik <an...@objectstyle.org>.
Hi Christian,

Sorry to disturb you with this. Is it possible to get licenses for version 13? For some reason my version 12 of Oxygen suddenly started to crash on Mac during startup (maybe caused by Java or OS updates?) : 

Cannot start <oXygen/> XML Editor.
Due to:java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at ro.sync.ui.application.ApplicationLauncher.g(Unknown Source)


Thanks,
Andrus


On May 29, 2011, at 12:48 PM, Christian Grobmeier wrote:

> I have just asked for the licenses for Andrus, Aristedes and Michael
> (no other responses).
> WIll let you know about the next steps when I have info.
> 
> Cheers
> 
> 
> On Thu, May 26, 2011 at 2:57 PM, Andrus Adamchik <an...@objectstyle.org> wrote:
>> Here is the list of committers with Apache IDs:
>> 
>> http://cayenne.apache.org/contributors.html
>> 
>> At least aadamchik and amaniatis will need this. Anyone else?
>> 
>> Andrus
>> 
>> On May 26, 2011, at 1:31 AM, Christian Grobmeier wrote:
>> 
>>>> By far the best tool for writing docbook is Oxygen. We have had an offer for
>>>> free licenses for the Cayenne committers, should we go down the docbook
>>>> path.
>>> 
>>> Thats correct - I just need to know the full names and apache ids to
>>> request the Oxygen licenses.
>>> 
>>> Cheers,
>>> Christian
>>> 
>>> 
>>>> 
>>>> I've tried some html to docbook converters, but the effort to clean up the
>>>> result was about equal to the effort in just copying the text over by hand.
>>>> 
>>>> The thing with docbook is that there are 10 ways to do anything. We need to
>>>> write our own style guide for the choices we make and keep it consistent.
>>>> For example, there are about 6 different types of list.
>>>> 
>>>> Ari
>>>> 
>>>> 
>>>> 
>>>> On 26/05/11 10:05 AM, Andrus Adamchik wrote:
>>>>> 
>>>>> Hi Ari,
>>>>> 
>>>>> Very nice! I may try to continue writing 3.1 docs in a couple of days.
>>>>> Since I will be on the plane and offline during that period, I'll probably
>>>>> try to buy a PDF edition of Definitive Guide
>>>>> (http://docbook.org/tdg5/en/html/docbook.html ) from OReilly.
>>>>> 
>>>>> Also are there any recommended editors for Docbook XML? (I'd hate to
>>>>> manually escape code chunks).
>>>>> 
>>>>> Andrus
>>>>> 
>>>>> On May 9, 2011, at 4:11 AM, Aristedes Maniatis wrote:
>>>>> 
>>>>>> I realise I should have mentioned this to the dev list.
>>>>>> 
>>>>>> Quick guide
>>>>>> 
>>>>>> 1. svn up
>>>>>> 2. cd main/trunk/docs/docbook/
>>>>>> 3. mvn site
>>>>>> 4. wait for maven to download the internet
>>>>>> 5. open main/target/...
>>>>>> 
>>>>>> Both PDF and html are generated.
>>>>>> 
>>>>>> Ari
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> -------- Original Message --------
>>>>>> Subject: svn commit: r1098308 - in /cayenne/main/trunk/docs/docbook: ./
>>>>>> css/ main/ main/src/ main/src/images/ stylesheets/
>>>>>> Date: Sun, 01 May 2011 14:07:03 -0000
>>>>>> From: amaniatis@apache.org
>>>>>> Reply-To: dev@cayenne.apache.org
>>>>>> To: commits@cayenne.apache.org
>>>>>> 
>>>>>> Author: amaniatis
>>>>>> Date: Sun May  1 14:07:02 2011
>>>>>> New Revision: 1098308
>>>>>> 
>>>>>> URL: http://svn.apache.org/viewvc?rev=1098308&view=rev
>>>>>> Log:
>>>>>> A very rough first cut of the docbook build scripts. This does a few
>>>>>> things:
>>>>>> 
>>>>>> 1. Builds the pdf and html docs when you execute "mvn site"
>>>>>> 2. Obliterates the ugly and annoying default maven site behaviour
>>>>>> 3. Applies style sheets, css, etc
>>>>>> 4. Sets up some reasonable defaults for TOC and other styling
>>>>>> 
>>>>>> What isn't done yet is pulling across more than just a few pages of
>>>>>> sample docbook. This will take lots of effort
>>>>>> And of course, making it more attractive, which can wait until later.
>>>>>> 
>>>>>> I've put in some sample docbook elements which are interesting: lists,
>>>>>> sections, link and xref, code snippets.
>>>>>> 
>>>>>> This module has not yet been tied into the main Cayenne pom and it is in
>>>>>> a folder location designed to keep out of the way of the existing
>>>>>> documentation. When it is complete, we can move it into a better location.
>>>>>> 
>>>>> 
>>>> 
>>>> --
>>>> -------------------------->
>>>> Aristedes Maniatis
>>>> GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> http://www.grobmeier.de
>>> 
>> 
>> 
> 
> 
> 
> -- 
> http://www.grobmeier.de
> 


Re: docbook

Posted by Christian Grobmeier <gr...@gmail.com>.
I have just asked for the licenses for Andrus, Aristedes and Michael
(no other responses).
WIll let you know about the next steps when I have info.

Cheers


On Thu, May 26, 2011 at 2:57 PM, Andrus Adamchik <an...@objectstyle.org> wrote:
> Here is the list of committers with Apache IDs:
>
> http://cayenne.apache.org/contributors.html
>
> At least aadamchik and amaniatis will need this. Anyone else?
>
> Andrus
>
> On May 26, 2011, at 1:31 AM, Christian Grobmeier wrote:
>
>>> By far the best tool for writing docbook is Oxygen. We have had an offer for
>>> free licenses for the Cayenne committers, should we go down the docbook
>>> path.
>>
>> Thats correct - I just need to know the full names and apache ids to
>> request the Oxygen licenses.
>>
>> Cheers,
>> Christian
>>
>>
>>>
>>> I've tried some html to docbook converters, but the effort to clean up the
>>> result was about equal to the effort in just copying the text over by hand.
>>>
>>> The thing with docbook is that there are 10 ways to do anything. We need to
>>> write our own style guide for the choices we make and keep it consistent.
>>> For example, there are about 6 different types of list.
>>>
>>> Ari
>>>
>>>
>>>
>>> On 26/05/11 10:05 AM, Andrus Adamchik wrote:
>>>>
>>>> Hi Ari,
>>>>
>>>> Very nice! I may try to continue writing 3.1 docs in a couple of days.
>>>> Since I will be on the plane and offline during that period, I'll probably
>>>> try to buy a PDF edition of Definitive Guide
>>>> (http://docbook.org/tdg5/en/html/docbook.html ) from OReilly.
>>>>
>>>> Also are there any recommended editors for Docbook XML? (I'd hate to
>>>> manually escape code chunks).
>>>>
>>>> Andrus
>>>>
>>>> On May 9, 2011, at 4:11 AM, Aristedes Maniatis wrote:
>>>>
>>>>> I realise I should have mentioned this to the dev list.
>>>>>
>>>>> Quick guide
>>>>>
>>>>> 1. svn up
>>>>> 2. cd main/trunk/docs/docbook/
>>>>> 3. mvn site
>>>>> 4. wait for maven to download the internet
>>>>> 5. open main/target/...
>>>>>
>>>>> Both PDF and html are generated.
>>>>>
>>>>> Ari
>>>>>
>>>>>
>>>>>
>>>>> -------- Original Message --------
>>>>> Subject: svn commit: r1098308 - in /cayenne/main/trunk/docs/docbook: ./
>>>>> css/ main/ main/src/ main/src/images/ stylesheets/
>>>>> Date: Sun, 01 May 2011 14:07:03 -0000
>>>>> From: amaniatis@apache.org
>>>>> Reply-To: dev@cayenne.apache.org
>>>>> To: commits@cayenne.apache.org
>>>>>
>>>>> Author: amaniatis
>>>>> Date: Sun May  1 14:07:02 2011
>>>>> New Revision: 1098308
>>>>>
>>>>> URL: http://svn.apache.org/viewvc?rev=1098308&view=rev
>>>>> Log:
>>>>> A very rough first cut of the docbook build scripts. This does a few
>>>>> things:
>>>>>
>>>>> 1. Builds the pdf and html docs when you execute "mvn site"
>>>>> 2. Obliterates the ugly and annoying default maven site behaviour
>>>>> 3. Applies style sheets, css, etc
>>>>> 4. Sets up some reasonable defaults for TOC and other styling
>>>>>
>>>>> What isn't done yet is pulling across more than just a few pages of
>>>>> sample docbook. This will take lots of effort
>>>>> And of course, making it more attractive, which can wait until later.
>>>>>
>>>>> I've put in some sample docbook elements which are interesting: lists,
>>>>> sections, link and xref, code snippets.
>>>>>
>>>>> This module has not yet been tied into the main Cayenne pom and it is in
>>>>> a folder location designed to keep out of the way of the existing
>>>>> documentation. When it is complete, we can move it into a better location.
>>>>>
>>>>
>>>
>>> --
>>> -------------------------->
>>> Aristedes Maniatis
>>> GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A
>>>
>>
>>
>>
>> --
>> http://www.grobmeier.de
>>
>
>



-- 
http://www.grobmeier.de

Re: docbook

Posted by Andrus Adamchik <an...@objectstyle.org>.
Here is the list of committers with Apache IDs:

http://cayenne.apache.org/contributors.html

At least aadamchik and amaniatis will need this. Anyone else?

Andrus

On May 26, 2011, at 1:31 AM, Christian Grobmeier wrote:

>> By far the best tool for writing docbook is Oxygen. We have had an offer for
>> free licenses for the Cayenne committers, should we go down the docbook
>> path.
> 
> Thats correct - I just need to know the full names and apache ids to
> request the Oxygen licenses.
> 
> Cheers,
> Christian
> 
> 
>> 
>> I've tried some html to docbook converters, but the effort to clean up the
>> result was about equal to the effort in just copying the text over by hand.
>> 
>> The thing with docbook is that there are 10 ways to do anything. We need to
>> write our own style guide for the choices we make and keep it consistent.
>> For example, there are about 6 different types of list.
>> 
>> Ari
>> 
>> 
>> 
>> On 26/05/11 10:05 AM, Andrus Adamchik wrote:
>>> 
>>> Hi Ari,
>>> 
>>> Very nice! I may try to continue writing 3.1 docs in a couple of days.
>>> Since I will be on the plane and offline during that period, I'll probably
>>> try to buy a PDF edition of Definitive Guide
>>> (http://docbook.org/tdg5/en/html/docbook.html ) from OReilly.
>>> 
>>> Also are there any recommended editors for Docbook XML? (I'd hate to
>>> manually escape code chunks).
>>> 
>>> Andrus
>>> 
>>> On May 9, 2011, at 4:11 AM, Aristedes Maniatis wrote:
>>> 
>>>> I realise I should have mentioned this to the dev list.
>>>> 
>>>> Quick guide
>>>> 
>>>> 1. svn up
>>>> 2. cd main/trunk/docs/docbook/
>>>> 3. mvn site
>>>> 4. wait for maven to download the internet
>>>> 5. open main/target/...
>>>> 
>>>> Both PDF and html are generated.
>>>> 
>>>> Ari
>>>> 
>>>> 
>>>> 
>>>> -------- Original Message --------
>>>> Subject: svn commit: r1098308 - in /cayenne/main/trunk/docs/docbook: ./
>>>> css/ main/ main/src/ main/src/images/ stylesheets/
>>>> Date: Sun, 01 May 2011 14:07:03 -0000
>>>> From: amaniatis@apache.org
>>>> Reply-To: dev@cayenne.apache.org
>>>> To: commits@cayenne.apache.org
>>>> 
>>>> Author: amaniatis
>>>> Date: Sun May  1 14:07:02 2011
>>>> New Revision: 1098308
>>>> 
>>>> URL: http://svn.apache.org/viewvc?rev=1098308&view=rev
>>>> Log:
>>>> A very rough first cut of the docbook build scripts. This does a few
>>>> things:
>>>> 
>>>> 1. Builds the pdf and html docs when you execute "mvn site"
>>>> 2. Obliterates the ugly and annoying default maven site behaviour
>>>> 3. Applies style sheets, css, etc
>>>> 4. Sets up some reasonable defaults for TOC and other styling
>>>> 
>>>> What isn't done yet is pulling across more than just a few pages of
>>>> sample docbook. This will take lots of effort
>>>> And of course, making it more attractive, which can wait until later.
>>>> 
>>>> I've put in some sample docbook elements which are interesting: lists,
>>>> sections, link and xref, code snippets.
>>>> 
>>>> This module has not yet been tied into the main Cayenne pom and it is in
>>>> a folder location designed to keep out of the way of the existing
>>>> documentation. When it is complete, we can move it into a better location.
>>>> 
>>> 
>> 
>> --
>> -------------------------->
>> Aristedes Maniatis
>> GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A
>> 
> 
> 
> 
> -- 
> http://www.grobmeier.de
> 


Re: docbook

Posted by Christian Grobmeier <gr...@gmail.com>.
> By far the best tool for writing docbook is Oxygen. We have had an offer for
> free licenses for the Cayenne committers, should we go down the docbook
> path.

Thats correct - I just need to know the full names and apache ids to
request the Oxygen licenses.

Cheers,
Christian


>
> I've tried some html to docbook converters, but the effort to clean up the
> result was about equal to the effort in just copying the text over by hand.
>
> The thing with docbook is that there are 10 ways to do anything. We need to
> write our own style guide for the choices we make and keep it consistent.
> For example, there are about 6 different types of list.
>
> Ari
>
>
>
> On 26/05/11 10:05 AM, Andrus Adamchik wrote:
>>
>> Hi Ari,
>>
>> Very nice! I may try to continue writing 3.1 docs in a couple of days.
>> Since I will be on the plane and offline during that period, I'll probably
>> try to buy a PDF edition of Definitive Guide
>> (http://docbook.org/tdg5/en/html/docbook.html ) from OReilly.
>>
>> Also are there any recommended editors for Docbook XML? (I'd hate to
>> manually escape code chunks).
>>
>> Andrus
>>
>> On May 9, 2011, at 4:11 AM, Aristedes Maniatis wrote:
>>
>>> I realise I should have mentioned this to the dev list.
>>>
>>> Quick guide
>>>
>>> 1. svn up
>>> 2. cd main/trunk/docs/docbook/
>>> 3. mvn site
>>> 4. wait for maven to download the internet
>>> 5. open main/target/...
>>>
>>> Both PDF and html are generated.
>>>
>>> Ari
>>>
>>>
>>>
>>> -------- Original Message --------
>>> Subject: svn commit: r1098308 - in /cayenne/main/trunk/docs/docbook: ./
>>> css/ main/ main/src/ main/src/images/ stylesheets/
>>> Date: Sun, 01 May 2011 14:07:03 -0000
>>> From: amaniatis@apache.org
>>> Reply-To: dev@cayenne.apache.org
>>> To: commits@cayenne.apache.org
>>>
>>> Author: amaniatis
>>> Date: Sun May  1 14:07:02 2011
>>> New Revision: 1098308
>>>
>>> URL: http://svn.apache.org/viewvc?rev=1098308&view=rev
>>> Log:
>>> A very rough first cut of the docbook build scripts. This does a few
>>> things:
>>>
>>> 1. Builds the pdf and html docs when you execute "mvn site"
>>> 2. Obliterates the ugly and annoying default maven site behaviour
>>> 3. Applies style sheets, css, etc
>>> 4. Sets up some reasonable defaults for TOC and other styling
>>>
>>> What isn't done yet is pulling across more than just a few pages of
>>> sample docbook. This will take lots of effort
>>> And of course, making it more attractive, which can wait until later.
>>>
>>> I've put in some sample docbook elements which are interesting: lists,
>>> sections, link and xref, code snippets.
>>>
>>> This module has not yet been tied into the main Cayenne pom and it is in
>>> a folder location designed to keep out of the way of the existing
>>> documentation. When it is complete, we can move it into a better location.
>>>
>>
>
> --
> -------------------------->
> Aristedes Maniatis
> GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A
>



-- 
http://www.grobmeier.de

Re: docbook

Posted by Aristedes Maniatis <ar...@maniatis.org>.
The best guide for writing docbook format is the online SageHill site.

   http://www.sagehill.net/docbookxsl/

By far the best tool for writing docbook is Oxygen. We have had an offer for free licenses for the Cayenne committers, should we go down the docbook path.

I've tried some html to docbook converters, but the effort to clean up the result was about equal to the effort in just copying the text over by hand.

The thing with docbook is that there are 10 ways to do anything. We need to write our own style guide for the choices we make and keep it consistent. For example, there are about 6 different types of list.

Ari



On 26/05/11 10:05 AM, Andrus Adamchik wrote:
> Hi Ari,
>
> Very nice! I may try to continue writing 3.1 docs in a couple of days. Since I will be on the plane and offline during that period, I'll probably try to buy a PDF edition of Definitive Guide (http://docbook.org/tdg5/en/html/docbook.html ) from OReilly.
>
> Also are there any recommended editors for Docbook XML? (I'd hate to manually escape code chunks).
>
> Andrus
>
> On May 9, 2011, at 4:11 AM, Aristedes Maniatis wrote:
>
>> I realise I should have mentioned this to the dev list.
>>
>> Quick guide
>>
>> 1. svn up
>> 2. cd main/trunk/docs/docbook/
>> 3. mvn site
>> 4. wait for maven to download the internet
>> 5. open main/target/...
>>
>> Both PDF and html are generated.
>>
>> Ari
>>
>>
>>
>> -------- Original Message --------
>> Subject: svn commit: r1098308 - in /cayenne/main/trunk/docs/docbook: ./ css/ main/ main/src/ main/src/images/ stylesheets/
>> Date: Sun, 01 May 2011 14:07:03 -0000
>> From: amaniatis@apache.org
>> Reply-To: dev@cayenne.apache.org
>> To: commits@cayenne.apache.org
>>
>> Author: amaniatis
>> Date: Sun May  1 14:07:02 2011
>> New Revision: 1098308
>>
>> URL: http://svn.apache.org/viewvc?rev=1098308&view=rev
>> Log:
>> A very rough first cut of the docbook build scripts. This does a few things:
>>
>> 1. Builds the pdf and html docs when you execute "mvn site"
>> 2. Obliterates the ugly and annoying default maven site behaviour
>> 3. Applies style sheets, css, etc
>> 4. Sets up some reasonable defaults for TOC and other styling
>>
>> What isn't done yet is pulling across more than just a few pages of sample docbook. This will take lots of effort
>> And of course, making it more attractive, which can wait until later.
>>
>> I've put in some sample docbook elements which are interesting: lists, sections, link and xref, code snippets.
>>
>> This module has not yet been tied into the main Cayenne pom and it is in a folder location designed to keep out of the way of the existing documentation. When it is complete, we can move it into a better location.
>>
>

-- 
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

docbook

Posted by Andrus Adamchik <an...@objectstyle.org>.
Hi Ari, 

Very nice! I may try to continue writing 3.1 docs in a couple of days. Since I will be on the plane and offline during that period, I'll probably try to buy a PDF edition of Definitive Guide (http://docbook.org/tdg5/en/html/docbook.html ) from OReilly. 

Also are there any recommended editors for Docbook XML? (I'd hate to manually escape code chunks). 

Andrus

On May 9, 2011, at 4:11 AM, Aristedes Maniatis wrote:

> I realise I should have mentioned this to the dev list.
> 
> Quick guide
> 
> 1. svn up
> 2. cd main/trunk/docs/docbook/
> 3. mvn site
> 4. wait for maven to download the internet
> 5. open main/target/...
> 
> Both PDF and html are generated.
> 
> Ari
> 
> 
> 
> -------- Original Message --------
> Subject: svn commit: r1098308 - in /cayenne/main/trunk/docs/docbook: ./ css/ main/ main/src/ main/src/images/ stylesheets/
> Date: Sun, 01 May 2011 14:07:03 -0000
> From: amaniatis@apache.org
> Reply-To: dev@cayenne.apache.org
> To: commits@cayenne.apache.org
> 
> Author: amaniatis
> Date: Sun May  1 14:07:02 2011
> New Revision: 1098308
> 
> URL: http://svn.apache.org/viewvc?rev=1098308&view=rev
> Log:
> A very rough first cut of the docbook build scripts. This does a few things:
> 
> 1. Builds the pdf and html docs when you execute "mvn site"
> 2. Obliterates the ugly and annoying default maven site behaviour
> 3. Applies style sheets, css, etc
> 4. Sets up some reasonable defaults for TOC and other styling
> 
> What isn't done yet is pulling across more than just a few pages of sample docbook. This will take lots of effort
> And of course, making it more attractive, which can wait until later.
> 
> I've put in some sample docbook elements which are interesting: lists, sections, link and xref, code snippets.
> 
> This module has not yet been tied into the main Cayenne pom and it is in a folder location designed to keep out of the way of the existing documentation. When it is complete, we can move it into a better location.
> 


Fwd: svn commit: r1098308 - in /cayenne/main/trunk/docs/docbook: ./ css/ main/ main/src/ main/src/images/ stylesheets/

Posted by Aristedes Maniatis <ar...@maniatis.org>.
I realise I should have mentioned this to the dev list.

Quick guide

1. svn up
2. cd main/trunk/docs/docbook/
3. mvn site
4. wait for maven to download the internet
5. open main/target/...

Both PDF and html are generated.

Ari



-------- Original Message --------
Subject: svn commit: r1098308 - in /cayenne/main/trunk/docs/docbook: ./ css/ main/ main/src/ main/src/images/ stylesheets/
Date: Sun, 01 May 2011 14:07:03 -0000
From: amaniatis@apache.org
Reply-To: dev@cayenne.apache.org
To: commits@cayenne.apache.org

Author: amaniatis
Date: Sun May  1 14:07:02 2011
New Revision: 1098308

URL: http://svn.apache.org/viewvc?rev=1098308&view=rev
Log:
A very rough first cut of the docbook build scripts. This does a few things:

1. Builds the pdf and html docs when you execute "mvn site"
2. Obliterates the ugly and annoying default maven site behaviour
3. Applies style sheets, css, etc
4. Sets up some reasonable defaults for TOC and other styling

What isn't done yet is pulling across more than just a few pages of sample docbook. This will take lots of effort
And of course, making it more attractive, which can wait until later.

I've put in some sample docbook elements which are interesting: lists, sections, link and xref, code snippets.

This module has not yet been tied into the main Cayenne pom and it is in a folder location designed to keep out of the way of the existing documentation. When it is complete, we can move it into a better location.


Added:
     cayenne/main/trunk/docs/docbook/
     cayenne/main/trunk/docs/docbook/css/
     cayenne/main/trunk/docs/docbook/css/cayenne-doc.css
     cayenne/main/trunk/docs/docbook/main/
     cayenne/main/trunk/docs/docbook/main/README
     cayenne/main/trunk/docs/docbook/main/pom.xml
     cayenne/main/trunk/docs/docbook/main/src/
     cayenne/main/trunk/docs/docbook/main/src/images/
     cayenne/main/trunk/docs/docbook/main/src/index.xml
     cayenne/main/trunk/docs/docbook/main/src/installation.xml
     cayenne/main/trunk/docs/docbook/main/src/part1-cayenne.xml
     cayenne/main/trunk/docs/docbook/main/src/part2-rop.xml
     cayenne/main/trunk/docs/docbook/main/src/part3-modeler.xml
     cayenne/main/trunk/docs/docbook/main/src/temp.xml
     cayenne/main/trunk/docs/docbook/pom.xml
     cayenne/main/trunk/docs/docbook/stylesheets/
     cayenne/main/trunk/docs/docbook/stylesheets/common-customizations.xsl
     cayenne/main/trunk/docs/docbook/stylesheets/html.xsl
     cayenne/main/trunk/docs/docbook/stylesheets/pdf.xsl

Added: cayenne/main/trunk/docs/docbook/css/cayenne-doc.css
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/css/cayenne-doc.css?rev=1098308&view=auto
==============================================================================
     (empty)

Added: cayenne/main/trunk/docs/docbook/main/README
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/main/README?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/main/README (added)
+++ cayenne/main/trunk/docs/docbook/main/README Sun May  1 14:07:02 2011
@@ -0,0 +1 @@
+Although it would be tempting to arrange the docbook source into various folders to organise them better, this causes havoc to relative image links once the source is transformed into html.
\ No newline at end of file

Added: cayenne/main/trunk/docs/docbook/main/pom.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/main/pom.xml?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/main/pom.xml (added)
+++ cayenne/main/trunk/docs/docbook/main/pom.xml Sun May  1 14:07:02 2011
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+	Licensed to the Apache Software Foundation (ASF) under one
+	or more contributor license agreements.  See the NOTICE file
+	distributed with this work for additional information
+	regarding copyright ownership.  The ASF licenses this file
+	to you 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.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+	<parent>
+		<groupId>org.apache.cayenne.docs</groupId>
+		<artifactId>cayenne-docbook</artifactId>
+		<version>3.1-SNAPSHOT</version>
+	</parent>
+	<modelVersion>4.0.0</modelVersion>
+	<groupId>org.apache.cayenne.docs</groupId>
+	<artifactId>cayenne-docbook-main</artifactId>
+	<name>Cayenne Docbook Main Documenation</name>
+	
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>com.agilejava.docbkx</groupId>
+				<artifactId>docbkx-maven-plugin</artifactId>
+				<configuration>
+					<sourceDirectory>src</sourceDirectory>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+</project>
\ No newline at end of file

Added: cayenne/main/trunk/docs/docbook/main/src/index.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/main/src/index.xml?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/main/src/index.xml (added)
+++ cayenne/main/trunk/docs/docbook/main/src/index.xml Sun May  1 14:07:02 2011
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<book xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:id="manual"
+	xmlns:xi="http://www.w3.org/2001/XInclude">
+	<info>
+		<title>Cayenne User Manual</title>
+		<copyright>
+			<year>2011</year>
+			<holder>Apache Software Foundation</holder>
+		</copyright>
+		<authorgroup>
+			<author>
+				<personname>Aristedes Maniatis</personname>
+			</author>
+			<author>
+				<personname>...more names...</personname>
+			</author>
+		</authorgroup>
+		<legalnotice>
+			<title>License</title>
+			<para>Licensed to the Apache Software Foundation (ASF) under one
+			or more contributor license agreements.  See the NOTICE file
+			distributed with this work for additional information
+			regarding copyright ownership.  The ASF licenses this file
+			to you 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</para>
+
+			<para>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.</para>
+		</legalnotice>
+	</info>
+	<xi:include href="part1-cayenne.xml" />
+	<xi:include href="part2-rop.xml" />
+	<xi:include href="part3-modeler.xml" />
+</book>

Added: cayenne/main/trunk/docs/docbook/main/src/installation.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/main/src/installation.xml?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/main/src/installation.xml (added)
+++ cayenne/main/trunk/docs/docbook/main/src/installation.xml Sun May  1 14:07:02 2011
@@ -0,0 +1,142 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
+	version="5.0" xml:id="installation">
+	<title>Installation</title>
+	<section xml:id="installation-systemRequirements">
+		<title>System Requirements</title>
+		<itemizedlist>
+			<listitem>
+				<para><emphasis>JDK:</emphasis> Cayenne, including GUI tools, is written in 100%
+					Java, and runs on any Java-compatible platform. Required JDK version is 1.5 or
+					higher. (The last version of Cayenne compatible with JDK 1.4 is 2.0.x; JDK 1.3
+					requires 1.1.x)</para>
+			</listitem>
+			<listitem>
+				<para><emphasis>JDBC Driver:</emphasis> You will need a JDBC driver to access the
+					database. Information about various drivers and database-specific configuration
+					is provided on the <link xlink:href="#database-support">Database Support</link>
+					page.</para>
+			</listitem>
+			<listitem>
+				<para><emphasis>Third-party Libraries:</emphasis> Depending on the application
+					nature, Cayenne may optionally require a few third-party open source packages. See <xref xlink:href="#installation-dependencies"/></para>
+			</listitem>
+		</itemizedlist>
+	</section>
+	<section xml:id="installation-obtainingCayenne">
+		<title>Obtaining Cayenne</title>
+		<para>Installing Cayenne is simple - just download and unpack the distribution. <link
+				xlink:href="http://cayenne.apache.org/download.html">Select a distribution</link>
+			for your development platform (cross-platform version, as the name implies, works on any
+			OS that has Java).</para>
+		<para>Once you've done that, you can <link xlink:href="#modeler-running">start the
+				Modeler</link> and use appropriate jar files in your application. See <link
+				xlink:href="../../../Documentation/Cayenne Guide/Installation/JAR Files and Dependencies/index.html"
+				>JAR Files and Dependencies</link> for more information. </para>
+		<para>If you are using Maven2, the runtime dependencies can be obtained in a standard Maven
+			way (i.e. <link
+				xlink:href="../../../Documentation/Cayenne Guide/Installation/Cayenne and Maven/index.html"
+				>by declaring them in the POM</link>), still you likely want to download the
+			distribution, as it includes the Modeler.</para>
+	</section>
+	<section xml:id="installation-maven">
+		<title>Using Cayenne in a maven project</title>
+		<para>Cayenne publishes Maven artifacts to the central Maven repository, so they can be
+			declared as dependencies in the user application pom.xml.</para>
+		<para><programlisting>
+&lt;dependency>
+   &lt;groupId>org.apache.cayenne&lt;/groupId>
+   &lt;artifactId>cayenne-server&lt;/artifactId>
+   &lt;version><?eval ${project.version}?>&lt;/version>
+&lt;/dependency>
+...
+&lt;dependency>
+   &lt;groupId>org.apache.cayenne&lt;/groupId>
+   &lt;artifactId>cayenne-client&lt;/artifactId>
+   &lt;version><?eval ${project.version}?>&lt;/version>
+&lt;/dependency>
+		</programlisting></para>
+	</section>
+	<section xml:id="installation-dependencies">
+		<title>Cayenne dependencies</title>
+		<para>If you aren't using Maven or Ivy to manage your dependencies, you might want to
+			install the jars by hand. This section explains where all the relevant jar files are
+			located. The following runtime jars are included in Cayenne distribution
+				<literal>lib</literal> directory:</para>
+		<itemizedlist>
+			<listitem>
+				<para><literal>cayenne-server-<?eval ${project.version}?>.jar</literal> contains
+					full Cayenne runtime WITHOUT dependencies. Most applications will use only this
+					file.</para>
+			</listitem>
+			<listitem>
+				<para><literal>cayenne-client-<?eval ${project.version}?>.jar</literal> - a subset of
+					cayenne-server.jar trimmed for use on the client in an <link xlink:href="#part2"
+						>ROP application</link>.</para>
+			</listitem>
+			<listitem>
+				<para><literal>cayenne-tools-<?eval ${project.version}?>.jar</literal> - Ant tasks</para>
+			</listitem>
+		</itemizedlist>
+		<para>When using <literal>cayenne-server-<?eval ${project.version}?>.jar</literal> you'll need a few third
+			party jars (all included in <literal>lib/third-party</literal> directory of the
+			distribution):</para>
+		<itemizedlist>
+			<listitem>
+				<para><link xlink:href="http://jakarta.apache.org/velocity/">Apache Velocity
+						Template Engine</link>, version 1.6.x (and all its dependencies bundled
+					with velocity-dep)</para>
+			</listitem>
+			<listitem>
+				<para><link xlink:href="http://jakarta.apache.org/commons/collections">Apache
+						Commons Collections</link>, version 3.1</para>
+			</listitem>
+			<listitem>
+				<para><link xlink:href="http://jakarta.apache.org/commons/logging/">Apache Commons
+						Logging</link>, version 1.1</para>
+			</listitem>
+		</itemizedlist>
+		<para>ROP client dependencies are explained <link xlink:href="#rop-installation"
+			>here</link>.</para>
+	</section>
+	<section xml:id="installation-optionalDependencies">
+		<title>Cayenne optional dependencies</title>
+		<para>One or more of the following libraries may be needed depending on how you use
+			Cayenne:</para>
+		<itemizedlist>
+			<listitem>
+				<para><link xlink:href="http://ant.apache.org/">Apache Ant</link>, version 1.6 or
+					newer. Needed for <link xlink:href="#antTasks">Cayenne Ant Tasks</link>.</para>
+			</listitem>
+			<listitem>
+				<para><link xlink:href="http://jakarta.apache.org/commons/pool/">Apache Commons
+						Pool</link> , version 1.2 and <link
+						xlink:href="http://jakarta.apache.org/commons/dbcp/">Apache Commons
+						DBCP</link>, version 1.2.1. Needed if you use DBCPDataSourceFactory for one
+					of the DataNodes.</para>
+			</listitem>
+			<listitem>
+				<para><link xlink:href="http://www.jgroups.org/">JGroups</link>, version 2.2.7 or
+					newer. Needed if you plan to use remote notifications via JGroups
+					transport.</para>
+			</listitem>
+			<listitem>
+				<para><link xlink:href="http://java.sun.com/products/jms/">Java Messaging Service
+						(JMS)</link>. Needed if you plan to use remote notifications via JMS
+					transport.</para>
+			</listitem>
+			<listitem>
+				<para><link xlink:href="http://vpp.sourceforge.net/">Foundry Logic VPP
+						Library</link> , version 2.2.1 (included in
+						<literal>lib/third-party</literal> directory of the distribution). Needed
+					for <link xlink:href="#antTasks-cgen">class generation options</link> with
+					Ant.</para>
+			</listitem>
+			<listitem>
+				<para><link xlink:href="http://www.opensymphony.com/oscache/">OSCache</link> version
+					2.3.2 or newer. Needed if you plan to use OSCache as your <link
+						xlink:href="#caching-query">query results cache provider</link>.</para>
+			</listitem>
+		</itemizedlist>
+	</section>
+</chapter>

Added: cayenne/main/trunk/docs/docbook/main/src/part1-cayenne.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/main/src/part1-cayenne.xml?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/main/src/part1-cayenne.xml (added)
+++ cayenne/main/trunk/docs/docbook/main/src/part1-cayenne.xml Sun May  1 14:07:02 2011
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<part xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
+        xml:id="part1" xmlns:xi="http://www.w3.org/2001/XInclude">
+        <title>Installation</title>
+        <xi:include href="installation.xml"/>
+</part>

Added: cayenne/main/trunk/docs/docbook/main/src/part2-rop.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/main/src/part2-rop.xml?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/main/src/part2-rop.xml (added)
+++ cayenne/main/trunk/docs/docbook/main/src/part2-rop.xml Sun May  1 14:07:02 2011
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<part xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
+        xml:id="part2" xmlns:xi="http://www.w3.org/2001/XInclude">
+        <title>Remote object persistence</title>
+
+</part>

Added: cayenne/main/trunk/docs/docbook/main/src/part3-modeler.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/main/src/part3-modeler.xml?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/main/src/part3-modeler.xml (added)
+++ cayenne/main/trunk/docs/docbook/main/src/part3-modeler.xml Sun May  1 14:07:02 2011
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<part xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
+        xml:id="part3" xmlns:xi="http://www.w3.org/2001/XInclude">
+        <title>Cayenne modeler</title>
+</part>

Added: cayenne/main/trunk/docs/docbook/main/src/temp.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/main/src/temp.xml?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/main/src/temp.xml (added)
+++ cayenne/main/trunk/docs/docbook/main/src/temp.xml Sun May  1 14:07:02 2011
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<article version="5.0" xmlns="http://docbook.org/ns/docbook" xmlns:xl="http://www.w3.org/1999/xlink">
+  <info>
+    <title>Apache Cayenne Documentation - Cayenne and Maven</title>
+  </info>
+  <para><link xl:href="http://cayenne.apache.org/"><inlinemediaobject><imageobject role="html">
+          <imagedata fileref="./../../../../images/logo.gif" scalefit="1"/>
+        </imageobject>
+<imageobject role="fo">
+          <imagedata contentdepth="100%" contentwidth="" depth="" fileref="./../../../../images/logo.gif" scalefit="1" width="100%"/>
+        </imageobject>
+</inlinemediaobject></link></para>
+  <para><link xl:href="../../../../index.html">Cayenne User Documentation</link></para>
+   <para>Cayenne and Maven</para>
+  <anchor xml:id="cayenne_toc"/>
+  <itemizedlist><listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Introduction/index.html">Introduction</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Installation/index.html">Installation</link><itemizedlist><listitem>
+            <para><link xl:href="../../../../Documentation/Cayenne Guide/Installation/Upgrade/index.html">Upgrade</link></para>
+          </listitem>
+<listitem>
+            <para><link xl:href="../../../../Documentation/Cayenne Guide/Installation/JAR Files and Dependencies/index.html">JAR Files and Dependencies</link></para>
+          </listitem>
+<listitem>
+            <para><link xl:href="../../../../Documentation/Cayenne Guide/Installation/Cayenne and Maven/index.html">Cayenne and Maven</link><itemizedlist><listitem>
+                  <para/>
+                </listitem>
+</itemizedlist></para>
+          </listitem>
+</itemizedlist></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Tutorial/index.html">Tutorial</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Design/index.html">Design</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/DataContext/index.html">DataContext</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Queries/index.html">Queries</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/DataObjects/index.html">DataObjects</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Stored Procedures/index.html">Stored Procedures</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Expressions/index.html">Expressions</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Lifecycle Callbacks/index.html">Lifecycle Callbacks</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Performance Tuning/index.html">Performance Tuning</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Caching and Fresh Data/index.html">Caching and Fresh Data</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Deployment/index.html">Deployment</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Ant Tasks/index.html">Ant Tasks</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Maven2 Plugins/index.html">Maven2 Plugins</link></para>
+    </listitem>
+<listitem>
+      <para><link xl:href="../../../../Documentation/Cayenne Guide/Customization/index.html">Customization</link></para>
+    </listitem>
+</itemizedlist>
+  <anchor xml:id="ConfluenceContent"/>
+  <section remap="h2">
+    <title><anchor xml:id="CayenneandMaven-CayenneandMaven" xreflabel=""/>Cayenne and Maven</title>
+    <para>Cayenne publishes Maven2 artifacts to the central Maven repository, so they can be declared as dependencies in the user application <literal>pom.xml</literal>:</para>
+    <screen>&lt;dependency&gt;
+   &lt;groupId&gt;org.apache.cayenne&lt;/groupId&gt;
+   &lt;artifactId&gt;cayenne-server&lt;/artifactId&gt;
+   &lt;version&gt;X.Y&lt;/version&gt;
+&lt;/dependency&gt;
+...
+&lt;dependency&gt;
+   &lt;groupId&gt;org.apache.cayenne&lt;/groupId&gt;
+   &lt;artifactId&gt;cayenne-client&lt;/artifactId&gt;
+   &lt;version&gt;X.Y&lt;/version&gt;
+&lt;/dependency&gt;
+</screen>
+    <para>. Copyright ©2001-2010 Apache Software Foundation </para>
+  </section>
+</article>

Added: cayenne/main/trunk/docs/docbook/pom.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/pom.xml?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/pom.xml (added)
+++ cayenne/main/trunk/docs/docbook/pom.xml Sun May  1 14:07:02 2011
@@ -0,0 +1,172 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+	Licensed to the Apache Software Foundation (ASF) under one
+	or more contributor license agreements.  See the NOTICE file
+	distributed with this work for additional information
+	regarding copyright ownership.  The ASF licenses this file
+	to you 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.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+	<modelVersion>4.0.0</modelVersion>
+
+	<parent>
+		<groupId>org.apache.cayenne.parents</groupId>
+		<artifactId>cayenne-docs-parent</artifactId>
+		<version>3.1-SNAPSHOT</version>
+	</parent>
+	
+	<modules>
+		<module>main</module>
+	</modules>
+
+	<groupId>org.apache.cayenne.docs</groupId>
+	<artifactId>cayenne-docbook</artifactId>
+	<name>Cayenne Docbook Documenation</name>
+	<packaging>pom</packaging>
+
+	<distributionManagement>
+		<site>
+			<id>website</id>
+			<url>scp://people.apache.org/www/cayenne/docbook/</url>
+		</site>
+	</distributionManagement>
+	
+	<build>
+		<pluginManagement>
+			<plugins>
+				<plugin>
+					<groupId>com.agilejava.docbkx</groupId>
+					<artifactId>docbkx-maven-plugin</artifactId>
+					<version>2.0.11</version>
+					<dependencies>
+						<dependency>
+							<groupId>org.docbook</groupId>
+							<artifactId>docbook-xml</artifactId>
+							<version>4.4</version>
+							<scope>runtime</scope>
+						</dependency>
+					</dependencies>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-antrun-plugin</artifactId>
+					<version>1.6</version>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-site-plugin</artifactId>
+					<version>2.2</version>
+				</plugin>
+			</plugins>
+		</pluginManagement>
+		
+		
+		<plugins>
+			<plugin>
+				<groupId>com.agilejava.docbkx</groupId>
+				<artifactId>docbkx-maven-plugin</artifactId>
+				<configuration>
+					<xincludeSupported>true</xincludeSupported>
+					<highlightSource>true</highlightSource>
+					<targetDirectory>${basedir}/target/site/</targetDirectory>
+					<sourceDirectory>disabled-for-parent-pom</sourceDirectory>
+					<includes>index.xml</includes>				
+				</configuration>
+				<executions>
+					<execution>
+						<id>builcd-pdf</id>
+						<configuration>
+							<foCustomization>${project.parent.basedir}/stylesheets/pdf.xsl</foCustomization>
+							<postProcess>
+								<delete failonerror="false">
+									<fileset dir="target/site/" includes="*.fo"/>
+								</delete>
+								<move file="target/site/index.pdf" tofile="target/site/${project.artifactId}.pdf"/>
+							</postProcess>
+						</configuration>
+						<phase>site</phase>
+						<goals>
+							<goal>generate-pdf</goal>
+						</goals>
+					</execution>
+					<execution>
+						<id>build-html</id>
+						<configuration>
+							<htmlCustomization>${project.parent.basedir}/stylesheets/html.xsl</htmlCustomization>
+							<chunkedOutput>true</chunkedOutput>
+							<postProcess>
+								<copy todir="${basedir}/target/site/css">
+									<fileset dir="${project.parent.basedir}/css"/>
+								</copy>
+								<copy todir="${basedir}/target/site/images">
+									<fileset dir="${basedir}/src/images"/>
+								</copy>
+							</postProcess>
+						</configuration>
+						<phase>site</phase>
+						<goals>
+							<goal>generate-html</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-site-plugin</artifactId>
+				<configuration>
+					<generateReports>false</generateReports>
+					<sourceDirectory>src</sourceDirectory>
+					<includes>index.xml</includes>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-antrun-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>cleanup-maven</id>
+						<phase>site</phase>
+						<goals>
+							<goal>run</goal>
+						</goals>
+						<configuration>
+							<target>
+								<delete failonerror="false">
+									<filelist dir="target/site/css" files="maven-base.css,maven-theme.css,print.css,site.css"/>
+									<!-- collapsed.gifx is deliberately mispelt since we want to leave one image behind to avoid a maven problem with deploying a completely empty site -->
+									<filelist dir="target/site/images" files="collapsed.gifx,external.png,icon_info_sml.gif,icon_warning_sml.gif,newwindow.png,expanded.gif,icon_error_sml.gif,icon_success_sml.gif"/>
+								</delete>
+								<delete dir="target/site/images/logos" failonerror="false"/>
+							</target>
+						</configuration>
+
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+		
+		
+		<extensions>
+			<extension>
+				<groupId>org.apache.maven.wagon</groupId>
+				<artifactId>wagon-ssh</artifactId>
+				<version>1.0-beta-7</version>
+			</extension>
+		</extensions>
+	</build>
+</project>

Added: cayenne/main/trunk/docs/docbook/stylesheets/common-customizations.xsl
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/stylesheets/common-customizations.xsl?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/stylesheets/common-customizations.xsl (added)
+++ cayenne/main/trunk/docs/docbook/stylesheets/common-customizations.xsl Sun May  1 14:07:02 2011
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+	Licensed to the Apache Software Foundation (ASF) under one
+	or more contributor license agreements.  See the NOTICE file
+	distributed with this work for additional information
+	regarding copyright ownership.  The ASF licenses this file
+	to you 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.
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+	<!-- The next line is needed to work with maven injecting the docbook stylesheets -->
+    <xsl:import href="urn:docbkx:stylesheet" />
+
+	<xsl:param name="keep.relative.image.uris" select="1"/>
+    <xsl:param name="toc.section.depth">1</xsl:param>
+
+    <!-- disable TOC for each part -->
+    <xsl:template name="generate.part.toc"></xsl:template>
+
+</xsl:stylesheet>

Added: cayenne/main/trunk/docs/docbook/stylesheets/html.xsl
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/stylesheets/html.xsl?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/stylesheets/html.xsl (added)
+++ cayenne/main/trunk/docs/docbook/stylesheets/html.xsl Sun May  1 14:07:02 2011
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+	Licensed to the Apache Software Foundation (ASF) under one
+	or more contributor license agreements.  See the NOTICE file
+	distributed with this work for additional information
+	regarding copyright ownership.  The ASF licenses this file
+	to you 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.
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+  <xsl:include href="common-customizations.xsl"/>
+
+  <xsl:param name="html.stylesheet" select="'css/cayenne-doc.css'"/>
+  <xsl:param name="chunker.output.encoding">UTF-8</xsl:param>
+
+  <!-- Only chapters start a new page -->
+  <xsl:param name="chunk.section.depth">0</xsl:param>
+
+  <!-- Don't add any embedded styles -->
+  <xsl:param name="css.decoration">0</xsl:param>
+
+  <xsl:param name="ignore.image.scaling">1</xsl:param>
+
+  <xsl:param name="use.id.as.filename">1</xsl:param>
+</xsl:stylesheet>

Added: cayenne/main/trunk/docs/docbook/stylesheets/pdf.xsl
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/stylesheets/pdf.xsl?rev=1098308&view=auto
==============================================================================
--- cayenne/main/trunk/docs/docbook/stylesheets/pdf.xsl (added)
+++ cayenne/main/trunk/docs/docbook/stylesheets/pdf.xsl Sun May  1 14:07:02 2011
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+	Licensed to the Apache Software Foundation (ASF) under one
+	or more contributor license agreements.  See the NOTICE file
+	distributed with this work for additional information
+	regarding copyright ownership.  The ASF licenses this file
+	to you 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.
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+	<xsl:include href="common-customizations.xsl"/>
+
+	<xsl:param name="paper.type">A4</xsl:param>
+
+	<!-- don't indent the body text -->
+	<xsl:param name="body.start.indent">0pt</xsl:param>
+
+	<!-- print headers and footers mirrored so double sided printing works -->
+	<xsl:param name="fop1.extensions" select="1"/>
+	<xsl:param name="double.sided" select="1"/>
+
+	<xsl:param name="admon.graphics" select="0"/>
+	<xsl:param name="admon.graphics.extension">.png</xsl:param>
+	<xsl:param name="admon.graphics.path">stylesheets/docbook-xsl-ns/images/</xsl:param>
+	<xsl:param name="admon.textlabel" select="1"/>
+
+	<xsl:param name="callout.graphics" select="1"/>
+	<xsl:param name="callout.graphics.extension">.png</xsl:param>
+	<xsl:param name="callout.graphics.path">stylesheets/docbook-xsl-ns/images/callouts/</xsl:param>
+
+	<xsl:param name="footer.rule">0</xsl:param>
+
+	<!-- Separation between glossary terms and descriptions when glossaries are presented using lists. -->
+	<xsl:param name="glossterm.separation">2em</xsl:param>
+
+	<!-- This parameter specifies the width reserved for glossary terms when a list presentation is used.  -->
+	<xsl:param name="glossterm.width">10em</xsl:param>
+
+	<!--  Specifies the longest term in variablelists. In variablelists, the listitem is indented to leave room for the term elements. The indent may be computed if it is not specified with a termlength attribute on the variablelist element. The computation counts characters in the term elements in the list to find the longest term. However, some terms are very long and would produce extreme indents. This parameter lets you set a maximum character count. Any terms longer than the maximum would line wrap. The default value is 24. The character counts are converted to physical widths by multiplying by 0.50em. There is some variability in how many characters fit in the space since some characters are wider than others. -->
+	<xsl:param name="variablelist.max.termlength">18</xsl:param>
+
+	<!-- Custom font settings - preferred truetype font -->
+	<xsl:param name="title.font.family">Lucinda Grande,sans-serif</xsl:param>
+	<xsl:param name="body.font.family">Times,serif</xsl:param>
+	<xsl:param name="sans.font.family">Lucinda Grande,sans-serif</xsl:param>
+	<xsl:param name="dingbat.font.family">Lucinda Grande,serif</xsl:param>
+	<xsl:param name="monospace.font.family">monospace</xsl:param>
+
+	<!-- Specify the default text alignment. The default text alignment is used for most body text. -->
+	<xsl:param name="alignment">left</xsl:param>
+
+
+	<!--  Specifies the default point size for body text. The body font size is specified in two parameters (body.font.master and body.font.size) so that math can be performed on the font size by XSLT. -->
+	<xsl:param name="body.font.master">11</xsl:param>
+
+	<xsl:param name="hyphenate">false</xsl:param>
+
+	<!-- "normal" is 1.6. This value is multiplied by the font size -->
+	<xsl:param name="line-height">1.5</xsl:param>
+
+	<!--  Specify the spacing required between normal paragraphs. -->
+	<xsl:attribute-set name="normal.para.spacing">
+		<xsl:attribute name="space-before.optimum">0.8em</xsl:attribute>
+		<xsl:attribute name="space-before.minimum">0.6em</xsl:attribute>
+		<xsl:attribute name="space-before.maximum">1.0em</xsl:attribute>
+	</xsl:attribute-set>
+
+	<!--  Tables, examples, figures, and equations don't need to be forced onto onto one page without page breaks. -->
+	<xsl:attribute-set name="formal.object.properties">
+		<xsl:attribute name="keep-together.within-column">auto</xsl:attribute>
+	</xsl:attribute-set>
+
+	<!-- The body bottom margin is the distance from the last line of text in the page body to the bottom of the region-after. -->
+	<xsl:param name="body.margin.bottom">20mm</xsl:param>
+
+	<!-- The body top margin is the distance from the top of the region-before to the first line of text in the page body. -->
+	<xsl:param name="body.margin.top">20mm</xsl:param>
+
+	<!-- The top page margin is the distance from the physical top of the page to the top of the region-before. -->
+	<xsl:param name="page.margin.top">10mm</xsl:param>
+
+	<!-- The bottom page margin is the distance from the bottom of the region-after to the physical bottom of the page. -->
+	<xsl:param name="page.margin.bottom">10mm</xsl:param>
+
+	<!-- The inner page margin. The inner page margin is the distance from binding edge of the page to the first column of text. In the left-to-right, top-to-bottom writing direction, this is the left margin of recto pages. The inner and outer margins are usually the same unless the output is double-sided. -->
+	<xsl:param name="page.margin.inner">25mm</xsl:param>
+
+	<!-- The outer page margin. The outer page margin is the distance from non-binding edge of the page to the last column of text. In the left-to-right, top-to-bottom writing direction, this is the right margin of recto pages. The inner and outer margins are usually the same unless the output is double-sided. -->
+	<xsl:param name="page.margin.outer">15mm</xsl:param>
+
+	<!-- Make hyperlinks blue and don't display the underlying URL -->
+	<xsl:param name="ulink.show" select="0" />
+
+	<xsl:attribute-set name="xref.properties">
+		<xsl:attribute name="color">blue</xsl:attribute>
+	</xsl:attribute-set>
+
+
+</xsl:stylesheet>