remm 01/02/08 23:52:08
Modified: src/doc changelog.xml howto-tomcat.xml news.xml project.xml
release.xml
src/doc/style document.xsl
Added: src/doc howto-jdbcstore.xml
Log:
- Add a howto fo configuring the JDBC store.
- Link to the nightly build results.
- Add release date for M7.
- Update changelog.
Revision Changes Path
1.25 +3 -0 jakarta-slide/src/doc/changelog.xml
Index: changelog.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/src/doc/changelog.xml,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- changelog.xml 2001/02/08 08:02:43 1.24
+++ changelog.xml 2001/02/09 07:52:06 1.25
@@ -50,6 +50,9 @@
<add>
Add a JDBC content store (slidestore.reference.JDBCContentStore) (RM)
</add>
+ <add>
+ Add some documentation on the configuration of the JDBC stores (RM)
+ </add>
</changelog>
</p>
1.7 +11 -3 jakarta-slide/src/doc/howto-tomcat.xml
Index: howto-tomcat.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/src/doc/howto-tomcat.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- howto-tomcat.xml 2001/01/18 01:21:48 1.6
+++ howto-tomcat.xml 2001/02/09 07:52:06 1.7
@@ -26,10 +26,10 @@
<p>
Slide has been successfully tested with Tomcat 3.1 and 3.2.
</p>
-
+
<p>
- Tomcat 3.1 has limitations with security and authentication, so using
- it is not recommended.
+ Tomcat 3.1 has severe limitations with security and authentication, so
+ using it is not recommended.
</p>
</section>
@@ -38,6 +38,14 @@
<p>
Slide has been successfully tested with Tomcat 4.0 and 4.1.
+ </p>
+
+ <p>
+ Tomcat 4 classloader will load classes from either the "lib" directory
+ or the "/WEB-INF/lib" and "/WEB-INF/classes" directories inside the
+ Slide webapp. Any library on which the stores used depend must be
+ placed in one of these directories. This includes any JDBC driver used
+ by the JDBC stores.
</p>
</section>
1.12 +8 -0 jakarta-slide/src/doc/news.xml
Index: news.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/src/doc/news.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- news.xml 2001/01/18 01:21:48 1.11
+++ news.xml 2001/02/09 07:52:06 1.12
@@ -6,6 +6,14 @@
<title>News</title>
+ <section title="02/11/2001 - Slide 1.0M7 released !">
+
+ <p>
+ Get it in <a
href="http://jakarta.apache.org/builds/jakarta-slide/release/1.0m7/jakarta-slide-1.0m7.zip">.zip</a>
or <a
href="http://jakarta.apache.org/builds/jakarta-slide/release/1.0m7/jakarta-slide-1.0m7.tar.gz">.tar.gz</a>
format.
+ </p>
+
+ </section>
+
<section title="01/20/2001 - Slide 1.0M6 released !">
<p>
1.14 +8 -6 jakarta-slide/src/doc/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/src/doc/project.xml,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- project.xml 2001/01/10 18:52:26 1.13
+++ project.xml 2001/02/09 07:52:07 1.14
@@ -16,6 +16,7 @@
<item name="Nightly"
href="http://jakarta.apache.org/builds/jakarta-slide/nightly/"/>
</menu>
<menu name="Resources">
+ <item name="Build Status"
href="http://jakarta.apache.org/builds/gump/latest/jakarta-slide.html"/>
<item name="Source"
href="http://jakarta.apache.org/builds/jakarta-slide/nightly/src/"/>
<item name="Mailing Lists"
href="http://jakarta.apache.org/getinvolved/mail.html"/>
<item name="CVS" href="http://jakarta.apache.org/getinvolved/cvsindex.html"/>
@@ -28,6 +29,7 @@
<item name="Examples" href="examples.xml"/>
<item name="Tomcat Howto" href="howto-tomcat.xml"/>
<item name="Avalon Howto" href="howto-avalon.xml"/>
+ <item name="JDBC Stores Howto" href="howto-jdbcstore.xml"/>
</menu>
<menu name="Programmer's Corner">
<item name="Architecture" href="architecture.xml"/>
@@ -53,17 +55,17 @@
</menu>
<notice>
- $Revision: 1.13 $ $Author: remm $ $Date: 2001/01/10 18:52:26 $
+ $Revision: 1.14 $ $Author: remm $ $Date: 2001/02/09 07:52:07 $
</notice>
<notice>
- Java, JDBC, JNDI, Sun, Sun Microsystems are trademarks or registered
- trademarks of Sun Microsystems, Inc. in the United States and in other
- countries. All other product names mentioned herein are trademarks of
- their respective owners.
+ Java, JDBC, JNDI, JTA, JMS, Sun, Sun Microsystems are trademarks
+ or registered trademarks of Sun Microsystems, Inc. in the United States
+ and in other countries. All other product names mentioned herein are
+ trademarks of their respective owners.
</notice>
<notice>
<a href="http://jakarta.apache.org">The Apache Software Foundation.</a>
- (C) 2000. All rights reserved
+ (C) 2000-2001. All rights reserved
</notice>
</project>
1.9 +12 -0 jakarta-slide/src/doc/release.xml
Index: release.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/src/doc/release.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- release.xml 2001/01/21 22:13:23 1.8
+++ release.xml 2001/02/09 07:52:07 1.9
@@ -8,6 +8,18 @@
<section title="Releases">
+ <section title="Slide 1.0M7">
+
+ <p>
+ Binaries :
+ <ul>
+ <li><a
href="http://jakarta.apache.org/builds/jakarta-slide/release/1.0m7/jakarta-slide-1.0m7.zip">.zip
format</a> (2.1M)</li>
+ <li><a
href="http://jakarta.apache.org/builds/jakarta-slide/release/1.0m7/jakarta-slide-1.0m7.tar.gz">.tar.gz
format</a> (1.7M)</li>
+ </ul>
+ </p>
+
+ </section>
+
<section title="Slide 1.0M6">
<p>
1.1 jakarta-slide/src/doc/howto-jdbcstore.xml
Index: howto-jdbcstore.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<document url="./howto-jdbcstore.xml">
<body>
<title>JDBC Store Howto</title>
<section title="Initialization">
<p>
On the first startup of the Store, it will attempt to automatically
create the appropriate tables in the database. The creation will fail
if any of the types used is not supported by the user's database, in
which case the tables have to be created before starting the store.
</p>
<p>
This document includes a number of SQL scripts which can be used with
various databases to create the tables. Contributions are welcome :)
</p>
<p>
Note: The JDBC store's goal is to be as compatible as possible.
Specific, high performance stores will eventually be developed, based
around some vendor XA driver.
</p>
</section>
<section title="Tables">
<p>
This section presents the database schema which is used by the JDBC
stores. The types mentioned are the Java types which are expected for
each field.
</p>
<section title="Objects">
<ul>
<li>uri: String</li>
<li>classname: String</li>
</ul>
</section>
<section title="Children">
<ul>
<li>uri: String</li>
<li>childuri: String</li>
</ul>
</section>
<section title="Links">
<ul>
<li>uri: String</li>
<li>linkto: String</li>
</ul>
</section>
<section title="Permissions">
<ul>
<li>object: String</li>
<li>subject: String</li>
<li>action: String</li>
<li>inheritable: int</li>
<li>negative: int</li>
</ul>
</section>
<section title="Locks">
<ul>
<li>id: String</li>
<li>object: String</li>
<li>subject: String</li>
<li>type: String</li>
<li>expirationdate: String</li>
<li>inheritable: int</li>
<li>xeclusive: int</li>
</ul>
</section>
<section title="Revisions">
<ul>
<li>uri: String</li>
<li>isversioned: int</li>
<li>initialrevision: String</li>
</ul>
</section>
<section title="Workingrevision">
<ul>
<li>uri: String</li>
<li>baserevision: String</li>
<li>xnumber: String</li>
</ul>
</section>
<section title="Latestrevisions">
<ul>
<li>uri: String</li>
<li>branchname: String</li>
<li>xnumber: String</li>
</ul>
</section>
<section title="Branches">
<ul>
<li>uri: String</li>
<li>xnumebr: String</li>
<li>childnumber: String</li>
</ul>
</section>
<section title="Revision">
<ul>
<li>uri: String</li>
<li>xnumber: String</li>
<li>branchname: String</li>
</ul>
</section>
<section title="Label">
<ul>
<li>uri: String</li>
<li>xnumber: String</li>
<li>label: String</li>
</ul>
</section>
<section title="Property">
<ul>
<li>uri: String</li>
<li>xnumber: String</li>
<li>name: String</li>
<li>value: String</li>
<li>namespace: String</li>
<li>type: String</li>
<li>protected: int</li>
</ul>
</section>
<section title="Revisioncontent">
<ul>
<li>uri: String</li>
<li>xnumber: String</li>
<li>content: byte[]</li>
</ul>
</section>
</section>
<section title="Hypersonic SQL">
<p>
The initialization script for hSQL is the one which is run at the
startup of the store.
</p>
<p>
<pre>
create table objects(uri varchar(65536) primary key, classname varchar(4096);
create table children(uri varchar(65536), childuri varchar(65536));
create table links(link varchar(65536), linkto varchar(65536));
create table permissions(object varchar(65536), subject varchar(65536), \
action varchar(65536), inheritable int, negative int);
create table locks(id varchar(65536), object varchar(4096), \
subject varchar(4096), type varchar(4096), \
expirationdate varchar(15), inheritable int, xexclusive int);
create table revisions(uri varchar(65536) primary key, \
isversioned int, initialrevision varchar(10));
create table workingrevision(uri varchar(65536), \
baserevision varchar(20), xnumber varchar(20));
create table latestrevisions(uri varchar(65536), \
branchname varchar(4096), xnumber varchar(20));
create table branches(uri varchar(65536), xnumber varchar(20), \
childnumber varchar(20));
create table revision(uri varchar(65536), xnumber varchar(20), \
branchname varchar(4096));
create table label(uri varchar(65536), xnumber varchar(20), \
label varchar(4096));
create table property(uri varchar(65536), xnumber varchar(20), \
name varchar(4096), value varchar(65536), namespace varchar(4096), \
type varchar(100), protected int);
create table revisioncontent(uri varchar(65536), xnumber varchar(20), \
content longvarbinary);
</pre>
</p>
</section>
</body>
</document>
1.3 +124 -164 jakarta-slide/src/doc/style/document.xsl
Index: document.xsl
===================================================================
RCS file: /home/cvs/jakarta-slide/src/doc/style/document.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- document.xsl 2000/12/15 07:38:59 1.2
+++ document.xsl 2001/02/09 07:52:08 1.3
@@ -1,164 +1,124 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!-- Document Stylesheet -->
-<!-- Ismael Ghalimi [EMAIL PROTECTED] -->
-<!-- Copyright (c) Exoffice Technologies, Inc. 1999 -->
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
- <!-- Process the document -->
- <xsl:template match="document">
- <xsl:apply-templates/>
- </xsl:template>
-
-
- <!-- Process the document properties -->
- <xsl:template match="document/properties">
- <table border="0" cellpadding="4" cellspacing="2">
- <xsl:for-each select="author">
- <tr>
- <td valign="top"><b>Author:</b></td>
- <td valign="top">
- <xsl:value-of select="."/> 
- <xsl:if test="@email">
- [ <a href="mailto:{@email}"><xsl:value-of select="@email"/></a> ]
- </xsl:if>
-<!--
- <xsl:if test="@ldap">
- [ <a href="ldap://{@ldap}">LDAP</a> ]<br/>
- </xsl:if>
- -->
- </td>
- </tr>
- </xsl:for-each>
- <xsl:if test="abstract">
- <tr>
- <td valign="top"><b>Abstract:</b></td>
- <td valign="top"><xsl:value-of select="abstract"/></td>
- </tr>
- </xsl:if>
- <xsl:if test="status">
- <tr>
- <td valign="top"><b>Status:</b></td>
- <td valign="top"><xsl:value-of select="status"/></td>
- </tr>
- </xsl:if>
- </table><br/>
- </xsl:template>
-
-
- <!-- Process the document body -->
- <xsl:template match="document/body">
- <xsl:if test="/document/properties/title">
- <br/>
- <h1><xsl:value-of select="/document/properties/title"/></h1>
- </xsl:if>
- <xsl:if test="header">
- <xsl:apply-templates select="header"/>
- </xsl:if>
-
- <xsl:for-each select=".//section">
- <small>
- <xsl:if test="@title">
- <xsl:variable name="level" select="count(ancestor::*)"/>
- <xsl:choose>
- <xsl:when test='$level=2'>
- <a href="#{@title}"><xsl:value-of select="@title"/></a><br/>
- </xsl:when>
- <xsl:when test='$level=3'>
-     <a href="#{@title}"><xsl:value-of
select="@title"/></a><br/>
- </xsl:when>
- </xsl:choose>
- </xsl:if>
- </small>
- </xsl:for-each>
- <br/>
-
- <xsl:apply-templates select="section"/>
-
- <xsl:if test="footer">
- <br/>
- <xsl:apply-templates select="footer"/>
- </xsl:if>
- </xsl:template>
-
-
- <!-- Process a section in the document. Nested sections are supported -->
- <xsl:template match="document//section">
-<!-- <xsl:number level="multiple" count="section" format="1.1"/>.   -->
- <xsl:variable name="level" select="count(ancestor::*)"/>
- <xsl:choose>
- <xsl:when test='$level=2'>
- <a name="{@title}"><h2><xsl:value-of select="@title"/></h2></a>
- </xsl:when>
- <xsl:when test='$level=3'>
- <a name="{@title}"><h3><xsl:value-of select="@title"/></h3></a>
- </xsl:when>
- <xsl:when test='$level=4'>
- <a name="{@title}"><h4><xsl:value-of select="@title"/></h4></a>
- </xsl:when>
- <xsl:when test='$level>=5'>
- <h5><xsl:copy-of select="@title"/></h5>
- </xsl:when>
- </xsl:choose>
- <blockquote>
- <xsl:apply-templates/>
- </blockquote>
- </xsl:template>
-
-
- <!-- Paragraphs are separated with one empty line -->
- <xsl:template match="p">
- <p><xsl:apply-templates/><br/></p>
- </xsl:template>
-
-
- <!-- Paragraphs are separated with one empty line -->x
- <xsl:template match="body-note">
- <blockquote><hr size="1" noshadow=""/><xsl:apply-templates/><hr size="1"
noshadow=""/></blockquote>
- </xsl:template>
-
- <xsl:template match="nbsp">
-  
- </xsl:template>
-
-</xsl:stylesheet>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- Document Stylesheet -->
+<!-- Ismael Ghalimi [EMAIL PROTECTED] -->
+<!-- Copyright (c) Exoffice Technologies, Inc. 1999 -->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+ <!-- Process the document -->
+ <xsl:template match="document">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+
+ <!-- Process the document properties -->
+ <xsl:template match="document/properties">
+ <table border="0" cellpadding="4" cellspacing="2">
+ <xsl:for-each select="author">
+ <tr>
+ <td valign="top"><b>Author:</b></td>
+ <td valign="top">
+ <xsl:value-of select="."/> 
+ <xsl:if test="@email">
+ [ <a href="mailto:{@email}"><xsl:value-of select="@email"/></a> ]
+ </xsl:if>
+<!--
+ <xsl:if test="@ldap">
+ [ <a href="ldap://{@ldap}">LDAP</a> ]<br/>
+ </xsl:if>
+ -->
+ </td>
+ </tr>
+ </xsl:for-each>
+ <xsl:if test="abstract">
+ <tr>
+ <td valign="top"><b>Abstract:</b></td>
+ <td valign="top"><xsl:value-of select="abstract"/></td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="status">
+ <tr>
+ <td valign="top"><b>Status:</b></td>
+ <td valign="top"><xsl:value-of select="status"/></td>
+ </tr>
+ </xsl:if>
+ </table><br/>
+ </xsl:template>
+
+
+ <!-- Process the document body -->
+ <xsl:template match="document/body">
+ <xsl:if test="/document/properties/title">
+ <br/>
+ <h1><xsl:value-of select="/document/properties/title"/></h1>
+ </xsl:if>
+ <xsl:if test="header">
+ <xsl:apply-templates select="header"/>
+ </xsl:if>
+
+ <xsl:for-each select=".//section">
+ <small>
+ <xsl:if test="@title">
+ <xsl:variable name="level" select="count(ancestor::*)"/>
+ <xsl:choose>
+ <xsl:when test='$level=2'>
+ <a href="#{@title}"><xsl:value-of select="@title"/></a><br/>
+ </xsl:when>
+ <xsl:when test='$level=3'>
+     <a href="#{@title}"><xsl:value-of
select="@title"/></a><br/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:if>
+ </small>
+ </xsl:for-each>
+ <br/>
+
+ <xsl:apply-templates select="section"/>
+
+ <xsl:if test="footer">
+ <br/>
+ <xsl:apply-templates select="footer"/>
+ </xsl:if>
+ </xsl:template>
+
+
+ <!-- Process a section in the document. Nested sections are supported -->
+ <xsl:template match="document//section">
+<!-- <xsl:number level="multiple" count="section" format="1.1"/>.   -->
+ <xsl:variable name="level" select="count(ancestor::*)"/>
+ <xsl:choose>
+ <xsl:when test='$level=2'>
+ <a name="{@title}"><h2><xsl:value-of select="@title"/></h2></a>
+ </xsl:when>
+ <xsl:when test='$level=3'>
+ <a name="{@title}"><h3><xsl:value-of select="@title"/></h3></a>
+ </xsl:when>
+ <xsl:when test='$level=4'>
+ <a name="{@title}"><h4><xsl:value-of select="@title"/></h4></a>
+ </xsl:when>
+ <xsl:when test='$level>=5'>
+ <h5><xsl:copy-of select="@title"/></h5>
+ </xsl:when>
+ </xsl:choose>
+ <blockquote>
+ <xsl:apply-templates/>
+ </blockquote>
+ </xsl:template>
+
+
+ <!-- Paragraphs are separated with one empty line -->
+ <xsl:template match="p">
+ <p><xsl:apply-templates/><br/></p>
+ </xsl:template>
+
+
+ <!-- Paragraphs are separated with one empty line -->x
+ <xsl:template match="body-note">
+ <blockquote><hr size="1" noshadow=""/><xsl:apply-templates/><hr size="1"
noshadow=""/></blockquote>
+ </xsl:template>
+
+ <xsl:template match="nbsp">
+  
+ </xsl:template>
+
+</xsl:stylesheet>